joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c13c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c174]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c155
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c164
or bl, 4
test esi, 0x20000000
je 0x44c16f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45281c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45282e
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ce0c
mov eax, dword [0x4748f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x452bc0
mov eax, dword [0x474904]
mov dword [eax + 4], ebx
mov dword [eax], 0x452bcc
mov eax, ebx
call fcn.00452bd8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44eff4
push eax
push 0
push 0
mov eax, dword [0x474a58]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e888]
call fcn.0041ffc4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e888]
call fcn.0041ffc4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e888]
call fcn.0041ffc4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452ff8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ed4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ed4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ed4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45296b
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452cb8
Capabilities:
Get keyboard layout
Query or enumerate registry value

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 0x452e63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452e44
mov dl, 1
mov eax, dword [0x415520]
call fcn.00403168
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f08
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452e33
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.00440c1c
test al, al
je 0x452e26
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, 0x452e74
lea eax, [ebp - 0x254]
call fcn.00408e78
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452e26
xor eax, eax
push ebp
push 0x452e1f
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 0x452eac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452e08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404178
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 0x452e08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452e26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452d29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418ffc
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 0x452e6a
lea eax, [ebp - 0x260]
call fcn.00403f08
ret

Function at 0x453798
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x475bb4]
cmp byte [eax + 0xa5], 0
jne 0x453809
cmp dword [0x475bcc], 0
jne 0x4537ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453754
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x475bcc], eax
cmp dword [0x475bc8], 0
jne 0x4537e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x475bc8], eax
cmp dword [0x475bd0], 0
jne 0x453809
push esp
push 0
push 0
push 0x4536f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x475bd0], eax
pop edx
ret
Function at 0x453900
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453917
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ce0c
mov eax, dword [0x474a44]
cmp word [eax + 2], 0
jne 0x45393f
mov eax, dword [0x474a44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454fd8
mov eax, dword [0x474afc]
cmp word [eax + 2], 0
jne 0x453959
mov eax, dword [0x474afc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004551d0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415104]
call fcn.00403168
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f330]
call fcn.00427058
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453ae0
mov eax, dword [0x474960]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427428
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455770
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x474960]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c5c8
test eax, eax
je 0x453a4e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040886c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c5f0
test eax, eax
je 0x453a62
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404178
mov eax, dword [0x47481c]
cmp byte [eax], 0
jne 0x453a96
mov eax, ebx
call fcn.00453c08
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045594c
mov eax, ebx
call fcn.00456310
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453ad6
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453e88
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x475bb4]
cmp dword [eax + 0x30], 0
je 0x453f32
cmp dword [ebx + 0x94], 0
jne 0x453f2c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453e18
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453f2c
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 0x453ef2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453f2c
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.0041746c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453f01
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454a94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454ac9
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.00403ff8
jmp 0x454ad6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f5c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455b28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455b69
mov eax, esi
call fcn.0043c390
test al, al
je 0x455b69
mov eax, dword [ebx + 0x84]
call fcn.0043c08c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455b69
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c08c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456828
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4146b4]
call fcn.00404874
xor eax, eax
push ebp
push 0x45696c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x473dbc], 0
jne 0x45687b
mov ecx, dword [0x47482c]
mov dl, 1
mov eax, dword [0x4070a8]
call fcn.0040b874
call fcn.00403924
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bac
mov eax, ebx
call fcn.00404744
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45697c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004057f8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404754
test eax, eax
jle 0x456913
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45690c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404190
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404178
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f08
test eax, eax
jne 0x45690c
mov ebx, 0x15
jmp 0x456918
mov ebx, 0x10
jmp 0x456918
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x473dbc]
call fcn.00456780
mov eax, dword [ebp - 8]
call fcn.00456780
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456973
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f2c
lea eax, [ebp - 0x10]
mov edx, dword [0x4146b4]
call fcn.00404944
ret

Function at 0x45b2d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45b306
mov eax, ebx
call fcn.0045bd8c
cmp dword [ebx + 0x40], 0
je 0x45b2ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45b377
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45b369
cmp dword [ebx + 8], 0
je 0x45b328
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45b33a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b369
cmp dword [ebx + 8], 0
je 0x45b31b
cmp eax, 3
je 0x45b34d
dec eax
jne 0x45b31b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45b31b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45b31b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45b395
cmp dword [ebx + 0x14], 0xcc
je 0x45b395
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045b3a0
pop ebx
ret
Function at 0x430b5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x430ba8
mov eax, esi
call fcn.00446474
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430ba8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430ba8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x430cec
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430be8
cmp eax, 0x108
ja 0x430be8
mov eax, esi
call fcn.00446474
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430ce3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x430cec
jmp 0x430ce3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x430cca
cmp eax, 0x20a
ja 0x430cca
test byte [esi + 0x50], 0x80
jne 0x430c1a
sub eax, 0x203
je 0x430c17
sub eax, 3
je 0x430c17
sub eax, 3
jne 0x430c1a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430c2e
dec eax
je 0x430c43
dec eax
je 0x430c63
dec eax
je 0x430c43
jmp 0x430c6a
mov ecx, ebx
mov eax, dword [0x451df4]
mov eax, dword [eax]
mov edx, esi
call fcn.0044faa8
jmp 0x430ce3
cmp byte [esi + 0x5d], 1
jne 0x430c59
mov eax, esi
mov si, 0xffed
call fcn.004036c4
jmp 0x430cec
or word [esi + 0x54], 1
jmp 0x430ce3
and word [esi + 0x54], 0xfffe
jmp 0x430ce3
mov eax, dword [0x452b64]
cmp byte [eax + 0x20], 0
je 0x430ce3
mov eax, dword [0x452b64]
cmp dword [eax + 0x1c], 0
je 0x430ce3
mov eax, dword [ebx]
mov edx, dword [0x452b64]
cmp eax, dword [edx + 0x1c]
jne 0x430ce3
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004463b8
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004036c4
jmp 0x430cec
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x430ce3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f498
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44da9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44dab3
add esp, 0xfffffff0
call fcn.0040382c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b360
mov eax, dword [0x451d80]
cmp word [eax + 2], 0
jne 0x44dadb
mov eax, dword [0x451d80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f0d0
mov eax, dword [0x451e08]
cmp word [eax + 2], 0
jne 0x44daf5
mov eax, dword [0x451e08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f2c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4113c0]
call fcn.00403498
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4113c0]
call fcn.00403498
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d798]
call fcn.00424a88
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44dc7c
mov eax, dword [0x451cc4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424e58
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f838
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x451cc4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a728
test eax, eax
je 0x44dbea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040877c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a750
test eax, eax
je 0x44dbfe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040449c
mov eax, dword [0x451be4]
cmp byte [eax], 0
jne 0x44dc32
mov eax, ebx
call fcn.0044dda4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044fa14
mov eax, ebx
call fcn.00450354
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dc72
call fcn.00403884
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e018
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bfc]
cmp dword [eax + 0x30], 0
je 0x44e0c2
cmp dword [ebx + 0x94], 0
jne 0x44e0bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dfa8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e0bc
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 0x44e082
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e0bc
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.00413a60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e091
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44eba0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ebd5
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.00404324
jmp 0x44ebe2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404288
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fbf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fc31
mov eax, esi
call fcn.004361f4
test al, al
je 0x44fc31
mov eax, dword [ebx + 0x84]
call fcn.00435ef0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fc31
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435ef0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40428c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x4042d3
cmp ebx, 0x20
je 0x4042d3
cmp ebx, 0xffffffe0
je 0x4042d3
jne 0x4042dc
add eax, 1
cmp esi, eax
je 0x4042e9
jne 0x4042b8
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x4042ed
jne 0x4042b4
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x4043c2
test ecx, ecx
je 0x4043c2
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x4043c2
test ebx, ebx
je 0x4043c2
mov ebx, eax
add ebx, edx
je 0x4043c2
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x4043c2
cmp dword [edx + eax + 0x14], 0
je 0x4043c2
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x4043c2
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4043b2
test dl, dl
je 0x4043ae
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4043b2
add edi, 2
add esi, 2
test dl, dl
jne 0x404392
xor eax, eax
jmp 0x4043b7
sbb eax, eax
or eax, 1
test eax, eax
je 0x4043ce
inc ebp
cmp ebp, dword [esp + 4]
jb 0x40437f
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4052c4
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4052f2
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4052e9
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4052e1
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405313
mov esp, ebp
pop ebp
ret

Function at 0x405317
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x405383
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4053b0
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40539f
xor ecx, eax
xor edx, ebx
dec edi
jne 0x405390
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4053d6
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x405377
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405402
mov esp, ebp
pop ebp
ret 0xc