joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e4a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47bed8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00428da0
test eax, eax
je 0x42e5a8
lea ecx, [esp + 0xc]
call fcn.00402040
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00428da0
mov ecx, eax
call fcn.00426560
test eax, eax
je 0x42e58f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42e58f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42e58f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402240
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42e571
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42e58f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4b78f0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4820f8
call fcn.00402240
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42e5f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00428da0
test eax, eax
je 0x42e6df
mov ecx, edi
call fcn.00428da0
mov ecx, eax
call fcn.00426410
test eax, eax
jne 0x42e6df
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42e6df
mov eax, dword [0x4b78f0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42e652
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00428da0
mov ecx, eax
call fcn.00426640
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42e6df
cmp ebx, eax
jne 0x42e6df
cmp dword [esp + 0x10], eax
jne 0x42e6c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x431320
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c168
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 0x431359
inc eax
mov dword [esi + 0x10], eax
jmp 0x43146c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43136d
mov eax, 0xffffffc7
jmp 0x43146e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43137e
cmp dword [esi + 8], eax
jne 0x43136d
cmp dword [esi + 8], eax
jne 0x431397
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431397
mov eax, 0xffffffc7
jmp 0x43146e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4313ab
push eax
mov ecx, ebx
call fcn.00430b50
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.00402040
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4313dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402060
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004302c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43140f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4820f8
call fcn.00402240
mov eax, dword [esp + 0x38]
jmp 0x43146e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431180
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x431453
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004311a0
mov esi, eax
test esi, esi
jne 0x431483
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431180
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x431425
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4820f8
call fcn.00402240
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], 0x4820f8
call fcn.00402240
mov eax, esi
jmp 0x43146e

Function at 0x434590
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x47c798
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.00473615
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043a100
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.00473543
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.0046fd2f
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.0046fd2f
push 1
push 0
push 0
mov ecx, esi
call fcn.0046fcd7
push 1
push 0
push 1
mov ecx, esi
call fcn.0046fcd7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00473687
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43a8e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c7b8
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.00473615
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043a100
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.00473543
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 0x43a9a4
cmp dword [esp + 0x40], 1
jne 0x43a9a2
cmp ecx, eax
jge 0x43a9a4
mov eax, ecx
cmp eax, 0xc8
jge 0x43a9b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043a760
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.00473687
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43b120
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c823
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.0046e14a
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.004738bd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00474e37
test eax, eax
je 0x43b23c
mov ecx, dword [esp + 0x3c]
call fcn.004738ea
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 0x43b200
push edi
mov ecx, esi
call fcn.00470eae
mov ecx, esi
call fcn.0043b3a0
cmp dword [esp + 0x38], 1
jne 0x43b235
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.00471018
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 0x43dc70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43dca3
push esi
call fcn.00440d70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43dc9c
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 0x43dd29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43dd12
mov eax, dword [esi + 8]
test eax, eax
je 0x43dcc7
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 0x43dd0e
cmp eax, 2
je 0x43dd12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43dcba
cmp eax, 3
je 0x43dced
cmp eax, 1
jne 0x43dcba
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 0x43dcba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43dcba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043dd50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43dd38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043dd50
add esp, 4
pop esi
ret
Function at 0x450fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x45100c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x45100c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x450ff6
push eax
call ebp
test ax, ax
jl 0x451004
inc esi
add edi, 4
cmp esi, 6
jb 0x450fe8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00450cc0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4536a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x453700
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x453700
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x453700
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x453700
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 0x453710
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 0x46ef40
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46ef78
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.0046cff7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046cfcf
jmp 0x46ef84
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x470637
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 0x470679
call fcn.004764c9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x470679
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x470670
xor eax, eax
jmp 0x470681
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00470687
pop edi
pop esi
pop ebx
ret 4

Function at 0x4769f9
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 0x476a27
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x476a45
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047695f
jmp 0x476a45
mov eax, dword [esi + 0x14]
test eax, eax
je 0x476a45
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047695f
test edi, edi
mov eax, edi
jne 0x476a2f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x402f30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cfb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x4a3e38], 0
je 0x402f72
call fcn.00430640
mov dword [0x4a3e38], 0
mov eax, dword [0x4a3e28]
mov dword [0x4a3e28], 0
test eax, eax
je 0x402f90
push 4
push eax
call fcn.00463043
add esp, 8
call fcn.00414940
push dword [0x4a3e34]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebx + 0x48]
call fcn.0040baa0
mov ecx, dword [ebx + 0x48]
mov dword [ebx + 0x48], 0
test ecx, ecx
je 0x402fcb
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c040
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
test eax, eax
je 0x402fe2
mov byte [eax + 4], 1
call fcn.0040dd40
call fcn.0040c040
push dword [eax]
call esi
mov edi, eax
test edi, edi
je 0x403069
mov ecx, dword [edi + 8]
cmp ecx, 1
jl 0x403069
add ecx, 0xffffffff
mov dword [edi + 8], ecx
jne 0x403069
call fcn.0040dd40
mov esi, eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0xc]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040dd40
lea ecx, [eax + 0x18]
call fcn.0040df40
call fcn.0040dd40
mov edi, dword [ebp - 0x10]
cmp edi, dword [eax + 0x18]
je 0x403055
call fcn.0040dd40
push edi
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [eax + 0x18]
call fcn.0040df90
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
test esi, esi
je 0x403069
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x403077
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00461a30
Function at 0x408820
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x49f00c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004013f0
add eax, 0x68
lea ecx, [ebp - 0xf8]
push eax
call fcn.004036f0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 1
cmovae eax, dword [ebp - 0x34]
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xf8]
call fcn.004016a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret

Function at 0x408880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__lambda_80809553ae8849661ab2cec385a0a418___void___.0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmm0, xmmword [edx]
movups xmmword [ecx + 8], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x18], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
movzx eax, byte [edx + 0x18]
mov byte [ecx + 0x20], al
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x2c], eax
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
movq xmm0, qword [edx + 0x28]
movq qword [ecx + 0x30], xmm0
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x38], eax
movzx eax, byte [edx + 0x34]
mov byte [ecx + 0x3c], al
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x4c], eax
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
movq xmm0, qword [edx + 0x48]
movq qword [ecx + 0x50], xmm0
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x58], eax
movzx eax, byte [edx + 0x54]
mov byte [ecx + 0x5c], al
movzx eax, byte [edx + 0x55]
mov byte [ecx + 0x5d], al
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x68], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x6c], eax
mov dword [edx + 0x60], 0
mov dword [edx + 0x64], 0
movq xmm0, qword [edx + 0x68]
movq qword [ecx + 0x70], xmm0
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x78], eax
movzx eax, byte [edx + 0x74]
mov byte [ecx + 0x7c], al
movzx eax, byte [edx + 0x75]
mov byte [ecx + 0x7d], al
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x80], eax
mov eax, ecx
pop ebp
ret 4

Function at 0x40aee0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 4]
add eax, 0x2f0
cmp dword [eax + 0x14], 8
jb 0x40aef0
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x40b190
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x49f00c]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
push 8
mov esi, edx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x40b1e5
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x40b1fc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Module32NextW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40b20c
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40b22a
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x40b202
jmp 0x40b231
mov eax, dword [esp + 0xc]
mov byte [eax], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret