joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410cd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048174a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410d52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047e8c4
mov eax, dword [eax]
push 0x573210
push eax
call fcn.00470764
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004819d5
test bl, bl
je 0x410d52
push 0x573210
lea ecx, [esp + 0xc]
call fcn.00481d65
push 0x576d98
lea ecx, [esp + 0xc]
call fcn.00481d65
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x410d8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004819d5
jmp 0x410e59
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x410e12
lea edx, [esp + 0x7c]
push 0x576d94
push edx
call fcn.00470764
add esp, 8
test eax, eax
je 0x410e12
lea eax, [esp + 0x7c]
push 0x576d90
push eax
call fcn.00470764
add esp, 8
test eax, eax
je 0x410e12
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410da2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004819d5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x411650
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4116b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4116c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d99b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57e13c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4117f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411726
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004819d5
xor eax, eax
jmp 0x41186f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00481b12
push esi
lea ecx, [esp + 0xc]
call fcn.00481da1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x576dd0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41184d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411650
test eax, eax
jne 0x41184d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00411650
test eax, eax
jne 0x41184d
lea eax, [esp + 0x14]
push 0x576dac
push eax
call fcn.004717a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41182c
lea ecx, [esp + 0x14]
push 0x576da8
push ecx
call fcn.00471720
mov esi, eax
add esp, 8
test esi, esi
jne 0x41182c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41182f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00481ac2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41173e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004819d5
xor eax, eax
jmp 0x41186f
mov byte [esi], 0
push 0x576da4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004819d5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4221a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42220e
cmp si, 0x69
ja 0x42220e
add esi, 0xffd0
cmp si, 0x11
je 0x4221de
push 0x11
call edi
test ax, ax
jge 0x4221de
or esi, 0x2000
cmp si, 0x10
je 0x4221f3
push 0x10
call edi
test ax, ax
jge 0x4221f3
or esi, 0x4000
cmp si, 0x12
je 0x422208
push 0x12
call edi
test ax, ax
jge 0x422208
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42221b
mov esi, 0xbd
jmp 0x4221cf
cmp si, 0x6e
jne 0x422228
mov esi, 0xbe
jmp 0x4221cf
cmp si, 0x6f
jne 0x4221c9
mov esi, 0xbf
jmp 0x4221cf

Function at 0x423950
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58e8e0]
xor edx, edx
cmp eax, edx
jne 0x423976
xor eax, eax
mov byte [eax + 0x58e7e0], al
inc eax
cmp eax, 0x100
jl 0x42395e
mov dword [0x58e8e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58e7e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423a07
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4239da
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4239a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x423a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x423ad3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x423aba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435610
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48f888
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042ff10
test eax, eax
je 0x435718
lea ecx, [esp + 0xc]
call fcn.00409d90
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.0042ff10
mov ecx, eax
call fcn.0042d5c0
test eax, eax
je 0x4356ff
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4356ff
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4356ff
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.00409f90
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4356e1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4356ff
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x58ed30]
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], 0x55f508
call fcn.00409f90
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x435760
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042ff10
test eax, eax
je 0x43584f
mov ecx, edi
call fcn.0042ff10
mov ecx, eax
call fcn.0042d470
test eax, eax
jne 0x43584f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43584f
mov eax, dword [0x58ed30]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4357c2
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.0042ff10
mov ecx, eax
call fcn.0042d6a0
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 0x43584f
cmp ebx, eax
jne 0x43584f
cmp dword [esp + 0x10], eax
jne 0x435835
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 0x438490
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48fb18
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 0x4384c9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4385dc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4384dd
mov eax, 0xffffffc7
jmp 0x4385de
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4384ee
cmp dword [esi + 8], eax
jne 0x4384dd
cmp dword [esi + 8], eax
jne 0x438507
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x438507
mov eax, 0xffffffc7
jmp 0x4385de
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43851b
push eax
mov ecx, ebx
call fcn.00437cc0
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.00409d90
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43854c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00409db0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00437430
test eax, eax
mov dword [esp + 0x38], eax
je 0x43857f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55f508
call fcn.00409f90
mov eax, dword [esp + 0x38]
jmp 0x4385de
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004382f0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4385c3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00438310
mov esi, eax
test esi, esi
jne 0x4385f3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004382f0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x438595
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55f508
call fcn.00409f90
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], 0x55f508
call fcn.00409f90
mov eax, esi
jmp 0x4385de

