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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4bf3ec]
cmp byte [eax + 0xc], 0
je 0x44f97d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f976
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c354c], 0
jne 0x44f864
push 0x44f984
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44f98c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c354c], eax
cmp dword [0x4be6b0], 0
jne 0x44f95f
push 0x44f99c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4be6b0], eax
cmp dword [0x4be6b0], 0
je 0x44f95f
push 0x44f9a8
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3550], eax
push 0x44f9b8
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3554], eax
push 0x44f9cc
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3558], eax
push 0x44f9e4
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c355c], eax
push 0x44f9fc
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3560], eax
push 0x44fa10
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3564], eax
push 0x44fa28
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3568], eax
push 0x44fa40
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c356c], eax
push 0x44fa5c
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3570], eax
push 0x44fa68
mov eax, dword [0x4be6b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c3574], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f97d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x456394
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4563e8]
test si, 4
je 0x4563a9
or bl, 1
test si, 8
je 0x4563b3
or bl, 4
test si, 1
je 0x4563bd
or bl, 8
test si, 2
je 0x4563c7
or bl, 0x10
test si, 0x10
je 0x4563d1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4563e0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4563ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x456428]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456406
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456415
or bl, 4
test esi, 0x20000000
je 0x456420
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45dc74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45dc86
add esp, 0xfffffff0
call fcn.00403ea0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d360
mov eax, dword [0x4bf03c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e018
mov eax, dword [0x4bf04c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e024
mov eax, ebx
call fcn.0045e030
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
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, 0x459ac8
push eax
push 0
push 0
mov eax, dword [0x4bf1d4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42166c]
call fcn.00422f18
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42166c]
call fcn.00422f18
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42166c]
call fcn.00422f18
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e538
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e3c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e3c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e3c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ddc3
call fcn.00403ef8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e1a4
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 0x45e34f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e330
mov dl, 1
mov eax, dword [0x414550]
call fcn.00403b4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e31f
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.0044fb6c
test al, al
je 0x45e312
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, 0x45e360
lea eax, [ebp - 0x254]
call fcn.0040a2f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e312
xor eax, eax
push ebp
push 0x45e30b
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 0x45e398
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e2f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c38
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 0x45e2f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e312
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e215
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041919c
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 0x45e356
lea eax, [ebp - 0x260]
call fcn.004049c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c3584]
cmp byte [eax + 0xad], 0
jne 0x45ed81
cmp dword [0x4c359c], 0
jne 0x45ed42
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45eccc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c359c], eax
cmp dword [0x4c3598], 0
jne 0x45ed5d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c3598], eax
cmp dword [0x4c35a0], 0
jne 0x45ed81
push esp
push 0
push 0
push 0x45ec70
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c35a0], eax
pop edx
ret
Function at 0x45ef84
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ef9b
add esp, 0xfffffff0
call fcn.00403ea0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d360
mov eax, dword [0x4bf1bc]
cmp word [eax + 2], 0
jne 0x45efc3
mov eax, dword [0x4bf1bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460ac4
mov eax, dword [0x4bf274]
cmp word [eax + 2], 0
jne 0x45efdd
mov eax, dword [0x4bf274]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460cd0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x413f4c]
call fcn.00403b4c
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 [0x4221d4]
call fcn.00429ce4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45f194
mov eax, dword [0x4bf0bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a0b8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461390
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bf0bc]
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.0040dcf0
test eax, eax
je 0x45f0e4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c94
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dd24
test eax, eax
je 0x45f0f8
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.00404c38
mov byte [ebx + 0xd4], 0
push ebx
push 0x460624
call fcn.0041eafc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4bef7c]
cmp byte [eax], 0
jne 0x45f149
mov eax, ebx
call fcn.0045f2d8
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.0046156c
mov eax, ebx
call fcn.004620cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f189
call fcn.00403ef8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f558
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c3584]
cmp dword [eax + 0x30], 0
je 0x45f602
cmp dword [ebx + 0x94], 0
jne 0x45f5fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f4e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f5fc
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 0x45f5c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f5fc
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.00416664
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f5d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46031c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x460351
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.00404ab8
jmp 0x46035e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a1c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461750
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4617be
mov eax, esi
call fcn.0044a7e8
test al, al
je 0x4617be
mov eax, dword [ebx + 0x84]
call fcn.0044a448
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4617be
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4617b2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a448
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044271c
jmp 0x4617be
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046158c
pop esi
pop ebx
ret
Function at 0x4800b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebx, ecx
mov dword [esp], edx
mov edi, eax
cmp dword [edi + 0x10], 0
jle 0x480177
cmp dword [edi + 0x14], 0
jle 0x480177
mov edx, ebx
mov eax, edi
call fcn.0047fd24
mov dword [esp + 4], eax
lea edx, [ebx + 8]
mov eax, edi
call fcn.0047fd24
mov dword [esp + 8], eax
movzx ebp, word [esp + 4]
movzx eax, word [esp + 8]
sub ax, bp
jl 0x480177
inc eax
mov word [esp + 0x10], ax
movzx esi, word [esp + 6]
movzx ebx, word [esp + 0xa]
sub bx, si
jl 0x48016f
inc ebx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov edx, ebp
mov eax, edi
call fcn.0047fed0
cmp dword [esp + 0x18], 0
jl 0x480169
movzx eax, byte [esp + 0x14]
mov eax, dword [edi + eax*4 + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
call fcn.00450ae0
cmp eax, dword [esp + 0x18]
jle 0x480169
movsx eax, si
imul eax, eax, 0x1e
push eax
mov eax, dword [esp + 0x1c]
push eax
push 1
movsx eax, bp
imul ecx, eax, 0x1e
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
call fcn.00450dd0
inc esi
dec bx
jne 0x480112
inc ebp
dec word [esp + 0x10]
jne 0x480102
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x488618
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edx, eax
dec edx
sub edx, 0xc
jl 0x488645
inc edx
mov eax, 0xc
mov ecx, dword [esi + 4]
add ecx, eax
movzx ecx, byte [ecx]
movzx ecx, cl
add ebx, ecx
xor ebx, eax
inc eax
dec edx
jne 0x488632
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x490144
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov ebp, edx
mov dword [esp], eax
mov dl, 6
mov eax, dword [esp]
call fcn.004296fc
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x490233
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
call fcn.004288ec
mov esi, eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
test eax, eax
jl 0x490225
inc eax
mov dword [esp + 0x18], eax
xor ebx, ebx
lea edi, [ebx + ebx*2]
movzx eax, byte [esi + edi]
mov dword [esp + 4], eax
movzx eax, byte [esi + edi + 1]
mov dword [esp + 8], eax
movzx eax, byte [esi + edi + 2]
mov dword [esp + 0xc], eax
mov eax, 0xff
sub eax, dword [esp + 4]
imul ebp
mov ecx, 0xff
cdq
idiv ecx
add eax, dword [esp + 4]
call fcn.00490044
mov byte [esi + edi], al
mov eax, 0xff
sub eax, dword [esp + 8]
imul ebp
mov ecx, 0xff
cdq
idiv ecx
add eax, dword [esp + 8]
call fcn.00490044
mov byte [esi + edi + 1], al
mov eax, 0xff
sub eax, dword [esp + 0xc]
imul ebp
mov ecx, 0xff
cdq
idiv ecx
add eax, dword [esp + 0xc]
call fcn.00490044
mov byte [esi + edi + 2], al
inc ebx
dec dword [esp + 0x18]
jne 0x49019e
inc dword [esp + 0x10]
dec dword [esp + 0x14]
jne 0x490178
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49c0c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd0
mov ebx, eax
test byte [ebx + 0x44c], 8
je 0x49c16c
mov esi, dword [ebx + 0x2c0]
test esi, esi
jl 0x49c188
cmp dword [ebx + 0x2c4], 0
jl 0x49c188
push esp
mov ecx, dword [ebx + 0x2c4]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x19c]
mov edx, dword [ebx + 0x2c4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x110]
push eax
mov edx, dword [ebx + 0x2c0]
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea ecx, [esp + 4]
pop edx
mov esi, dword [eax]
call dword [esi + 0x54]
mov edx, esp
mov eax, ebx
call fcn.0049c7ec
test byte [ebx + 0x328], 0x10
jne 0x49c145
dec dword [esp + 8]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0049a398
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jle 0x49c188
xor edx, edx
mov eax, dword [ebx + 0x30c]
call fcn.0044271c
jmp 0x49c232
test byte [ebx + 0x44c], 0x40
je 0x49c232
mov ecx, esp
mov edx, dword [ebx + 0x314]
mov eax, ebx
call fcn.0049a8d0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 8]
push eax
call sub.user32.dll_InflateRect
cmp dword [esp], 0
jge 0x49c1a1
xor eax, eax
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0049a398
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x49c1c8
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0049a398
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [ebx + 0x30c]
push 0
mov eax, ebx
call fcn.0044a448
push eax
call sub.user32.dll_ShowWindow
push 0x48
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 8]
sub eax, esi
push eax
push edi
push esi
push 0
mov eax, ebx
call fcn.0044a448
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.0044a448
push eax
call sub.user32.dll_SetFocus
lea edx, [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.0044a448
push eax
call sub.user32.dll_InvalidateRect
add esp, 0x30
pop edi
pop esi
pop ebx
ret
Function at 0x49c840
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xffffffe8
mov ebx, eax
mov esi, dword [ebx + 0x30c]
test esi, esi
je 0x49c8c2
push 0
mov eax, esi
call fcn.0044a448
push eax
call sub.user32.dll_ShowWindow
test byte [ebx + 0x44c], 8
je 0x49c87f
mov ecx, dword [ebx + 0x2c4]
mov edx, dword [ebx + 0x2c0]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x180]
test byte [ebx + 0x44c], 0x40
je 0x49c8a7
mov edx, dword [ebx + 0x314]
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, eax
mov cl, 5
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x1c8]
mov edx, esp
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, esp
mov edx, dword [ebx + 0x250]
mov eax, dword [0x49328c]
call fcn.00493684
movzx eax, word [0x49c934]
not eax
and ax, word [ebx + 0x44c]
mov word [ebx + 0x44c], ax
lea ecx, [esp + 0x10]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406c34
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x2c0], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x2c4], eax
mov esi, dword [ebx + 0x314]
cmp esi, 0xffffffff
je 0x49c922
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov byte [eax + 0x68], 0
mov dword [ebx + 0x314], 0xffffffff
xor edx, edx
mov eax, ebx
call fcn.00499f40
add esp, 0x18
pop esi
pop ebx
ret
Function at 0x49e5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49e75d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x90]
mov eax, dword [ebx + 0x250]
call fcn.0042412c
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x90]
mov eax, dword [ebx + 0x250]
call fcn.00424110
mov edi, eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
movzx eax, byte [eax + 0x94]
sub al, 1
jb 0x49e6a5
jne 0x49e6f4
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
add eax, 2
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.0049a674
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 2
sub edi, eax
mov dword [ebp - 0x14], edi
add edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
jmp 0x49e6f4
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
lea edx, [edi + 2]
sub eax, edx
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.0049a674
mov dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x250]
mov eax, dword [edi + 0xc]
movzx edx, byte [0x49e76c]
call fcn.00423478
mov eax, dword [edi + 0xc]
mov edx, 0xff000011
call fcn.004230ec
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x90]
lea eax, [ebp - 0x1c]
call fcn.0040533c
mov eax, dword [ebp - 0x1c]
push eax
push 0
xor ecx, ecx
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x250]
call fcn.00493c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e764
lea eax, [ebp - 0x1c]
call fcn.004051d4
ret
Function at 0x4a0cb4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a0cbd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a0e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.0049a5c0
mov byte [ebp - 6], al
mov eax, dword [ebx + 0x250]
mov dword [ebp - 0xc], eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x198]
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.004230ec
movzx eax, byte [ebp - 6]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x134]
test byte [ebp - 6], 1
je 0x4a0d68
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0xc]
mov eax, edi
call fcn.0042346c
mov edx, eax
or dl, byte [0x4a0e88]
mov eax, edi
call fcn.00423478
movzx eax, byte [ebx + 0x2fc]
sub al, 1
jb 0x4a0d7a
je 0x4a0ddd
jmp 0x4a0e3d
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xf4]
mov eax, dword [ebp - 0x18]
push eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea ecx, [ebp - 0x14]
pop edx
mov edi, dword [eax]
call dword [edi + 0x4c]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404c50
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00424110
mov edi, eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0xa8]
sub eax, 4
cmp edi, eax
setl byte [ebp - 5]
jmp 0x4a0e3d
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xf4]
mov eax, dword [ebp - 0x24]
push eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea ecx, [ebp - 0x20]
pop edx
mov edi, dword [eax]
call dword [edi + 0x4c]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00404c50
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00424110
mov edi, eax
mov edx, esi
mov eax, dword [ebx + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x30]
call fcn.004afcf4
sub eax, 4
cmp edi, eax
setl byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0e7c
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004051ec
lea eax, [ebp - 0x1c]
call fcn.004049c8
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004051ec
lea eax, [ebp - 0x10]
call fcn.004049c8
ret