joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a4c
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 0x406c7c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406acf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406c7c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406acf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406c98
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406b58
xor eax, eax
push ebp
push 0x406b51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406888
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 0x406b36
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406cb8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406b36
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 0x406b58
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 0x406c72
cmp byte [ebp - 0xd], 0
jne 0x406b9f
cmp byte [ebp - 0x12], 0
je 0x406c72
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406bb8
dec ebx
cmp byte [ebx], 0x2e
je 0x406bc7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406bb7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406c72
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406c04
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 0x406c72
cmp byte [ebp - 0xd], 0
je 0x406c72
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 0x406c72
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 0x409428
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40947a
test eax, edx
je 0x40947d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40943d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x409463
add ecx, 4
js 0x409453
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409460
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409489
test edx, edx
jne 0x409430
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40ca54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ca8d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040524c
jmp 0x40ca96
mov eax, ebx
mov edx, esi
call fcn.004051b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40caa0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cac2
movzx eax, byte [esp]
jmp 0x40cac4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d154
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cfcc
mov eax, dword [0x4a906c]
cmp byte [eax], 0
je 0x40d1d0
mov eax, dword [0x4a8e3c]
call fcn.004037d8
call fcn.0040304c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a170
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d218
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d206
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a8de4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ac7f8]
call fcn.00406830
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40dafc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dbd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004051f4
lea eax, [ebp - 4]
call fcn.00405644
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055ec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dbbc
mov eax, ebx
call fcn.00402ef0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dbb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055ec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40db9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dbe4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40db9f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbbc
mov eax, dword [ebp - 0x10]
call fcn.00402f0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbd9
lea eax, [ebp - 4]
call fcn.0040515c
ret

Function at 0x423d20
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x423d6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00423a5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423d87
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x423d90
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423a5c
dec esi
jne 0x423db2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x425544
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ae9f0
cmp dword [edi], 0
jne 0x4255c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ae9ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a7b98
mov ecx, 2
call fcn.004030e0
mov edx, 0x42551c
lea eax, [esi + 5]
call fcn.0042553c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042553c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425595
mov dword [0x4ae9ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42683c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004262cc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004055ec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42689b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a8f6c]
mov dl, 1
mov eax, dword [0x4261c4]
call fcn.0040d338
call fcn.00404ab4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4268a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004055ec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4268fc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a91b0]
mov dl, 1
mov eax, dword [0x4261c4]
call fcn.0040d338
call fcn.00404ab4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004262fc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x427a8c
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 0x427a92
ret
Function at 0x437224
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 0x437245
test edi, 0x40000
je 0x43725f
test bl, bl
jne 0x4372e0
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4372e0
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 0x437292
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4372a7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4372b6
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4372c7
cmp byte [esp + 2], 0
je 0x4372e0
cmp byte [esp + 2], 0
je 0x4372d8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4372e0
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x437584
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4375aa
mov eax, esp
push eax
push 0x43754c
call sub.user32.dll_EnumWindows
jmp 0x4375bd
mov eax, esp
push eax
push 0x43752c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x437648
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x43769c]
test si, 4
je 0x43765d
or bl, 1
test si, 8
je 0x437667
or bl, 4
test si, 1
je 0x437671
or bl, 8
test si, 2
je 0x43767b
or bl, 0x10
test si, 0x10
je 0x437685
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x437694
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4376a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4376dc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4376ba
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4376c9
or bl, 4
test esi, 0x20000000
je 0x4376d4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43f748
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43f75a
add esp, 0xfffffff0
call fcn.00404564
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423e64
mov eax, dword [0x4a8dec]
mov dword [eax + 4], ebx
mov dword [eax], 0x43faec
mov eax, dword [0x4a8df8]
mov dword [eax + 4], ebx
mov dword [eax], 0x43faf8
mov eax, ebx
call fcn.0043fb04
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
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, 0x43afac
push eax
push 0
push 0
mov eax, dword [0x4a8f60]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426db8]
call fcn.0042860c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426db8]
call fcn.0042860c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426db8]
call fcn.0042860c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044000c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fe94
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fe94
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fe94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43f897
call fcn.004045bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43fc78
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 0x43fe23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43fe04
mov dl, 1
mov eax, dword [0x418410]
call fcn.004041d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040515c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43fdf3
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.0045f6c8
test al, al
je 0x43fde6
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, 0x43fe34
lea eax, [ebp - 0x254]
call fcn.0040a838
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43fde6
xor eax, eax
push ebp
push 0x43fddf
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 0x43fe6c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43fdc8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053cc
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 0x43fdc8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fde6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43fce9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041d340
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 0x43fe2a
lea eax, [ebp - 0x260]
call fcn.0040515c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4aebec]
cmp byte [eax + 0xad], 0
jne 0x440855
cmp dword [0x4aec08], 0
jne 0x440816
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4407a0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4aec08], eax
cmp dword [0x4aec04], 0
jne 0x440831
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4aec04], eax
cmp dword [0x4aec0c], 0
jne 0x440855
push esp
push 0
push 0
push 0x440744
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4aec0c], eax
pop edx
ret
Function at 0x440a58
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x440a6f
add esp, 0xfffffff0
call fcn.00404564
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423e64
mov eax, dword [0x4a8f4c]
cmp word [eax + 2], 0
jne 0x440a97
mov eax, dword [0x4a8f4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00442658
mov eax, dword [0x4a9020]
cmp word [eax + 2], 0
jne 0x440ab1
mov eax, dword [0x4a9020]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00442864
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417cec]
call fcn.004041d0
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4278c8]
call fcn.0042f6fc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x440c68
mov eax, dword [0x4a8e58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fad0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x442f28
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a8e58]
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.0040e0b4
test eax, eax
je 0x440bb8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a1c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e0e8
test eax, eax
je 0x440bcc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004053cc
mov byte [ebx + 0xd4], 0
push ebx
push 0x4421d4
call fcn.00425600
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a8d2c]
cmp byte [eax], 0
jne 0x440c1d
mov eax, ebx
call fcn.00440dac
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0044313c
mov eax, ebx
call fcn.00443ca0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x440c5d
call fcn.004045bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44102c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4410cb
cmp dword [ebx + 0x94], 0
jne 0x4410c5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x440fb4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4410c5
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 0x44108b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4410c5
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.0041a804
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44109a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4aebec]
cmp dword [eax + 0x30], 0
je 0x441441
test bl, bl
jne 0x441392
cmp dword [esi + 0x9c], 0
jne 0x441387
mov eax, esi
call fcn.00443b1c
push eax
push 0x441210
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x441358
mov eax, dword [0x4aebec]
call fcn.004441fc
test al, al
je 0x441358
mov eax, dword [0x4aec10]
call fcn.00406494
mov edi, eax
cmp edi, 0
jl 0x441358
push 0
mov eax, dword [0x4aec10]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x441342
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x441387
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a804
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x441367
inc dword [esi + 0x9c]
jmp 0x441441
cmp dword [esi + 0x9c], 0
jle 0x441441
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x441441
cmp dword [esi + 0x44], 0
je 0x4413ed
mov eax, dword [0x4aebec]
call fcn.004441fc
test al, al
je 0x4413ed
mov eax, dword [0x4aec10]
call fcn.00406494
mov edi, eax
cmp edi, 0
jl 0x4413ed
push 5
mov eax, dword [0x4aec10]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4413d7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x44141c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a804
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4413fc
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4aec10
mov ecx, 1
mov edx, dword [0x4411f0]
call fcn.00406648
add esp, 4
pop edi
pop esi
pop ebx
ret