joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b900
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
movzx ecx, word [ebp + 8]
cmp ecx, 0x65
jne 0x40b92e
push 0
push 0
push 0x8222
push dword [0x4fafbc]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0x66
jne 0x40b949
push 0
push 0
push 0x10
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xc9
jne 0x40b971
call fcn.0044ce50
mov dword [esi + 0x44], 1
mov dword [esi], 0
mov dword [esi + 0x38], 0
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xca
jne 0x40b999
call fcn.0044cd20
mov dword [esi + 0x44], 1
mov dword [esi], 1
mov dword [esi + 0x38], 0
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xcb
jne 0x40b9fb
mov ecx, dword [esi + 0xc]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xc], eax
test ecx, ecx
jne 0x40bb6b
mov eax, dword [0x4faeb4]
mov eax, dword [eax + 0x1fc]
push dword [eax + 4]
call fcn.00404190
test eax, eax
je 0x40bb6b
nop dword [eax]
nop word [eax + eax]
push eax
mov dword [eax + 0x178], 0
call fcn.00404190
test eax, eax
jne 0x40b9e0
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xcc
jne 0x40ba60
mov ecx, dword [0x4faeb4]
xor eax, eax
cmp dword [esi + 0x10], eax
sete al
xor edx, edx
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x28c]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x290]
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov eax, dword [ebp + edx*4 - 8]
push dword [eax + 4]
call fcn.00404190
test eax, eax
je 0x40ba53
mov ecx, dword [esi + 0x10]
push eax
mov dword [eax + 0x18c], ecx
call fcn.00404190
test eax, eax
jne 0x40ba40
inc edx
cmp edx, 2
jl 0x40ba30
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xcd
jne 0x40ba7a
xor eax, eax
cmp dword [esi + 8], eax
sete al
mov dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xce
jne 0x40ba94
xor eax, eax
cmp dword [esi + 0x30], eax
sete al
mov dword [esi + 0x30], eax
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xd6
jne 0x40baae
xor eax, eax
cmp dword [esi + 0x18], eax
sete al
mov dword [esi + 0x18], eax
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xcf
jne 0x40baea
mov edx, dword [0x50839c]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x40bb6b
xor eax, eax
cmp dword [ecx + 0x14], eax
sete al
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 4]
mov ecx, dword [0x4fb024]
push dword [eax + 0x14]
call fcn.0044c240
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xd0
jne 0x40bafe
call fcn.0044c1a0
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xd1
jne 0x40bb18
xor eax, eax
cmp dword [esi + 4], eax
sete al
mov dword [esi + 4], eax
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ecx - 0x3e8]
cmp eax, 0x3e8
ja 0x40bb6b
mov eax, dword [0x4faeb4]
push ecx
push dword [eax + 0x264]
push ecx
call fcn.0048ade0
mov esi, eax
test esi, esi
je 0x40bb6b
mov ecx, dword [0x4fb0f4]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [0x50839c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x40bb5a
mov eax, dword [eax + 4]
jmp 0x40bb5c
xor eax, eax
mov ecx, dword [0x4faeb4]
push eax
push dword [esi + 8]
call fcn.00416670
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x419b20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
call fcn.00419ff0
cmp dword [esi + 0xfa8], 0
lea edi, [esi + 0xfa8]
je 0x419b58
mov dword [edi], 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419bb8
mov dword [esi + 0xf84], 0
mov dword [esi + 0xf8c], eax
mov dword [esi + 0xf90], 0
mov dword [esi + 0xf88], 0
mov dword [esi + 0xf98], 0
mov dword [esi + 0xf94], 0
mov dword [esi + 0xf9c], 0
mov dword [esi + 0xfa0], 0
jmp 0x419bf6
push edi
lea eax, [esi + 0xfa0]
push eax
lea eax, [esi + 0xf9c]
push eax
lea eax, [esi + 0xf94]
push eax
lea eax, [esi + 0xf98]
push eax
lea eax, [esi + 0xf88]
push eax
lea eax, [esi + 0xf90]
push eax
lea eax, [esi + 0xf8c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00419cc0
cmp dword [edi], 0
jne 0x419c1d
mov ecx, dword [0x4fb0d8]
lea eax, [ebp - 0x214]
push eax
push 0x4d4ca4
mov ecx, dword [ecx + 8]
call fcn.0046ace0
mov eax, dword [ebp - 0x214]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004954a2
mov esp, ebp
pop ebp
ret

Function at 0x419f30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fb114]
push esi
push edi
mov edi, dword [ebp + 8]
add eax, 0x9a0
push eax
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x614]
push str.Save
push eax
lea eax, [ebp - 0x20c]
push 0x4d4c98
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419fa4
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0xc]
inc eax
push eax
lea eax, [ebp - 0x40c]
push str.save_02d.sav
push eax
call esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4d4c98
push edi
call esi
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
call fcn.004954a2
mov esp, ebp
pop ebp
ret 8
Function at 0x419ff0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fb114]
push edi
mov edi, dword [ebp + 8]
add eax, 0x9a0
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Save
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4d4c98
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a061
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.interruption.sav
lea eax, [ebp - 0x20c]
push eax
push 0x4d4c98
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
call fcn.004954a2
mov esp, ebp
pop ebp
ret 4
Function at 0x426500
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x508184], 0
push edi
mov edi, dword [ebp + 0xc]
jne 0x426530
push 0x4c4424
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x42665a
mov eax, dword [0x4fb114]
push esi
add eax, 0x9a0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.srpg_log.txt
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x4d4c98
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x414]
xor esi, esi
mov dword [ebp - 0x418], esi
push esi
push 0x80
push 3
push esi
push esi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x41c], eax
cmp eax, 0xffffffff
je 0x42664e
test eax, eax
je 0x42664e
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ebx, [eax + 1]
cmp ebx, 1
je 0x426622
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
mov esi, eax
lea eax, [ebp - 0x420]
push eax
push ebx
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov byte [esi + ebx - 1], 0
push dword [ebp - 0x420]
push esi
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
jne 0x426622
lea edx, [ebp - 0x418]
mov ecx, esi
call fcn.0048a300
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test esi, esi
je 0x42661a
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x418]
jmp 0x426628
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test esi, esi
je 0x42664d
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
push 0x4c4424
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
pop esi
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004954a2
mov esp, ebp
pop ebp
ret 8
Function at 0x426670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fb114]
push ebx
mov ebx, dword [ebp + 0xc]
add eax, 0x9a0
push esi
push edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.srpg_log.txt
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x4d4c98
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x10
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
mov edi, eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
mov dword [ebp - 0x418], eax
call esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [ebp - 0x418]
lea ecx, [edi - 1]
push 0
mov ebx, eax
lea eax, [ebp - 0x41c]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ebx, ebx
je 0x42674d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x426761
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004954a2
mov esp, ebp
pop ebp
ret 8
Function at 0x42ebb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x42ed14
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cmp eax, 0xf
ja 0x42ed14
mov eax, dword [eax*4 + 0x4faf50]
test eax, eax
je 0x42ed14
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x42ed14
push dword [ebx + 0xc]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42ec1c
mov esi, dword [esi + 4]
test esi, esi
jne 0x42ec00
jmp 0x42ed14
cmp dword [edi + 0x3c], 0
jne 0x42ed0d
mov eax, dword [0x4fb114]
mov ebx, dword [edi + 4]
add eax, 0x9a0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [ebp - 0x814]
push eax
call esi
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x824], 0x4da3c8
mov dword [ebp - 0x820], 0x4da3d0
mov dword [ebp - 0x81c], 0x4da3d8
mov dword [ebp - 0x818], 0x4da3e0
cmp eax, 3
jg 0x42ec83
push dword [ebp + eax*4 - 0x824]
lea eax, [ebp - 0x40c]
push eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea edx, [ebp - 0x60c]
mov ecx, eax
call fcn.00489670
lea eax, [ebp - 0x40c]
push eax
push dword [ebx + 0xc]
lea eax, [ebp - 0x60c]
push eax
push 0x4d506c
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x20c]
push str._s_s_s_s._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ed0d
mov ecx, dword [0x4faee4]
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [edi + 0x3c], eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
test eax, eax
jne 0x42ed0d
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [edi + 0x3c], 0
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x42ed31
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x42ed2f
mov ecx, dword [edi + 0x10]
cmp dword [eax], ecx
je 0x42ed42
mov eax, dword [eax + 8]
test eax, eax
jne 0x42ed24
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004954a2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004954a2
mov esp, ebp
pop ebp
ret
Function at 0x437940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc9d4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f3008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x14
call fcn.004954b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea edx, [edi + 0x10]
mov dword [edi], vtable.CScriptGraphicsComposition.0
mov dword [edi + 0xc], 1
mov dword [edx], 0
mov dword [edi + 4], 0
mov eax, dword [0x4fb0e0]
push edx
push 0x4dc3a8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push 0x80
mov dword [ebp - 4], 0xffffffff
call fcn.004954b0
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, esi
mov dword [esi], vtable.CDirect2DComposition.0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.0044cf20
test eax, eax
jne 0x437aae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], esi
mov dword [eax], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x443cf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call fcn.00419ff0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
neg ecx
sbb ecx, ecx
xor eax, eax
mov word [esi], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004954a2
mov esp, ebp
pop ebp
ret 8
Function at 0x44b5d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
mov dword [ebp - 0x1a4], eax
push esi
mov eax, dword [eax + 4]
push edi
test eax, eax
je 0x44b61e
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 2
mov edi, dword [0x4fb144]
test edi, edi
je 0x44b6af
call fcn.004917d0
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x198]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x18]
xor esi, esi
cmp dword [ebp - 0x19c], esi
jle 0x44b6af
mov ebx, dword [ebp + esi*4 - 0x198]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.video
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x44b688
call fcn.004917d0
push dword [ebp - 0x1a0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [edi], 0
mov dword [edi + 4], 0
je 0x44b6a0
call fcn.00454bb0
inc esi
mov dword [edi], 0
cmp esi, dword [ebp - 0x19c]
jl 0x44b650
xor ecx, ecx
call fcn.00454c50
xor ecx, ecx
call fcn.00454d10
mov esi, dword [ebp - 0x1a4]
mov esi, dword [esi + 0x30]
mov ecx, esi
call fcn.00402af0
mov ecx, esi
call fcn.00402d70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004954a2
mov esp, ebp
pop ebp
ret

Function at 0x44b6f0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x4fb01c]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x44b74d
cmp dword [eax + 0x30], 0
jne 0x44b713
mov ecx, dword [esi + 0x30]
call fcn.00402ea0
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x44], 0
je 0x44b72e
inc dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
cmp eax, dword [ecx + 0x34]
jne 0x44b72e
mov dword [ecx + 0x44], 0
cmp dword [ecx + 0x30], 0
je 0x44b756
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x44b756
mov ecx, dword [0x4faeb4]
pop esi
jmp fcn.00402ea0
mov ecx, dword [esi + 0x30]
pop esi
jmp fcn.00402ea0
pop esi
ret
Function at 0x44bce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x18], 0
mov ebx, dword [esi + 0x44]
mov dword [ebp - 0xec], ebx
je 0x44bd5d
mov ebx, dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov eax, 0xdc
mov word [ebp - 0xa4], ax
xor edi, edi
lea eax, [ebp - 0xe8]
push eax
push edi
push edi
call ebx
test eax, eax
je 0x44bd57
nop word [eax + eax]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [0x4fafac]
jne 0x44bd46
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x4fafa4]
je 0x44bd57
lea eax, [ebp - 0xe8]
inc edi
push eax
push edi
push 0
call ebx
test eax, eax
jne 0x44bd30
mov ebx, dword [ebp - 0xec]
push 0
push ebx
mov dword [esi + 0x5c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x14], 0
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x44bde8
cmp dword [esi + 0x18], 0
jne 0x44bd85
cmp dword [esi + 0x40], 0
je 0x44bda2
push 0x82000000
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x11
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call edi
push 0
mov ecx, esi
call fcn.0044bec0
cmp dword [esi + 0x18], 0
jne 0x44bdb9
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
cmp dword [esi + 4], 0
je 0x44bdde
push 0
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 0
je 0x44bdde
mov ecx, dword [0x4fb024]
push 0
call fcn.0044c240
cmp dword [esi + 0x14], 0
jne 0x44be83
cmp dword [esi + 0x18], 0
je 0x44be07
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov ecx, dword [0x4faeb4]
push 1
call fcn.0041b250
jmp 0x44be19
mov ecx, dword [0x4faeb4]
push 1
call fcn.0041b250
call fcn.00493cb0
mov ecx, dword [0x4fb020]
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
push 1
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call edi
push dword [esi + 0x4c]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [esi + 0x18], 0
jne 0x44be4f
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
cmp dword [esi + 4], 0
je 0x44be62
call fcn.0040acf0
push eax
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, esi
call fcn.0044b9b0
mov eax, dword [esi + 4]
test eax, eax
je 0x44be83
cmp dword [eax + 0x14], 0
je 0x44be83
mov ecx, dword [0x4fb024]
push 1
call fcn.0044c240
push 0x27
push 0
push 0
push 0
push 0
push 0
push ebx
call edi
xor eax, eax
mov dword [esi + 0x5c], 1
cmp dword [esi + 0x14], eax
push 5
sete al
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004954a2
mov esp, ebp
pop ebp
ret
Function at 0x44c240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x50839c]
push ebx
push esi
push edi
mov eax, dword [eax + 0x44]
mov edi, ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call ebx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x3c]
sar esi, 1
call ebx
cmp dword [ebp - 0x18], esi
jge 0x44c293
mov eax, dword [ebp - 0x10]
jmp 0x44c2a4
lea eax, [ebp - 0x28]
push eax
push dword [edi]
call ebx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
push 1
push 0
push 0
push dword [ebp - 0x14]
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp + 8]
mov eax, esi
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x44c2d9
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [ebp - 0x38]
push eax
push dword [edi]
call ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004954a2
mov esp, ebp
pop ebp
ret 4
Function at 0x44c740
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov dword [ebp - 0x210], 0
push 0x204
mov dword [ebp - 0x224], edi
xor esi, esi
mov dword [ebp - 0x214], 1
call fcn.004954b0
mov dword [ebx + 4], eax
add esp, 4
xor ebx, ebx
mov dword [eax + 0x200], esi
test edi, edi
jle 0x44c896
mov edx, dword [ebp - 0x218]
lea edi, [esi + 2]
mov ecx, dword [ebp - 0x224]
add edx, 0xfffffffe
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x228], edx
nop dword [eax]
movzx eax, word [edx + edi]
cmp eax, 0x20
jne 0x44c869
cmp dword [ebp - 0x214], 0
je 0x44c87f
push 0x204
call fcn.004954b0
add esp, 4
mov dword [ebp - 0x210], eax
lea ecx, [esi + 1]
mov dword [eax + 0x200], 0
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, dword [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x200]
test ecx, ecx
je 0x44c83e
mov edx, ecx
mov ecx, dword [edx + 0x200]
test ecx, ecx
jne 0x44c832
mov eax, dword [ebp - 0x210]
xor esi, esi
mov ecx, dword [ebp - 0x224]
mov dword [edx + 0x200], eax
lea eax, [ebx + 1]
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x220], edi
jmp 0x44c885
cmp eax, 0x22
jne 0x44c87f
xor eax, eax
cmp dword [ebp - 0x214], eax
sete al
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x210]
inc ebx
add edi, 2
inc esi
cmp ebx, ecx
jl 0x44c7d0
test eax, eax
jne 0x44c897
inc esi
push 0x204
call fcn.004954b0
mov ecx, dword [ebp - 0x218]
mov edi, eax
mov eax, dword [ebp - 0x210]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [edi + 0x200], 0
push esi
lea ecx, [ecx + eax*2]
push ecx
push edi
call ebx
mov esi, dword [ebp - 0x21c]
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x200]
test ecx, ecx
je 0x44c8ec
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x200]
test ecx, ecx
jne 0x44c8e0
mov dword [edx + 0x200], edi
xor eax, eax
mov dword [0x508180], 0xffffffff
mov dword [0x508188], 0
mov word [0x508190], ax
mov esi, dword [esi + 4]
mov esi, dword [esi + 0x200]
test esi, esi
je 0x44c96e
nop dword [eax + eax]
cmp word [esi], 0x22
mov edi, esi
jne 0x44c958
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x22
jne 0x44c93a
dec eax
jmp 0x44c944
add eax, 0xfffffffe
cmp word [esi + eax*2], 0x22
jne 0x44c958
push eax
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea edi, [ebp - 0x20c]
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.0044c9d0
mov esi, dword [esi + 0x200]
test esi, esi
jne 0x44c920
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004954a2
mov esp, ebp
pop ebp
ret