Function at 0x43b700
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43b760
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43b760
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43b760
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43b760
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 0x43b7a0
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 0x457d67
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.004807f6
mov eax, dword [0x57e13c]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x5637ec
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x457dc4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.00481716
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x46e170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492230
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0048ba77
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x46e1a3
xor al, al
jmp 0x46e2cf
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x46e1c5
xor al, al
jmp 0x46e2cf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x46e1d8
xor al, al
jmp 0x46e2cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x46e1ec
xor al, al
jmp 0x46e2cf
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0047fcb8
test eax, eax
jne 0x46e220
xor al, al
jmp 0x46e2cf
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x56482c
mov dword [esp + 0x20], ebp
call fcn.0048ba77
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004887cb
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00488822
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x46e2b4
mov ax, word [ebx]
test ax, ax
je 0x46e2a6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0046e2f0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46e28a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00488822
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x46e830
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00489e7b
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46e876
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00470638
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x57e0a4
push ecx
call fcn.00471d14
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x406890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5576ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.005132d2
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.005133e0
mov edi, eax
mov eax, dword [esp + 0x34]
push 0x104
push edi
push eax
call dword [0x57027c]
test eax, eax
je 0x4068f1
push edi
lea ecx, [esp + 0x38]
call fcn.005135fc
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.005133b6
mov ecx, dword [esi + 0x108]
mov edi, dword [esi + 0x20]
test ecx, ecx
je 0x40694b
mov edx, dword [ecx]
lea eax, [esp + 0xc]
push ebx
push eax
call dword [edx + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [0x571264]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.005132cc
test bl, bl
pop ebx
jne 0x4069f9
mov ecx, esi
call fcn.004039b0
test eax, eax
je 0x4069f9
push 0x10c
call fcn.00513446
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2c], 2
je 0x40696e
mov ecx, eax
call fcn.0048aa10
jmp 0x406970
xor eax, eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x34], 1
mov dword [esi + 0x108], eax
call fcn.0048bad0
mov edx, dword [esp + 0x34]
mov ecx, 0x5c5210
push edx
call fcn.005135c0
lea esi, [edi + 0x2784]
push 1
mov ecx, esi
call fcn.00492aa0
push 1
mov ecx, esi
call fcn.00492970
call fcn.0042f600
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xdc]
call fcn.0042f5f0
mov ecx, eax
call fcn.004966c0
mov ecx, dword [edi + 0x27a4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [0x571410]
mov eax, dword [edi + 0x27a4]
push 0x105
lea edx, [esp + 0x18]
push 0
push edx
push eax
call dword [0x57140c]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.005132cc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005132cc
mov ecx, dword [esp + 0x24]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x408710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x557f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.0042f700
add esp, 4
mov ecx, esi
push 0x40000
call fcn.00408190
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], 0x571da0
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edi
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], edi
call fcn.0040cfe0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ecx], ebx
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
lea edx, [esp + 0x24]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x108]
push edx
call fcn.004902c0
mov esi, 0x571d84
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
push 0xdc
push 4
push 0xdc
mov byte [esp + 0x4c], 1
call fcn.0051369e
push eax
call dword [0x571418]
push eax
lea ecx, [esp + 0x10]
call fcn.00513698
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [0x571414]
push eax
call fcn.00513692
mov ecx, dword [eax + 4]
push edi
push edi
push 0x400
push edi
push ecx
call dword [0x5713fc]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 2
call fcn.0051368c
mov dword [esp + 0xc], 0x571ce4
mov dword [esp + 0x24], 0x571da0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], 3
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x40883a
push eax
call fcn.005133ec
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x40eb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55863f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
call fcn.005132d2
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x2c], 1
call dword [eax + 0x130]
mov edx, dword [esi]
lea edi, [eax - 1]
push edi
mov ecx, esi
call dword [edx + 0x134]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [eax + 0x144]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00513416
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.005132cc
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x40eb89
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55863f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
call fcn.005132d2
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x2c], 1
call dword [eax + 0x130]
mov edx, dword [esi]
lea edi, [eax - 1]
push edi
mov ecx, esi
call dword [edx + 0x134]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [eax + 0x144]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00513416
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.005132cc
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8