joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d4b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x41d4e0
push esi
call fcn.0042d650
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x41d4d9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x41d563
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x41d54f
mov eax, dword [esi + 8]
test eax, eax
je 0x41d504
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x41d54b
cmp eax, 2
je 0x41d54f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41d4f7
cmp eax, 3
je 0x41d52a
cmp eax, 1
jne 0x41d4f7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x41d4f7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x41d4f7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0041d590
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x41d583
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0041d590
add esp, 4
pop esi
ret

Function at 0x41dd20
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x5000
call fcn.00439860
mov ecx, dword [esp + 0x5004]
lea eax, [esp + 0x5008]
push eax
push ecx
lea edx, [esp + 8]
push 0x5000
push edx
call fcn.0043a36d
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x5000
ret
Function at 0x42aea0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x42af5a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x42af5a
cmp byte [eax + 1], 0x64
jne 0x42af5a
cmp byte [eax + 2], 0x6f
jne 0x42af5a
cmp byte [eax + 3], 0x62
jne 0x42af5a
cmp byte [eax + 4], 0x65
jne 0x42af5a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x108], 1
mov byte [esi + 0x109], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x44c55c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44c57c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043e450
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x44c59f
test byte [esp + 8], 2
je 0x44c59f
call fcn.0043e4c3
mov dword [eax], 0xd
call fcn.0043e4cc
mov dword [eax], 5
jmp 0x44c578
xor eax, eax
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5a7373f2
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rdata
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x31880c76
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x461057
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476dec]
jne 0x461061
repz ret
jmp fcn.00464829

Function at 0x461578
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004558b8
xor ebx, ebx
cmp dword [0x479228], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46164e
push 0x46b4d0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46172e
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46b4c4
push edi
call esi
cmp eax, ebx
je 0x46172e
push eax
call fcn.0045584a
mov dword [esp], 0x46b4b4
push edi
mov dword [0x479228], eax
call esi
push eax
call fcn.0045584a
mov dword [esp], 0x46b4a0
push edi
mov dword [0x47922c], eax
call esi
push eax
call fcn.0045584a
mov dword [0x479230], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044fab6
test eax, eax
pop ecx
pop ecx
je 0x46161c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e41
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46164e
push 0x46b484
push edi
call esi
push eax
call fcn.0045584a
cmp eax, ebx
pop ecx
mov dword [0x479238], eax
je 0x46164e
push 0x46c178
push edi
call esi
push eax
call fcn.0045584a
pop ecx
mov dword [0x479234], eax
mov eax, dword [0x479234]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4616d3
cmp dword [0x479238], ecx
je 0x4616d3
push eax
call fcn.004558c1
push dword [0x479238]
mov esi, eax
call fcn.004558c1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4616d3
cmp edi, ebx
je 0x4616d3
call esi
cmp eax, ebx
je 0x4616a0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4616a0
test byte [ebp - 0x18], 1
jne 0x4616d3
lea eax, [ebp - 0x10]
push eax
call fcn.0044faed
test eax, eax
pop ecx
je 0x4616bb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e41
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4616ca
or dword [ebp + 0x10], 0x200000
jmp 0x46170e
or dword [ebp + 0x10], 0x40000
jmp 0x46170e
mov eax, dword [0x47922c]
cmp eax, dword [ebp - 8]
je 0x46170e
push eax
call fcn.004558c1
cmp eax, ebx
pop ecx
je 0x46170e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46170e
mov eax, dword [0x479230]
cmp eax, dword [ebp - 8]
je 0x46170e
push eax
call fcn.004558c1
cmp eax, ebx
pop ecx
je 0x46170e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x479228]
call fcn.004558c1
cmp eax, ebx
pop ecx
je 0x46172e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x461730
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405f2f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d908]
jne 0x405f39
repz ret
jmp fcn.0040e428

Function at 0x415700
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d908]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404fcd
and dword [ebp - 0x14], 0
cmp dword [0x44f648], 0
mov dword [ebp - 0x18], eax
jne 0x4157b3
push 0x403370
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41585b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403364
push ebx
call edi
test eax, eax
je 0x41585b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403354
push ebx
mov dword [0x44f648], eax
call edi
push eax
call esi
push 0x403340
push ebx
mov dword [0x44f64c], eax
call edi
push eax
call esi
push 0x403324
push ebx
mov dword [0x44f650], eax
call edi
push eax
call esi
mov dword [0x44f658], eax
test eax, eax
je 0x4157b3
push 0x40330c
push ebx
call edi
push eax
call esi
mov dword [0x44f654], eax
mov eax, dword [0x44f654]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41580c
cmp dword [0x44f658], ecx
je 0x41580c
push eax
call esi
push dword [0x44f658]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41580c
test ebx, ebx
je 0x41580c
call edi
test eax, eax
je 0x415803
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415803
test byte [ebp - 8], 1
jne 0x41580c
or dword [ebp + 0x10], 0x200000
jmp 0x41583f
mov eax, dword [0x44f64c]
cmp eax, dword [ebp - 0x18]
je 0x41583f
push eax
call esi
test eax, eax
je 0x41583f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41583f
mov eax, dword [0x44f650]
cmp eax, dword [ebp - 0x18]
je 0x41583f
push eax
call esi
test eax, eax
je 0x41583f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44f648]
call esi
test eax, eax
je 0x41585b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41585d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405f2f
leave
ret
Function at 0x41a710
Capabilities:
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1808
call fcn.00417f10
cmp dword [0x7fedfc], 0x37
jne 0x41a7c4
push 0x403468
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0xc14]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
lea edx, [esp + 0x100c]
push edx
push 0x403478
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7ff210]
mov edx, dword [0x7fe8e0]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1808
ret
Function at 0x41ae50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x7fedfc]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x41aed6
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403724
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x403750
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x44e9c8]
mov dword [0x7fedfc], eax
jne 0x41ae75
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x44e9bc]
mov dword [0x7ff210], edx
call fcn.0041aa20
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x457030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x51000]
push edi
or ebp, 0xffffffff
jmp 0x457052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457048
mov eax, 1
add ebx, ebx
jne 0x45706b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45707c
jne 0x45709b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45709b
dec eax
add ebx, ebx
jne 0x457088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x457060
add ebx, ebx
jne 0x457097
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4570ed
xor ecx, ecx
sub eax, 3
jb 0x4570b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x457122
sar eax, 1
mov ebp, eax
jmp 0x4570be
add ebx, ebx
jne 0x4570be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45708c
inc ecx
add ebx, ebx
jne 0x4570cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45708c
add ebx, ebx
jne 0x4570d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4570ce
jne 0x4570ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4570ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45710c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4570fe
jmp 0x45704e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45710c
add edi, ecx
jmp 0x45704e
pop esi
mov edi, esi
mov ecx, 0x1c2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45712a
cmp byte [edi], 1
jne 0x45712a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45712f
lea edi, [esi + 0x55000]
mov eax, dword [edi]
or eax, eax
je 0x45719e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9dfdc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e004]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45715c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9e008]
or eax, eax
je 0x457198
mov dword [ebx], eax
add ebx, 4
jmp 0x457179
call dword [esi + 0x9e018]
mov ebp, dword [esi + 0x9e00c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4571d2
sub esp, 0xffffff80
jmp 0x4036ff
Function at 0x1000a6b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a6f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a6f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a6f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a6f2
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a6f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000d36f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000d40c
push ebx
push esi
call fcn.1000d338
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000d2cc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000d3b9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d40b
push edi
push eax
call fcn.1000e32a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000d3d9
call fcn.1000be14
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d40a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000d2cc
add esp, 0x20
test eax, eax
jne 0x1000d3f8
push edi
call fcn.1000be14
jmp 0x1000d400
push ebx
call fcn.1000be14
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000d679
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015678
push 0x10015670
push str.FlsAlloc
push 0x1f
call fcn.1000d595
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d6ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x10014158]
call esi
jmp 0x1000d6b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000d6f7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015688
push 0x10015680
push str.FlsGetValue
push 0x21
call fcn.1000d595
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d72e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10014158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000d736
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015690
push 0x10015688
push str.FlsSetValue
push 0x22
call fcn.1000d595
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d770
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10014158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012df0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012e1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012e1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100f8548
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10133d20]
jne 0x100f8552
repz ret
jmp fcn.100f8f68

Function at 0x100fcf2f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100f89fc
and dword [ebp - 4], 0
cmp dword [0x10135c6c], 0
mov ebx, eax
jne 0x100fcfe0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100fd091
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100fd091
push eax
call fcn.100f898a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10135c6c], eax
call esi
push eax
call fcn.100f898a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10135c70], eax
call esi
push eax
call fcn.100f898a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10135c74], eax
call esi
push eax
call fcn.100f898a
pop ecx
mov dword [0x10135c7c], eax
test eax, eax
je 0x100fcfe0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100f898a
pop ecx
mov dword [0x10135c78], eax
mov eax, dword [0x10135c78]
cmp eax, ebx
je 0x100fd038
cmp dword [0x10135c7c], ebx
je 0x100fd038
push eax
call fcn.100f8a05
push dword [0x10135c7c]
mov esi, eax
call fcn.100f8a05
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100fd038
test edi, edi
je 0x100fd038
call esi
test eax, eax
je 0x100fd02f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100fd02f
test byte [ebp - 0xc], 1
jne 0x100fd038
or dword [ebp + 0x10], 0x200000
jmp 0x100fd071
mov eax, dword [0x10135c70]
cmp eax, ebx
je 0x100fd071
push eax
call fcn.100f8a05
pop ecx
test eax, eax
je 0x100fd071
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100fd071
mov eax, dword [0x10135c74]
cmp eax, ebx
je 0x100fd071
push eax
call fcn.100f8a05
pop ecx
test eax, eax
je 0x100fd071
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10135c6c]
call fcn.100f8a05
pop ecx
test eax, eax
je 0x100fd091
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100fd093
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret