joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4592ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x512e8c]
cmp byte [eax + 0xc], 0
je 0x459459
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459452
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x513ba0], 0
jne 0x459340
push 0x459460
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x459468
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513ba0], eax
cmp dword [0x50ee5c], 0
jne 0x45943b
push 0x459478
call sub.kernel32.dll_LoadLibraryA
mov dword [0x50ee5c], eax
cmp dword [0x50ee5c], 0
je 0x45943b
push 0x459484
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513ba4], eax
push 0x459494
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513ba8], eax
push 0x4594a8
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bac], eax
push 0x4594c0
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bb0], eax
push 0x4594d8
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bb4], eax
push 0x4594ec
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bb8], eax
push 0x459504
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bbc], eax
push 0x45951c
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bc0], eax
push 0x459538
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bc4], eax
push 0x459544
mov eax, dword [0x50ee5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459459
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45d8b4
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.00404260
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45d903
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.004044d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4651d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465220]
test si, 4
je 0x4651e4
or bl, 1
test si, 8
je 0x4651ee
or bl, 4
test si, 1
je 0x4651f8
or bl, 8
test si, 2
je 0x465202
or bl, 0x10
test si, 0x10
je 0x46520c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46521b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x465224
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46525c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46523d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46524c
or bl, 4
test esi, 0x20000000
je 0x465257
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46b904
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46b916
add esp, 0xfffffff0
call fcn.00403814
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ac4
mov eax, dword [0x512a14]
mov dword [eax + 4], ebx
mov dword [eax], 0x46bca8
mov eax, dword [0x512a20]
mov dword [eax + 4], ebx
mov dword [eax], 0x46bcb4
mov eax, ebx
call fcn.0046bcc0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
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, 0x4680dc
push eax
push 0
push 0
mov eax, dword [0x512be0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423548]
call fcn.00424d2c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423548]
call fcn.00424d2c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423548]
call fcn.00424d2c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046c0e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bfbc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bfbc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bfbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46ba53
call fcn.0040386c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46bda0
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 0x46bf4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46bf2c
mov dl, 1
mov eax, dword [0x417284]
call fcn.00403480
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404260
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46bf1b
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.0045964c
test al, al
je 0x46bf0e
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, 0x46bf5c
lea eax, [ebp - 0x254]
call fcn.00409794
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46bf0e
xor eax, eax
push ebp
push 0x46bf07
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 0x46bf94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46bef0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044d0
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 0x46bef0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf0e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46be11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b9ac
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 0x46bf52
lea eax, [ebp - 0x260]
call fcn.00404260
ret

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

