joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408476
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x408485
pop dword [ebp - 0x28]
mov eax, 0x408485
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x4e7f7
push 0
mov eax, 0x577edf9b
add eax, 0xa8c5d321
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x41c2
xor edi, edi
add edi, eax
mov esi, 0x487e00
add esi, dword [ebp - 0x28]
mov ebx, 0xf329d532
add ebx, 0x1679ed67
xor dword [ebp - 0x10], 0x9254a06a
mov edx, dword [esi]
xor dword [ebp - 8], edx
xor edx, ebx
mov dword [edi], edx
sub dword [ebp - 0x18], ecx
add edi, 0x45c5174
sub edi, 0x45c5170
add esi, 4
loop 0x4084d5
add eax, 0xf9db
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6da54d5a
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x3eba0531
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403380
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040519c
test esi, esi
jne 0x4033b6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040528c
jmp 0x4033d4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403224
mov edi, eax
test esi, esi
je 0x4033d4
cmp dword [ebx], 0
je 0x4033d4
dec esi
jmp 0x4033bd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x404f48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x56e04c], 0
je 0x404fa9
cmp word [0x56e220], 0xd7b2
jne 0x404f71
cmp dword [0x56e228], 0
jbe 0x404f71
mov eax, 0x56e21c
call dword [0x56e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404fd0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x567030], 0
jne 0x404fc5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x567038], 0
je 0x405146
mov edx, esi
mov eax, ebx
call dword [0x567038]
jmp 0x405155
mov eax, 8
call fcn.00402efc
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x56e04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4050e8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x406bc8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406df8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406c4b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406df8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406c4b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e14
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406cd4
xor eax, eax
push ebp
push 0x406ccd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406a04
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406cb2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406e34
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406cb2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cd4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406dee
cmp byte [ebp - 0xd], 0
jne 0x406d1b
cmp byte [ebp - 0x12], 0
je 0x406dee
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406d34
dec ebx
cmp byte [ebx], 0x2e
je 0x406d43
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406d33
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406dee
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406d80
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406dee
cmp byte [ebp - 0xd], 0
je 0x406dee
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406dee
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4274c4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4274ca
ret

Function at 0x438748
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040519c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x438796
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040540c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442c14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x572c48], 0
je 0x442d5d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x56dc4c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x442d5d
mov eax, dword [0x572c4c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x572c48]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x442d2c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x572c48]
call fcn.00419b00
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x442d24
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x442d24
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x442d24
mov eax, dword [ebp - 0x14]
call fcn.0044d514
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x442d24
push ebp
call fcn.00442bd0
pop ecx
test al, al
jne 0x442d24
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404498
test al, al
je 0x442d24
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404498
cmp byte [ebp - 1], 0
je 0x442d24
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x442d24
mov edx, dword [ebp - 0x14]
mov eax, dword [0x572c4c]
call fcn.00442340
inc edi
dec ebx
jne 0x442c79
mov eax, dword [0x572c4c]
cmp dword [eax + 8], 0
jle 0x442d44
mov eax, dword [0x572c4c]
call fcn.004423f8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442d5d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00442a34
pop ecx
test al, al
jne 0x442d5d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a3e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407674
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00444f9c
test ebx, ebx
jne 0x44a43b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0044a324
mov ebx, eax
test ebx, ebx
je 0x44a526
cmp esi, ebx
je 0x44a464
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x44a479
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x44a4b1
add eax, 0xffffff5f
sub eax, 2
jb 0x44a4c9
dec eax
sub eax, 2
jb 0x44a4dd
dec eax
sub eax, 2
jb 0x44a4d3
jmp 0x44a4e7
add eax, 0xfffffdff
sub eax, 2
jb 0x44a4c9
dec eax
sub eax, 2
jb 0x44a4dd
dec eax
sub eax, 2
jb 0x44a4d3
jmp 0x44a4e7
mov byte [esp + 0x120], 0
jmp 0x44a4ef
mov byte [esp + 0x120], 2
jmp 0x44a4ef
mov byte [esp + 0x120], 1
jmp 0x44a4ef
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call 0x45924c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00446754
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x44a528
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x458d58
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x458d79
test edi, 0x40000
je 0x458d93
test bl, bl
jne 0x458e14
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x458e14
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x458dc6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x458ddb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x458dea
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x458dfb
cmp byte [esp + 2], 0
je 0x458e14
cmp byte [esp + 2], 0
je 0x458e0c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x458e14
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4617c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46196f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461950
mov dl, 1
mov eax, dword [0x417a9c]
call fcn.0040426c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040519c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46193f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00452cc8
test al, al
je 0x461932
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x461980
lea eax, [ebp - 0x254]
call fcn.0040ae9c
push eax
push 0x80000002
call fcn.004077c0
test eax, eax
jne 0x461932
xor eax, eax
push ebp
push 0x46192b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4619b8
mov eax, dword [ebp - 0xc]
push eax
call fcn.004077c8
test eax, eax
jne 0x461914
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040540c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461914
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040540c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461932
mov eax, dword [ebp - 0xc]
push eax
call fcn.004077a8
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461835
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c4b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461976
lea eax, [ebp - 0x260]
call fcn.0040519c
ret

Function at 0x4622e8
Capabilities:
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x572c9c]
cmp byte [eax + 0xad], 0
jne 0x462359
cmp dword [0x572cb8], 0
jne 0x46231a
call fcn.004078a0
push eax
push 0
mov eax, 0x4622a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x572cb8], eax
cmp dword [0x572cb4], 0
jne 0x462335
push 0
push 0
push 0
push 0
call fcn.004077f0
mov dword [0x572cb4], eax
cmp dword [0x572cbc], 0
jne 0x462359
push esp
push 0
push 0
push 0x462248
push 0x3e8
push 0
call fcn.00407800
mov dword [0x572cbc], eax
pop edx
ret
Function at 0x462b30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x462bcf
cmp dword [ebx + 0x94], 0
jne 0x462bc9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462ab8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462bc9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x462b8f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462bc9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419b00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462b9e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462de8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x572c9c]
cmp dword [eax + 0x30], 0
je 0x462f45
test bl, bl
jne 0x462e96
cmp dword [esi + 0x9c], 0
jne 0x462e8b
mov eax, esi
call fcn.00465738
push eax
push 0x462d14
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x462e5c
mov eax, dword [0x572c9c]
call fcn.00465e18
test al, al
je 0x462e5c
mov eax, dword [0x572cc0]
call fcn.00406704
mov edi, eax
cmp edi, 0
jl 0x462e5c
push 0
mov eax, dword [0x572cc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x462e46
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x462e8b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419b00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x462e6b
inc dword [esi + 0x9c]
jmp 0x462f45
cmp dword [esi + 0x9c], 0
jle 0x462f45
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x462f45
cmp dword [esi + 0x44], 0
je 0x462ef1
mov eax, dword [0x572c9c]
call fcn.00465e18
test al, al
je 0x462ef1
mov eax, dword [0x572cc0]
call fcn.00406704
mov edi, eax
cmp edi, 0
jl 0x462ef1
push 5
mov eax, dword [0x572cc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x462edb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x462f20
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419b00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x462f00
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x572cc0
mov ecx, 1
mov edx, dword [0x462cf4]
call fcn.004068b8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x463a2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x463a96
mov eax, ebx
call fcn.00465e18
test al, al
jne 0x463a96
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040528c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x463a83
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x463aa3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051f0
jmp 0x463aa3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051f0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x464f3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464faa
mov eax, esi
call fcn.0044d8b4
test al, al
je 0x464faa
mov eax, dword [ebx + 0x84]
call fcn.0044d514
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464faa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x464f9e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d514
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445384
jmp 0x464faa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00464d78
pop esi
pop ebx
ret
Function at 0x47fd24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x47fd57
movzx eax, byte [ebx]
mov edx, dword [0x56915c]
cmp al, byte [edx]
jne 0x47fd57
cmp dword [ebp + 8], 0x38
je 0x47fd61
mov eax, 0xfffffffa
jmp 0x47ff27
lea eax, [esi + 0x18]
call fcn.0040519c
cmp dword [esi + 0x20], 0
jne 0x47fd7b
mov dword [esi + 0x20], 0x47fc34
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x47fd88
mov dword [esi + 0x24], 0x47fc2c
cmp dword [ebp - 4], 0xffffffff
jne 0x47fd95
mov dword [ebp - 4], 6
test edi, edi
jge 0x47fda2
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x47fdd6
cmp dword [ebp + 0x14], 9
jg 0x47fdd6
cmp dword [ebp - 8], 8
jne 0x47fdd6
cmp edi, 8
jl 0x47fdd6
cmp edi, 0xf
jg 0x47fdd6
cmp dword [ebp - 4], 0
jl 0x47fdd6
cmp dword [ebp - 4], 9
jg 0x47fdd6
cmp dword [ebp + 0x10], 0
jl 0x47fdd6
cmp dword [ebp + 0x10], 2
jle 0x47fde0
mov eax, 0xfffffffe
jmp 0x47ff27
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.0047fc40
mov ebx, eax
test ebx, ebx
jne 0x47fe01
mov eax, 0xfffffffc
jmp 0x47ff27
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0047fc40
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0047fc40
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.0047fc40
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.0047fc40
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x47fecc
cmp dword [ebx + 0x38], 0
je 0x47fecc
cmp dword [ebx + 0x3c], 0
je 0x47fecc
cmp dword [ebx + 8], 0
jne 0x47fee7
lea eax, [esi + 0x18]
mov edx, 0x5691e4
call fcn.00405400
mov eax, esi
call fcn.004802d4
mov eax, 0xfffffffc
jmp 0x47ff27
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.0047ff58
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14