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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x493278
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0044b1c0
test eax, eax
je 0x4509c8
lea ecx, [esp + 0xc]
call fcn.00424a50
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.0044b1c0
mov ecx, eax
call fcn.004488a0
test eax, eax
je 0x4509af
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4509af
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4509af
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.00424c50
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x450991
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4509af
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4e5b58]
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], 0x4b7400
call fcn.00424c50
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x450a10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0044b1c0
test eax, eax
je 0x450aff
mov ecx, edi
call fcn.0044b1c0
mov ecx, eax
call fcn.00448750
test eax, eax
jne 0x450aff
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x450aff
mov eax, dword [0x4e5b58]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x450a72
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.0044b1c0
mov ecx, eax
call fcn.00448980
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 0x450aff
cmp ebx, eax
jne 0x450aff
cmp dword [esp + 0x10], eax
jne 0x450ae5
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 0x4536a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x493508
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 0x4536d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4537ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4536ed
mov eax, 0xffffffc7
jmp 0x4537ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4536fe
cmp dword [esi + 8], eax
jne 0x4536ed
cmp dword [esi + 8], eax
jne 0x453717
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x453717
mov eax, 0xffffffc7
jmp 0x4537ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x45372b
push eax
mov ecx, ebx
call fcn.00452ed0
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.00424a50
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x45375c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00424a70
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00452640
test eax, eax
mov dword [esp + 0x38], eax
je 0x45378f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b7400
call fcn.00424c50
mov eax, dword [esp + 0x38]
jmp 0x4537ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00453500
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4537d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00453520
mov esi, eax
test esi, esi
jne 0x453803
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00453500
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4537a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b7400
call fcn.00424c50
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], 0x4b7400
call fcn.00424c50
mov eax, esi
jmp 0x4537ee

Function at 0x456920
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x493b38
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.0048c8d8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0045c490
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.0048c806
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.004890cc
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.004890cc
push 1
push 0
push 0
mov ecx, esi
call fcn.00489074
push 1
push 0
push 1
mov ecx, esi
call fcn.00489074
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048c94a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x45cc70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493b58
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.0048c8d8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045c490
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.0048c806
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 0x45cd34
cmp dword [esp + 0x40], 1
jne 0x45cd32
cmp ecx, eax
jge 0x45cd34
mov eax, ecx
cmp eax, 0xc8
jge 0x45cd40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045caf0
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.0048c94a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x45d4b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493bc3
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.004874e7
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.0048cb80
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048e09c
test eax, eax
je 0x45d5cc
mov ecx, dword [esp + 0x3c]
call fcn.0048cbad
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 0x45d590
push edi
mov ecx, esi
call fcn.0048a21a
mov ecx, esi
call fcn.0045d730
cmp dword [esp + 0x38], 1
jne 0x45d5c5
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.0048a355
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 0x45ffe0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x460013
push esi
call fcn.004630e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46000c
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 0x460099
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x460082
mov eax, dword [esi + 8]
test eax, eax
je 0x460037
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 0x46007e
cmp eax, 2
je 0x460082
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46002a
cmp eax, 3
je 0x46005d
cmp eax, 1
jne 0x46002a
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 0x46002a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46002a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004600c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4600a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004600c0
add esp, 4
pop esi
ret

Function at 0x46df30
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 0x46dfd3
test eax, eax
jbe 0x46dfd3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46dfd3
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 0x46df7e
xor esi, esi
jmp 0x46df84
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46dfaf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00471940
add esi, eax
push esi
mov ebx, esi
call fcn.00471940
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46df90
pop ebp
test edi, edi
pop edi
jne 0x46dfd3
test ebx, ebx
je 0x46dfd3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00476a50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x46e115
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 0x46e22d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e22d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00487939
mov esi, eax
test esi, esi
je 0x46e22d
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 0x46e22d
mov ecx, esi
call fcn.0046e080
cmp edi, eax
jge 0x46e22d
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 0x46e1b3
mov dword [esp + 0x34], 1
jmp 0x46e20e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46e22d
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.0046d620
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 0x4882dd
Capabilities:
Get graphical window text

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

