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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475188
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 0x431c39
inc eax
mov dword [esi + 0x10], eax
jmp 0x431d4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x431c4d
mov eax, 0xffffffc7
jmp 0x431d4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x431c5e
cmp dword [esi + 8], eax
jne 0x431c4d
cmp dword [esi + 8], eax
jne 0x431c77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431c77
mov eax, 0xffffffc7
jmp 0x431d4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x431c8b
push eax
mov ecx, ebx
call fcn.00431430
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.00402f90
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x431cbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402fb0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430ba0
test eax, eax
mov dword [esp + 0x38], eax
je 0x431cef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4799c8
call fcn.00403190
mov eax, dword [esp + 0x38]
jmp 0x431d4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431a60
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x431d33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431a80
mov esi, eax
test esi, esi
jne 0x431d63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431a60
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x431d05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4799c8
call fcn.00403190
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], 0x4799c8
call fcn.00403190
mov eax, esi
jmp 0x431d4e

Function at 0x434e70
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x434ed0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x434ed0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x434ed0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x434ed0
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 0x434f10
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 0x43b030
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4757b8
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.0046e6e8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043a9d0
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.0046e616
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.0046aeda
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.0046aeda
push 1
push 0
push 0
mov ecx, esi
call fcn.0046ae82
push 1
push 0
push 1
mov ecx, esi
call fcn.0046ae82
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046e75a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b1b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4757d8
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.0046e6e8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043a9d0
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.0046e616
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 0x43b274
cmp dword [esp + 0x40], 1
jne 0x43b272
cmp ecx, eax
jge 0x43b274
mov eax, ecx
cmp eax, 0xc8
jge 0x43b280
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b030
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.0046e75a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ba00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x475843
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.004692f7
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.0046e990
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046feac
test eax, eax
je 0x43bb1c
mov ecx, dword [esp + 0x3c]
call fcn.0046e9bd
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 0x43bae0
push edi
mov ecx, esi
call fcn.0046c028
mov ecx, esi
call fcn.0043bc80
cmp dword [esp + 0x38], 1
jne 0x43bb15
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.0046c163
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 0x43e530
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e563
push esi
call fcn.00441610
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e55c
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 0x43e5e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e5d2
mov eax, dword [esi + 8]
test eax, eax
je 0x43e587
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 0x43e5ce
cmp eax, 2
je 0x43e5d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e57a
cmp eax, 3
je 0x43e5ad
cmp eax, 1
jne 0x43e57a
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 0x43e57a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e57a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e610
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e5f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e610
add esp, 4
pop esi
ret

Function at 0x44a690
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44a733
test eax, eax
jbe 0x44a733
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44a733
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44a6de
xor esi, esi
jmp 0x44a6e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44a70f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004039e0
add esi, eax
push esi
mov ebx, esi
call fcn.004039e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44a6f0
pop ebp
test edi, edi
pop edi
jne 0x44a733
test ebx, ebx
je 0x44a733
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00450b10
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44a875
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44a98d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44a98d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00469749
mov esi, eax
test esi, esi
je 0x44a98d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44a98d
mov ecx, esi
call fcn.0044a7e0
cmp edi, eax
jge 0x44a98d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44a913
mov dword [esp + 0x34], 1
jmp 0x44a96e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44a98d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449d30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45ae66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49ab10]
jne 0x45ae70
repz ret
jmp fcn.00461960
Function at 0x460758
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004553bf
xor ebx, ebx
cmp dword [0x4b65bc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x46082d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x460798
xor eax, eax
jmp 0x4608f1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x484268
push edi
call esi
cmp eax, ebx
je 0x460791
push eax
call fcn.0045535c
mov dword [esp], 0x484258
push edi
mov dword [0x4b65bc], eax
call esi
push eax
call fcn.0045535c
mov dword [esp], 0x484244
push edi
mov dword [0x4b65c0], eax
call esi
push eax
call fcn.0045535c
mov dword [0x4b65c4], eax
lea eax, [ebp - 8]
push eax
call fcn.00453b6c
test eax, eax
pop ecx
pop ecx
je 0x4607fb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004597cc
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x46082d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045535c
cmp eax, ebx
pop ecx
mov dword [0x4b65cc], eax
je 0x46082d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045535c
pop ecx
mov dword [0x4b65c8], eax
mov eax, dword [0x4b65c8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4608a6
cmp dword [0x4b65cc], esi
je 0x4608a6
push eax
call fcn.004553c8
pop ecx
call eax
cmp eax, ebx
je 0x460873
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4b65cc]
call fcn.004553c8
pop ecx
call eax
test eax, eax
je 0x460873
test byte [ebp - 0x18], 1
jne 0x4608a6
lea eax, [ebp - 0xc]
push eax
call fcn.00453ba3
test eax, eax
pop ecx
je 0x46088e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004597cc
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x46089d
or dword [ebp + 0x10], 0x200000
jmp 0x4608d7
or dword [ebp + 0x10], 0x40000
jmp 0x4608d7
mov eax, dword [0x4b65c0]
cmp eax, esi
je 0x4608d7
push eax
call fcn.004553c8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4608d7
mov eax, dword [0x4b65c4]
cmp eax, esi
je 0x4608d7
push dword [ebp - 4]
push eax
call fcn.004553c8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4b65bc]
call fcn.004553c8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46a0ed
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a125
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.004681a4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046817c
jmp 0x46a131
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x46b7e2
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 0x46b824
call fcn.00471292
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46b824
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46b81b
xor eax, eax
jmp 0x46b82c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046b832
pop edi
pop esi
pop ebx
ret 4

