joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ceb0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x44ce80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
push str.RemoveStaleClient
lea ecx, [esp + 0xc]
call fcn.0043899c
mov eax, dword [0x46453c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00438a67
push 0x4687e0
mov dword [esp + 0x14], 0x4687e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call fcn.0043892e
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x40cf53
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 0x80
push 0xffff
push eax
mov word [esp + 0x20], 1
mov word [esp + 0x22], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x40cf95
cmp dword [eax + 8], esi
je 0x40cf67
mov eax, dword [eax]
test eax, eax
jne 0x40cf5a
jmp 0x40cf95
test eax, eax
je 0x40cf95
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
mov eax, dword [edi + 8]
push 2
push esi
push eax
call dword [edi + 4]
push esi
mov ecx, edi
call fcn.0040d0f0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0043892e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40d0f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push str.MoveToFreePool
lea ecx, [esp + 0x10]
call fcn.0043899c
mov eax, dword [0x46453c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00438a67
push 0x4687e0
mov dword [esp + 0x14], 0x4687e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.0043892e
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x40d25e
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x40d181
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40d16b
jmp 0x40d25e
test ebx, ebx
je 0x40d25e
push ebp
lea ecx, [edi + 0x14]
call fcn.00401de0
lea ecx, [edi + 4]
call fcn.00401de0
lea ecx, [edi + 0x24]
call fcn.00401de0
lea ecx, [edi + 0x34]
call fcn.00401de0
mov eax, dword [esi + 0x58]
mov ebp, dword [esi + 0x50]
test eax, eax
jne 0x40d1e1
mov edx, dword [esi + 0x60]
push 0xc
lea eax, [esi + 0x5c]
push edx
push eax
call fcn.00433a2f
mov ecx, dword [esi + 0x60]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x40d1e1
inc ecx
mov edx, dword [esi + 0x58]
mov dword [eax], edx
mov dword [esi + 0x58], eax
sub eax, 0xc
dec ecx
jne 0x40d1d3
mov edi, dword [esi + 0x58]
push 1
mov eax, dword [edi]
mov dword [esi + 0x58], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov ecx, dword [esi + 0x54]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0x54], ecx
call fcn.0040d630
mov ecx, dword [esp + 0x2c]
mov dword [ebp], ecx
mov eax, dword [esi + 0x50]
test eax, eax
pop ebp
je 0x40d217
mov dword [eax], edi
jmp 0x40d21a
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x2c]
mov dword [esi + 0x50], edi
cmp ebx, dword [ecx + 4]
jne 0x40d22c
mov edx, dword [ebx]
mov dword [ecx + 4], edx
jmp 0x40d233
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [eax], edx
cmp ebx, dword [ecx + 8]
jne 0x40d240
mov eax, dword [ebx + 4]
mov dword [ecx + 8], eax
jmp 0x40d248
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x10]
mov dword [ebx], edx
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], eax
jne 0x40d25e
call fcn.0040d3f0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0043892e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x40e290
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x44d109
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x46453c]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov ecx, dword [0x46881c]
mov dword [esp + 0x120], 0
test ecx, ecx
je 0x40e2e7
call fcn.0040cfd0
mov ecx, dword [0x46881c]
test ecx, ecx
je 0x40e2e7
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x9c
call fcn.004342ef
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x120], 1
je 0x40e30d
mov ecx, eax
call fcn.0040be10
jmp 0x40e30f
xor eax, eax
mov ebx, dword [esp + 0x128]
mov ecx, eax
push ebx
push 0x186a0
push edi
push 0x40e150
mov byte [esp + 0x130], 0
mov dword [0x46881c], eax
call fcn.0040c020
test al, al
je 0x40e405
push ebp
lea eax, [esp + 0x1c]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x40e3c9
mov edx, dword [esi + 0xc]
mov ebp, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00438c96
mov edx, dword [esi + 0xc]
movsx eax, word [esi + 0xa]
mov ecx, dword [edx]
add ecx, eax
mov eax, dword [esi]
cmp ecx, eax
jae 0x40e3c9
xor edi, edi
push 0x462b38
lea ecx, [esp + 0x14]
call fcn.00438c96
mov edx, dword [esi + 0xc]
add edi, 4
mov eax, dword [edx + edi]
mov ecx, dword [eax]
push ecx
call ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00438c96
mov edx, dword [esi + 0xc]
movsx eax, word [esi + 0xa]
mov ecx, dword [edx + edi]
add ecx, eax
mov eax, dword [esi]
cmp ecx, eax
jb 0x40e38d
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea esi, [edi + 0xbc]
push 1
push edx
push 0
mov ecx, esi
call fcn.0043eba0
push ebx
lea eax, [esp + 0x14]
push 0x462b2c
push eax
call fcn.0043224c
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 1
push ecx
push 2
mov ecx, esi
call fcn.0043eba0
pop ebp
jmp 0x40e43e
push ebx
lea edx, [esp + 0x10]
push 0x462b1c
push edx
call fcn.0043224c
mov eax, dword [esp + 0x18]
add esp, 0xc
lea esi, [edi + 0xbc]
push 1
push eax
push 0
mov ecx, esi
call fcn.0043eba0
push 1
push 0x462b14
push 2
mov ecx, esi
call fcn.0043eba0
push 1
push 0x462b0c
push 3
mov ecx, esi
call fcn.0043eba0
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.0043892e
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8
Function at 0x410770
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4107d5
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4107cd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x4107e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x410883
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x410815
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.004342ef
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x19
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov edx, dword [eax + 0x154]
mov ecx, dword [eax + 0x158]
push edx
call fcn.0040c7a0
push ebp
call fcn.00434318
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4314f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00423210
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4315bb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4315bb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43156e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x431579
or bh, 8
and edi, 0x8000000
je 0x431594
mov eax, dword [0x46c07c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4315bb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4319bb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4319df
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4319fa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4344fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43451f
cmp dword [edi + 0x3c], 0
jne 0x43451f
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00446bee
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043454c
pop edi
pop esi
pop ebx
ret 8

Function at 0x435b8f
Capabilities:
Get graphical window text

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

Function at 0x435bd7
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x46a218
mov ecx, edi
call fcn.00438ab7
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x435c2a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x435c3d
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00438d61
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00438d39
jmp 0x435c3d
mov ecx, esi
call fcn.00437dc6
test eax, eax
je 0x435c3d
push edi
mov ecx, eax
call fcn.00435b8f
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4375bf
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 0x437601
call fcn.00446bee
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 0x437601
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4375f8
xor eax, eax
jmp 0x437609
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043760f
pop edi
pop esi
pop ebx
ret 4
Function at 0x447598
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00446bee
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4475d5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4475d5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4475d9
xor eax, eax
jmp 0x447657
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004342ef
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x447611
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4475fb
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00447748
push ebx
mov edi, eax
call fcn.00434318
test edi, edi
pop ecx
je 0x447653
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00447511
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0044765c
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x448c38
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 0x448c66
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x448c84
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00448b9e
jmp 0x448c84
mov eax, dword [esi + 0x14]
test eax, eax
je 0x448c84
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00448b9e
test edi, edi
mov eax, edi
jne 0x448c6e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c30
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x5232fc]
test eax, eax
push esi
mov esi, ecx
je 0x401cf9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImageList_Create
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [0x5232fc]
push str.ImageList_Destroy
push eax
call edi
mov dword [esi + 0xc], eax
mov ecx, dword [0x5232fc]
push str.ImageList_GetImageCount
push ecx
call edi
mov dword [esi + 0x10], eax
mov edx, dword [0x5232fc]
push str.ImageList_ReplaceIcon
push edx
call edi
mov dword [esi + 0x18], eax
mov eax, dword [0x5232fc]
push str.ImageList_AddIcon
push eax
call edi
mov dword [esi + 4], eax
mov ecx, dword [0x5232fc]
push str.ImageList_Remove
push ecx
call edi
mov dword [esi + 0x1c], eax
mov edx, dword [0x5232fc]
push str.ImageList_GetIcon
push edx
call edi
mov dword [esi + 0x20], eax
mov eax, dword [0x5232fc]
push str.ImageList_Read
push eax
call edi
mov dword [esi + 0x24], eax
mov ecx, dword [0x5232fc]
push str.ImageList_Write
push ecx
call edi
mov dword [esi + 0x28], eax
mov edx, dword [0x5232fc]
push str.ImageList_GetIconSize
push edx
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [0x5232fc]
push str.ImageList_SetImageCount
push eax
call edi
mov dword [esi + 0x14], eax
pop edi
pop esi
ret

Function at 0x4029a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d6eb3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
fld qword [esp + 0x28]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x30]
fstp qword [esp]
call fcn.00402520
lea esi, [edi + 0x18]
mov ecx, esi
mov dword [esp + 0x18], 0
mov dword [edi], vtable.hcomplex.0
call fcn.004024a0
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov byte [esp + 0x18], 1
call edx
fld qword [esp + 0x30]
fstp qword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov ecx, esi
call edx
fld qword [esp + 0x38]
fstp qword [eax]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x20
Function at 0x404400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7040
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
fldz
mov esi, dword [esp + 0x78]
fst qword [esp + 0x10]
lea eax, [esp + 0x28]
fst qword [esp + 0x20]
push eax
fst qword [esp + 0x2c]
lea ecx, [esp + 0x24]
fst qword [esp + 0x1c]
push ecx
fst qword [esp + 0x10]
lea edx, [esp + 0x18]
fstp qword [esp + 0x38]
push edx
push esi
sub esp, 0x18
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
mov dword [esp + 0x6c], 1
call fcn.0049acc0
call fcn.00404200
add esp, 0x28
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push esi
sub esp, 0x18
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
call fcn.0049acc0
call fcn.00404200
fld qword [esp + 0x30]
fld st(0)
add esp, 0x28
fld qword [esp + 0x10]
mov byte [esp + 0x40], 0
fmul st(1), st(0)
lea ecx, [esp + 0x48]
fld qword [esp + 0x18]
fld st(0)
fld qword [esp + 0x20]
fmul st(1), st(0)
fxch st(4)
fsubrp st(1)
fld st(0)
fabs
fcomp qword [0x4e98c8]
fnstsw ax
test ah, 5
jp 0x404512
fstp st(0)
fstp st(3)
fstp st(0)
fstp st(1)
fstp st(0)
call fcn.0049ace0
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], 0xffffffff
call fcn.0049ace0
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret
fld qword [esp + 0x28]
mov eax, dword [esp + 0x7c]
fmul st(5), st(0)
fld qword [esp + 0x30]
fld st(0)
fmulp st(6)
fxch st(6)
fsubrp st(5)
fxch st(4)
fdiv st(1)
fchs
fstp qword [eax + 8]
fxch st(4)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fdivrp st(1)
fchs
fstp qword [eax + 0x10]
call fcn.0049ace0
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], 0xffffffff
call fcn.0049ace0
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret
Function at 0x40c330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7ae6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea edi, [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.hVisibleNodes.0
call fcn.00451560
mov dword [edi + 4], eax
mov cl, 1
mov byte [eax + 0x15], cl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
fldz
mov eax, dword [esp + 0x24]
sub esp, 0x20
fst qword [esp + 0x18]
mov byte [esp + 0x3c], cl
fst qword [esp + 0x10]
lea ecx, [esi + 0x38]
fst qword [esp + 8]
mov dword [esi + 0x2c], eax
fstp qword [esp]
call fcn.004029a0
mov ecx, dword [esi + 0x2c]
fld qword [str._np_n]
fstp qword [esi + 0x70]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40d8c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
cmp dword [0x523374], 2
push esi
mov esi, dword [esp + 0x24]
je 0x40d8f1
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x40d8f1
mov dword [0x523374], 1
mov eax, 1
pop esi
add esp, 0x1c
ret
cmp dword [0x523374], 1
je 0x40d953
xor eax, eax
sub esi, 1
neg esi
sbb esi, esi
push eax
and esi, 3
add esi, 0x202
push esi
push esi
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40d953
mov dword [0x523374], 2
mov eax, 1
pop esi
add esp, 0x1c
ret
mov dword [0x523374], 0
xor eax, eax
pop esi
add esp, 0x1c
ret