Function at 0x4899d4
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 0x489a16
call fcn.0048f482
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x489a16
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x489a0d
xor eax, eax
jmp 0x489a1e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00489a24
pop edi
pop esi
pop ebx
ret 4
Function at 0x48f9b2
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 0x48f9e0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48f9fe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f918
jmp 0x48f9fe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f9fe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f918
test edi, edi
mov eax, edi
jne 0x48f9e8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x100037be
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push 0x24e95e8
call dword [0x24e5100]
mov ebx, eax
xor esi, esi
pop ecx
cmp ebx, esi
jne 0x100037db
xor eax, eax
jmp 0x100038cc
push dword [esp + 0xc]
mov dword [ebx + 0xc], 1
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], 0x2000
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x30], esi
cmp edi, esi
je 0x1000380f
mov al, byte [edi]
call fcn.100049f8
jmp 0x10003814
call fcn.100049e7
mov dword [ebx + 8], eax
mov eax, dword [0x24e50c0]
pop ecx
push dword [eax]
mov eax, dword [ebx + 8]
call fcn.1000533b
mov eax, dword [esp + 0x14]
pop ecx
mov dword [ebx + 0x2c], eax
cmp eax, esi
je 0x10003835
inc dword [eax]
push ebx
call dword [0x24e50f8]
mov eax, dword [ebx + 8]
pop ecx
cmp eax, esi
jne 0x1000386d
mov eax, dword [0x24e50c8]
push 0x24e5774
push dword [eax]
call dword [0x24e5104]
dec dword [ebx]
pop ecx
pop ecx
jne 0x100037d4
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
jmp 0x100037d4
push ebx
push eax
call fcn.1000516f
push esi
push 0x24d2b43
push dword [ebx + 8]
call fcn.100052c8
add esp, 0x14
xor eax, eax
cmp dword [0x24e97b8], esi
je 0x1000389c
mov ecx, 0x24e97b8
add ecx, 0x14
inc eax
cmp dword [ecx], esi
jne 0x10003894
shl eax, 2
push eax
call dword [0x24e5094]
pop ecx
mov dword [ebx + 0x30], eax
cmp eax, esi
jne 0x100038c2
dec dword [ebx]
jne 0x100038ba
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
pop esi
pop ebx
jmp dword [0x24e5154]
push 1
call fcn.10004992
pop ecx
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x40c468
Capabilities:
Accept command line arguments
Allocate thread local storage
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, section..data
test word [0x40c44a], 4
jne 0x40c483
jmp 0x40c8b2
jmp fcn.0040c6b5
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
call fcn.0040c5b1
mov dword [ebx + 0x3f0], 1
lea eax, [ebx + 0x5c4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
sub esp, 0x44
mov dword [esp], 0x44
mov dword [esp + 0x2c], 0
push esp
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, 0xa
test dword [esp + 0x2c], 1
je 0x40c903
movzx eax, word [esp + 0x30]
add esp, 0x44
mov dword [ebx + 0x3e4], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.0040c657
mov dword [ebx + 0x3e0], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebx + 0x3ec], eax
call fcn.0040c488
push 0xff
jb 0x40c982
pop eax
movzx ecx, word [0x40c448]
jecxz 0x40c94d
push ecx
push 8
push esp
call dword [sym.imp.COMCTL32.DLL_InitCommonControlsEx]
pop eax
pop eax
call fcn.0040c4fd
push eax
mov ebx, section..data
mov ecx, dword [ebx + 0xd8]
call fcn.0040c98e
mov ecx, dword [ebx + 0xb4]
jecxz 0x40c972
push ecx
call dword [0x43b000]
mov edi, dword [ebx + 0x428]
call fcn.0040c502
call fcn.0040c4e9
call dword [sym.imp.OLE32.DLL_CoUninitialize]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x40c488
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x40c4e8
mov dword [ebx + 0x3d0], eax
mov dword [ebx + 0x3d8], 0
mov dword [ebx + 0x3d4], 0
call fcn.0040c794
jb 0x40c4e8
mov dword [ebx + 0x3d4], eax
mov word [eax + 0xac], 8
call fcn.0040c4d7
dec ebp
push ebx
and byte [ebx + 0x61], dl
outsb dx, byte [esi]
jae 0x40c4f1
push ebx
jb 0x40c53e
add byte [esi - 4], bl
mov bl, 0xd0
add eax, dword [eax]
add bh, bh
adc eax, sym.imp.KERNEL32.DLL_TlsFree
ret

Function at 0x40c6b5
Capabilities:
Terminate process

Disassembly:
mov edx, 0xf4
jmp 0x40c6c1
mov dh, 0xb0
mov word [ebp - 0x90], dx
jmp 0x40c6d7
test byte [ebp - 0x90], 0xff
jne 0x40c6e9
mov word [ebp - 0x90], 0xb033
push eax
push ebx
push ecx
push esi
push edi
mov ax, word [ebp - 0x8e]
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
call fcn.0040c794
jb 0x40c723
test dword [eax + 0x28], 0xffffffff
je 0x40c723
test dword [eax + 0x24], 0xffffffff
je 0x40c723
call fcn.0040c6b5
mov edi, dword [ebp - 0x84]
mov ecx, dword [edi - 6]
jecxz 0x40c756
xor ebx, ebx
mov edx, dword [esp + 0x14]
xor esi, esi
mov bl, byte [ecx]
inc ecx
cmp bl, 0xff
jne 0x40c746
add esi, 0xfe
jmp 0x40c736
add esi, ebx
add edi, esi
cmp edi, edx
jb 0x40c734
mov dword [eax + 0x30], edi
sub edi, esi
mov dword [eax + 0x2c], edi
test word [0x40c44a], 0x2000
je 0x40c777
test dword [ebp - 0x8c], 0xffffffff
jne 0x40c777
call fcn.0040c6b5
cmp eax, 1
jne 0x40c786
cmp byte [ebp - 0x90], 0xf1
jae 0x40c786
pop edi
pop esi
pop ecx
pop ebx
pop eax
ret
push 0xff
call dword [sym.imp.KERNEL32.DLL_ExitProcess]