Function at 0x4717c2
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 0x4717f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47180e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00471728
jmp 0x47180e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47180e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00471728
test edi, edi
mov eax, edi
jne 0x4717f8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403e35
Capabilities:
Delete directory
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
cmp dword [0x4e2900], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
jne 0x403e71
push 0x4036ac
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x4036bc
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x432428]
mov dword [ebp - 0x20], eax
mov eax, dword [0x43242c]
xor esi, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00403e2e
mov eax, dword [0x432430]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x432434]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
jmp 0x403eb3
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0x4e2900], 0xc
mov dword [ebp - 4], eax
jne 0x403f06
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x444]
push eax
push esi
push 0x4036dc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x4e2900]
cmp eax, 0xfa9
jne 0x403f22
mov dword [0x4e1e9c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403f2f
mov dword [0x4e184c], esi
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x14], eax
mov dword [0x4e1e98], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x4e2900], 0x213
mov dword [ebp - 0x14], edx
jne 0x403f6c
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x4e2900], 0xc
jne 0x403fa9
push esi
lea eax, [ebp - 0x444]
push eax
push 0x403700
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
lea eax, [ebp - 0x844]
push eax
push 0x40375c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, cl
lea edi, [ebx + edx]
add ebx, 0x61c88647
add eax, dword [ebp - 0x1c]
xor eax, edi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
dec dword [ebp - 0x18]
jne 0x403eb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
leave
ret 4
Function at 0x403ff4
Capabilities:
Create pipe
Get common file path
Get system information on windows
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e2900]
mov ecx, dword [0x4e1850]
sub esp, 0x44c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4040dc
mov edi, ecx
mov ebx, eax
cmp dword [0x4e2900], 0x959
jne 0x4040cc
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403780
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x4036e4
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x4037d0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403808
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403e35
add edi, 8
dec ebx
jne 0x40401c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4041b0
Capabilities:
Get common file path
Get hostname

Disassembly:
mov eax, 0x42f184
call fcn.0042f090
mov eax, 0x1c30
call fcn.00410350
push ebx
push esi
xor esi, esi
cmp dword [0x4e2900], 0x5b1
push edi
jne 0x404233
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x3c]
call fcn.004044d9
push esi
mov dword [ebp - 4], esi
call fcn.00405baa
pop ecx
call fcn.0040500c
push 0x403880
lea ecx, [ebp - 0x20]
call fcn.00403cc0
lea ecx, [ebp - 0x20]
call fcn.00403cdc
push esi
push esi
call fcn.00405720
push esi
call fcn.004056f1
add esp, 0xc
call fcn.00405011
push esi
call fcn.00405c26
mov dword [esp], esi
call fcn.00403e0f
fstp st(0)
push esi
call fcn.00405ed6
add dword [0x4e2900], 0x1134b
push dword [0x4e2900]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4e1850], eax
call fcn.004040fb
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x40427c
inc edi
cmp edi, 0x4f6a4
jl 0x40425c
xor edi, edi
cmp dword [0x4e2900], esi
jbe 0x4042b7
cmp dword [0x4e2900], 0xa8
mov eax, dword [0x4e2904]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x4e1850]
mov byte [ecx + edi], al
jne 0x4042ae
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc edi
cmp edi, dword [0x4e2900]
jb 0x404286
xor edi, edi
mov eax, dword [0x4e2900]
add eax, edi
cmp eax, 0xe
jne 0x4042fd
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
lea eax, [ebp - 0x103c]
push eax
push esi
push 0x403890
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
inc edi
cmp edi, 0x39621
jl 0x4042b9
call fcn.00403ff4
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x404319
call fcn.004040e1
inc edi
cmp edi, 0x6753f
jl 0x40430d
push 0x7b
pop edi
cmp dword [0x4e2900], 0x86
jne 0x404366
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x143c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x4e2900], 0xf
jne 0x404377
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
dec edi
jne 0x404325
push 0x4038b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret