joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b920
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 0x40b94e
push 0
push 0
push 0x8222
push dword [0x4fbff4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0x66
jne 0x40b969
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 0x40b991
call fcn.0044d620
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 0x40b9b9
call fcn.0044d4f0
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 0x40ba1b
mov ecx, dword [esi + 0xc]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xc], eax
test ecx, ecx
jne 0x40bb8b
mov eax, dword [0x4fbe54]
mov eax, dword [eax + 0x1fc]
push dword [eax + 4]
call fcn.00404170
test eax, eax
je 0x40bb8b
nop dword [eax]
nop word [eax + eax]
push eax
mov dword [eax + 0x178], 0
call fcn.00404170
test eax, eax
jne 0x40ba00
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xcc
jne 0x40ba80
mov ecx, dword [0x4fbe54]
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.00404170
test eax, eax
je 0x40ba73
mov ecx, dword [esi + 0x10]
push eax
mov dword [eax + 0x18c], ecx
call fcn.00404170
test eax, eax
jne 0x40ba60
inc edx
cmp edx, 2
jl 0x40ba50
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xcd
jne 0x40ba9a
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 0x40bab4
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 0x40bace
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 0x40bb0a
mov edx, dword [0x50937c]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x40bb8b
xor eax, eax
cmp dword [ecx + 0x14], eax
sete al
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 4]
mov ecx, dword [0x4fc008]
push dword [eax + 0x14]
call fcn.0044ca10
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xd0
jne 0x40bb1e
call fcn.0044c970
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xd1
jne 0x40bb38
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 0x40bb8b
mov eax, dword [0x4fbe54]
push ecx
push dword [eax + 0x264]
push ecx
call fcn.0048b9c0
mov esi, eax
test esi, esi
je 0x40bb8b
mov ecx, dword [0x4fc0dc]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [0x50937c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x40bb7a
mov eax, dword [eax + 4]
jmp 0x40bb7c
xor eax, eax
mov ecx, dword [0x4fbe54]
push eax
push dword [esi + 8]
call fcn.004166c0
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x411c40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4f0f20
push 0x499c10
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4f4008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x22c], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x234], eax
mov ebx, 0x8000ffff
xor esi, esi
call fcn.00491b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
call fcn.00491b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x38]
test eax, eax
je 0x411e34
test edi, edi
jne 0x411cdc
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411e34
xor edi, edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 4], esi
call fcn.00493df0
mov dword [ebp - 0x240], eax
call fcn.00493f10
mov dword [ebp - 0x228], eax
call fcn.00491b40
mov edx, dword [eax]
push dword [ebp - 0x234]
push dword [ebp - 0x228]
push dword [ebp - 0x23c]
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x411d6d
push eax
push str.video
mov edi, dword [ebp - 0x228]
push edi
call dword [sym.imp.USER32.dll_SetPropW]
push dword [ebp + 0x18]
push edi
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x234]
call fcn.00439f90
add esp, 8
mov edi, eax
mov dword [ebp - 0x238], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x411db8
mov esi, 1
mov dword [ebp - 0x244], esi
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x240]
call fcn.00493eb0
mov dword [ebp - 4], 0xfffffffe
jmp 0x411db8
test esi, esi
je 0x411e30
call fcn.00491b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push eax
cmp ebx, 0x80004004
jne 0x411de2
push str.Abort
push str.Video_Error
push str._s_:__s__d
jmp 0x411e06
cmp ebx, 0x8000ffff
jne 0x411dfb
push str.Unexcepted
push str.Video_Error
push str._s_:__s__d
jmp 0x411e06
push ebx
push str.Video_Error
push str._s_:__08x__d
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x30
push str.SRPG_Studio
lea eax, [ebp - 0x224]
push eax
push dword [0x4fbff4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, edi
jmp 0x411e36
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00495852
mov esp, ebp
pop ebp
ret 0x14
Function at 0x419bc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
call fcn.0041a0b0
mov ecx, dword [esi + 0xfa8]
lea edi, [esi + 0xfa8]
test ecx, ecx
je 0x419bff
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419c5f
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 0x419c9d
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.00419d70
cmp dword [edi], 0
jne 0x419cc4
mov ecx, dword [0x4fc0c0]
lea eax, [ebp - 0x214]
push eax
push 0x4d4fdc
mov ecx, dword [ecx + 8]
call fcn.0046b420
mov eax, dword [ebp - 0x214]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00495852
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fc0fc]
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 0x4d4fd0
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a054
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0xc]
inc eax
push eax
cmp eax, 0x64
lea eax, [ebp - 0x40c]
jge 0x41a06b
push str.save_02d.sav
jmp 0x41a070
push str.save_03d.sav
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4d4fd0
push edi
call esi
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.00495852
mov esp, ebp
pop ebp
ret 8
Function at 0x41a0b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fc0fc]
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 0x4d4fd0
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 0x41a121
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 0x4d4fd0
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
call fcn.00495852
mov esp, ebp
pop ebp
ret 4
Function at 0x424410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x5093cc]
mov dword [ebp - 0x644], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
push esi
mov edx, dword [ecx]
sete al
push eax
call dword [edx + 0x38]
mov esi, eax
test esi, esi
je 0x424535
cmp dword [0x509164], 0
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
je 0x42449b
lea eax, [ebp - 0x640]
push eax
push 0
push 0
push 0x4bf480
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push str.SRPG_Studio
push dword [ebp - 0x640]
lea eax, [ebp - 0x234]
push 0x4d4fd0
push eax
call edi
add esp, 0x10
push dword [ebp - 0x640]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4244b3
mov eax, dword [0x4fc0fc]
add eax, 0x9a0
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.game.ini
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x63c]
push 0x4d4fd0
push eax
call edi
movq xmm0, qword [str.game]
mov ax, word [0x4d57ac]
push dword [ebp + 0xc]
movq qword [ebp - 0x10], xmm0
movups xmm0, xmmword [str.GamePadDInput]
mov word [ebp - 8], ax
mov eax, dword [0x4d5990]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x434]
movups xmmword [ebp - 0x2c], xmm0
push 0x4c44b4
movq xmm0, qword [0x4d5988]
push eax
movq qword [ebp - 0x1c], xmm0
call edi
add esp, 0x1c
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
mov eax, dword [ebp - 0x644]
neg esi
mov ecx, dword [ebp - 4]
sbb esi, esi
xor ecx, ebp
mov word [eax], si
xor eax, eax
pop esi
call fcn.00495852
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426960
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x509164], 0
push edi
mov edi, dword [ebp + 0xc]
jne 0x426990
push 0x4c44d4
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x426aba
mov eax, dword [0x4fc0fc]
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 0x4d4fd0
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 0x426aae
test eax, eax
je 0x426aae
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ebx, [eax + 1]
cmp ebx, 1
je 0x426a82
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 0x426a82
lea edx, [ebp - 0x418]
mov ecx, esi
call fcn.0048aed0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test esi, esi
je 0x426a7a
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x418]
jmp 0x426a88
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 0x426aad
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
push 0x4c44d4
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.00495852
mov esp, ebp
pop ebp
ret 8
Function at 0x426ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fc0fc]
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 0x4d4fd0
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 0x426bad
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x426bc1
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.00495852
mov esp, ebp
pop ebp
ret 8
Function at 0x42f150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4f4008]
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 0x42f2b4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cmp eax, 0xf
ja 0x42f2b4
mov eax, dword [eax*4 + 0x4fbf30]
test eax, eax
je 0x42f2b4
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x42f2b4
push dword [ebx + 0xc]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42f1bc
mov esi, dword [esi + 4]
test esi, esi
jne 0x42f1a0
jmp 0x42f2b4
cmp dword [edi + 0x3c], 0
jne 0x42f2ad
mov eax, dword [0x4fc0fc]
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], 0x4dac70
mov dword [ebp - 0x820], 0x4dac78
mov dword [ebp - 0x81c], 0x4dac80
mov dword [ebp - 0x818], 0x4dac88
cmp eax, 3
jg 0x42f223
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.0048a270
lea eax, [ebp - 0x40c]
push eax
push dword [ebx + 0xc]
lea eax, [ebp - 0x60c]
push eax
push 0x4d5424
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 0x42f2ad
mov ecx, dword [0x4fbe84]
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 0x42f2ad
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 0x42f2d1
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x42f2cf
mov ecx, dword [edi + 0x10]
cmp dword [eax], ecx
je 0x42f2e2
mov eax, dword [eax + 8]
test eax, eax
jne 0x42f2c4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495852
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.00495852
mov esp, ebp
pop ebp
ret
Function at 0x437f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd724
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f4008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x14
call fcn.00495860
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 [0x4fc0c8]
push edx
push 0x4dd088
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push 0x88
mov dword [ebp - 4], 0xffffffff
call fcn.00495860
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, esi
mov dword [esi], vtable.CDirect2DComposition.0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x54], 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.0044d6f0
test eax, eax
jne 0x438102
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
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 0x444410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call fcn.0041a0b0
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.00495852
mov esp, ebp
pop ebp
ret 8
Function at 0x44be30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4f4008]
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 0x44be7e
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 [0x4fc124]
test edi, edi
je 0x44bf0f
call fcn.00491b40
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 0x44bf0f
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 0x44bee8
call fcn.00491b40
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 0x44bf00
call fcn.004555c0
inc esi
mov dword [edi], 0
cmp esi, dword [ebp - 0x19c]
jl 0x44beb0
xor ecx, ecx
call fcn.00455660
xor ecx, ecx
call fcn.00455720
mov esi, dword [ebp - 0x1a4]
mov esi, dword [esi + 0x30]
mov ecx, esi
call fcn.00402ae0
mov ecx, esi
call fcn.00402d60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret

Function at 0x44bf50
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x4fc000]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x44bfad
cmp dword [eax + 0x30], 0
jne 0x44bf73
mov ecx, dword [esi + 0x30]
call fcn.00402e80
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x44], 0
je 0x44bf8e
inc dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
cmp eax, dword [ecx + 0x34]
jne 0x44bf8e
mov dword [ecx + 0x44], 0
cmp dword [ecx + 0x30], 0
je 0x44bfb6
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x44bfb6
mov ecx, dword [0x4fbe54]
pop esi
jmp fcn.00402e80
mov ecx, dword [esi + 0x30]
pop esi
jmp fcn.00402e80
pop esi
ret