Disassembly:
push ecx
mov eax, dword [0x513bec]
cmp byte [eax + 0xa5], 0
jne 0x46c8f1
cmp dword [0x513c04], 0
jne 0x46c8b2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46c83c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x513c04], eax
cmp dword [0x513c00], 0
jne 0x46c8cd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x513c00], eax
cmp dword [0x513c08], 0
jne 0x46c8f1
push esp
push 0
push 0
push 0x46c7e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x513c08], eax
pop edx
ret
Function at 0x46c9e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46c9ff
add esp, 0xfffffff0
call fcn.00403814
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ac4
mov eax, dword [0x512bc8]
cmp word [eax + 2], 0
jne 0x46ca27
mov eax, dword [0x512bc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046e0d8
mov eax, dword [0x512cc8]
cmp word [eax + 2], 0
jne 0x46ca41
mov eax, dword [0x512cc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046e2d0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416c20]
call fcn.00403480
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 [0x424098]
call fcn.0042ba34
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46cbc8
mov eax, dword [0x512aa4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042be40
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46e880
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x512aa4]
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.0040cfa0
test eax, eax
je 0x46cb36
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409174
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cfc8
test eax, eax
je 0x46cb4a
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.004044d0
mov eax, dword [0x51290c]
cmp byte [eax], 0
jne 0x46cb7e
mov eax, ebx
call fcn.0046ccf0
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.0046ea5c
mov eax, ebx
call fcn.0046f420
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46cbbe
call fcn.0040386c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cf70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x513bec]
cmp dword [eax + 0x30], 0
je 0x46d01a
cmp dword [ebx + 0x94], 0
jne 0x46d014
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46cf00
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d014
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 0x46cfda
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d014
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.004194e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46cfe9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46db7c
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 0x46dbb1
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.00404350
jmp 0x46dbbe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042b4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46ec38
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46ec79
mov eax, esi
call fcn.00454c34
test al, al
je 0x46ec79
mov eax, dword [ebx + 0x84]
call fcn.00454930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46ec79
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454930
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4731e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47320e
mov eax, ebx
call fcn.00473c94
cmp dword [ebx + 0x40], 0
je 0x473207
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47327f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x473271
cmp dword [ebx + 8], 0
je 0x473230
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 0x473242
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x473271
cmp dword [ebx + 8], 0
je 0x473223
cmp eax, 3
je 0x473255
dec eax
jne 0x473223
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 0x473223
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x473223
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47329d
cmp dword [ebx + 0x14], 0xcc
je 0x47329d
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.004732a8
pop ebx
ret
Function at 0x4a6440
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004a642c
test eax, eax
jne 0x4a6461
mov eax, esi
call fcn.00404260
jmp 0x4a64f2
mov eax, ebx
call fcn.004a6588
test al, al
je 0x4a64a7
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404350
test edi, edi
je 0x4a649e
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4a64f2
mov eax, esi
call fcn.00404260
jmp 0x4a64f2
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4a64eb
mov eax, dword [ebp + 0x208]
call fcn.0041a238
test eax, eax
jle 0x4a64d9
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0043a214
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004042b4
jmp 0x4a64f2
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.004042b4
jmp 0x4a64f2
mov eax, esi
call fcn.00404260
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a81c8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406580
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret

Function at 0x4aa758
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4aa812
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040496c
mov eax, dword [0x512e74]
cmp dword [eax], 2
jne 0x4aa7c7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bb4
mov eax, dword [ebx]
call fcn.00404ad8
push eax
mov eax, dword [ebx]
call fcn.00404ac8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ad8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bb4
jmp 0x4aa7f9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409324
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa819
lea eax, [ebp - 0x3f0]
call fcn.00404260
ret
Function at 0x4b5670
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x513e6c
test esi, esi
jne 0x4b568a
xor eax, eax
jmp 0x4b578c
cmp dword [ebp], 0
jne 0x4b5695
call fcn.004b5600
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4b5765
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4b56a1
test edi, edi
jbe 0x4b5787
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4b5769
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d7fa8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4d8164
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a468
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.004607dc
call fcn.004c243c
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4d802c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00425228
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a468
mov eax, dword [eax + 0xc]
pop edx
call fcn.00425230
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425110
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.004091d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a468
call fcn.00425fd8
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425184
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004251c0
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004251c0
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004251c0
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425228
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a468
mov eax, dword [eax + 0xc]
pop edx
call fcn.004250bc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a468
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
mov ecx, edx
shl edx, 6
add edx, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xa8]
mov edx, dword [ecx + edx*4 + 0xb0]
call fcn.00424f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d816b
lea eax, [ebp - 4]
call fcn.00404260
ret
Function at 0x4f3c60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x4f3c78
mov eax, ebx
call fcn.004f34f8
cmp dword [ebx + 0x68], 0
jne 0x4f3c85
mov eax, ebx
call fcn.004f3454
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4f3e38
cmp dword [ebx + 0x68], 0
je 0x4f3e38
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004f32c4
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004f58ac
cmp eax, dword [esp]
je 0x4f3d07
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004f58c0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4f3ce3
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.004f58ac
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4f3cfc
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4f3d1a
mov eax, dword [eax + 0x18]
call fcn.00454930
mov esi, eax
jmp 0x4f3d1d
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4f3d32
or esi, 0xffffffff
jmp 0x4f3d3c
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0044d8b8
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0044d8dc
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0044d904
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0044d928
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040659c
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042a468
call fcn.00425fd8
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00454930
push eax
mov eax, dword [0x5129bc]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.00454930
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret