joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4de7a7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x50e74c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004cb935
mov dword [ebp - 0x14], eax
cmp dword [0x70da34], esi
jne 0x4de89a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4de827
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4de97a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4de97a
push 0x4f3a88
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4de97a
push eax
call ebx
push 0x4f3a94
push edi
mov dword [0x70da34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x70da38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x70da3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x70da44], eax
test eax, eax
je 0x4de897
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x70da40], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4de8bf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4de8b2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4de8d4
push 4
pop eax
jmp 0x4de97c
cmp dword [ebp - 0x14], esi
je 0x4de8d4
push dword [0x70da34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4de8b9
mov eax, dword [0x70da40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4de932
cmp dword [0x70da44], edi
je 0x4de932
push eax
call ebx
push dword [0x70da44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4de932
test eax, eax
je 0x4de932
call ecx
test eax, eax
je 0x4de927
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4de927
test byte [ebp - 8], 1
jne 0x4de932
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4de962
mov eax, dword [0x70da38]
cmp eax, edi
je 0x4de95f
push eax
call ebx
test eax, eax
je 0x4de95f
call eax
mov esi, eax
test esi, esi
je 0x4de95f
mov eax, dword [0x70da3c]
cmp eax, edi
je 0x4de95f
push eax
call ebx
test eax, eax
je 0x4de95f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x70da34]
call ebx
test eax, eax
je 0x4de97a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4de97c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c4eaf
mov esp, ebp
pop ebp
ret
Function at 0x409880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x1c]
sub esp, 0xc
test eax, eax
je 0x40995f
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Version
push eax
mov dword [ebp - 4], 2
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xb0]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.MinVidMemory
push ecx
mov dword [ebp - 8], edx
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xb4]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.RecVidMemory
push ecx
mov dword [ebp - 0xc], edx
call edi
mov eax, dword [esi + 0x1c]
push 0x10
lea edx, [esi + 0x20]
push edx
push 3
push 0
push str.DisplayGUID
push eax
call edi
mov eax, dword [esi + 0x8c]
add eax, 1
cmp dword [esi + 0x90], 0x10
jb 0x409919
mov ecx, dword [esi + 0x7c]
jmp 0x40991c
lea ecx, [esi + 0x7c]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 1
push 0
push str.FailureReason
push ecx
call edi
mov eax, dword [esi + 0xa8]
add eax, 1
cmp dword [esi + 0xac], 0x10
jb 0x409947
mov ecx, dword [esi + 0x98]
jmp 0x40994d
lea ecx, [esi + 0x98]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push 1
push 0
push str.Warning
push edx
call edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4257e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e279b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea eax, [esi + 0x30]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00404920
mov dword [esi], vtable.Sexy::Graphics.0
call fcn.0043c200
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 4], ebx
fldz
fst dword [esi + 8]
mov dword [esi + 0x40], ebx
fst dword [esi + 0xc]
mov dword [esi + 4], eax
fld1
mov dword [esi + 0x44], ebx
fst dword [esi + 0x10]
mov byte [esi + 0x48], bl
fstp dword [esi + 0x14]
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], 1
mov byte [esi + 0x4b], bl
fst dword [esi + 0x18]
fstp dword [esi + 0x1c]
jne 0x425874
mov dword [esi + 4], 0x6408c0
mov byte [esi + 0x4c], bl
jmp 0x42587c
call fcn.0040b850
mov byte [esi + 0x4c], al
mov ecx, dword [esi + 4]
xor edx, edx
call fcn.00427d00
mov edi, eax
call fcn.00427d10
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5996
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esi], vtable.Sexy::Image.0
xor ebx, ebx
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
mov byte [esi + 0xc], bl
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov byte [esi + 4], bl
cmp dword [edi + 0x34], ebx
je 0x427bdf
push 0x30
call fcn.005b2b20
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x427bd8
mov edi, dword [edi + 0x34]
push eax
call fcn.00427c00
mov dword [esi + 0x34], eax
jmp 0x427be2
xor eax, eax
mov dword [esi + 0x34], eax
jmp 0x427be2
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444190
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x6396a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6405c4], 0
jne 0x44420a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x104]
push str.gPakInterfaceP__d
push eax
call fcn.005b6166
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6405c4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6405c8], eax
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [0x6405c8]
mov eax, dword [edx]
xor ecx, ebp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret

Function at 0x444320
Capabilities:
Read file on windows

Disassembly:
call fcn.00444190
test eax, eax
je 0x44433d
mov eax, dword [0x6405c8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
push 1
push ebx
call eax
ret
mov ecx, dword [esi + 8]
push ecx
push edi
push 1
push ebx
call fcn.005b74c9
add esp, 0x10
ret
Function at 0x4465e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e7ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp byte [esi + 0x50c], 0
je 0x4467e8
mov edi, 0x10
cmp dword [esi + 0x544], edi
jb 0x446631
mov eax, dword [esi + 0x530]
jmp 0x446637
lea eax, [esi + 0x530]
push 0x6004d4
push eax
call fcn.005b6041
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x24], ebx
je 0x4467e8
push ebx
push 1
lea eax, [esp + 0x20]
push 4
push eax
mov dword [esp + 0x28], 0x42beef78
call fcn.005b428c
push ebx
push 1
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x3c], 2
call fcn.005b428c
push ebx
push 1
lea edx, [esi + 8]
push 4
push edx
call fcn.005b428c
movzx eax, word [esi + 0x3ac]
push ebx
push 1
lea ecx, [esp + 0x58]
push 2
push ecx
mov dword [esp + 0x60], eax
call fcn.005b428c
mov eax, dword [esi + 0x3ac]
add esp, 0x40
cmp dword [esi + 0x3b0], edi
jb 0x4466c2
mov ecx, dword [esi + 0x39c]
jmp 0x4466c8
lea ecx, [esi + 0x39c]
push ebx
push eax
push 1
push ecx
call fcn.005b428c
add esp, 0x10
lea eax, [esp + 0x3c]
call fcn.00472450
mov dword [esp + 0x68], 0
mov eax, dword [esi + 0x5a4]
lea edi, [esp + 0x3c]
call fcn.004726e0
mov edx, dword [esi + 0x5a0]
mov edi, dword [edx]
add esi, 0x59c
mov dword [esp + 0x30], edi
cmp esi, esi
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
je 0x446717
call fcn.005b2af7
cmp edi, dword [esp + 0x38]
je 0x446765
cmp edi, dword [esi + 4]
jne 0x446727
call fcn.005b2af7
lea ebx, [edi + 8]
lea eax, [esp + 0x3c]
call fcn.00472710
cmp edi, dword [esi + 4]
jne 0x44673d
call fcn.005b2af7
mov eax, dword [edi + 0x24]
lea edi, [esp + 0x3c]
call fcn.004726e0
mov edi, dword [esp + 0x30]
cmp edi, dword [esi + 4]
jne 0x446757
call fcn.005b2af7
mov ecx, dword [edi]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov edi, ecx
jmp 0x446707
lea eax, [esp + 0x3c]
call fcn.00472b20
push ebx
push 1
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x24], eax
call fcn.005b428c
mov eax, dword [esp + 0x24]
add esp, 0x10
push ebx
push 1
push eax
lea esi, [esp + 0x48]
call fcn.00472af0
push eax
call fcn.005b428c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x484]
push ebx
push 1
lea edx, [esp + 0x40]
push 4
push edx
mov dword [esp + 0x48], ecx
call fcn.005b428c
add esp, 0x20
add esi, 0x548
push ebx
mov eax, esi
call fcn.00472b20
push eax
push 1
call fcn.00472af0
push eax
call fcn.005b428c
push ebx
call fcn.005b4539
add esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.004724a0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446ef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x3ec], 0
push edi
mov edi, dword [ebp + 8]
je 0x446f33
cmp dword [esi + 0x408], 0x10
mov ecx, dword [esi + 0x404]
jb 0x446f1a
mov eax, dword [esi + 0x3f4]
jmp 0x446f20
lea eax, [esi + 0x3f4]
push ecx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.0043b680
test eax, eax
je 0x446f86
mov cl, byte [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov byte [esi + 0x3ed], cl
push edi
lea ecx, [esi + 0x3f0]
mov byte [esi + 0x3ec], 1
call fcn.0043b440
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40c], eax
cmp dword [edi + 0x18], 0x10
jb 0x446f6a
mov eax, dword [edi + 4]
jmp 0x446f6d
lea eax, [edi + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x446f8e
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push edi
mov ecx, esi
call eax
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x44b122
Capabilities:
Hide graphical window

Disassembly:
fldz
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
sub esp, 8
fstp qword [esp]
call edx
mov eax, dword [esi + 0x350]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov byte [esi + 0x340], 1
mov ecx, esi
pop esi
jmp eax

Function at 0x44b5f0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x33c], 0
je 0x44b613
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [edi + 0x33c]
je 0x44b613
mov byte [edi + 0x4fd], 1
pop edi
ret
cmp byte [edi + 0x341], 0
jne 0x44b611
mov al, 1
mov byte [edi + 0x342], al
mov byte [edi + 0x341], al
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
mov ecx, edi
call edx
cmp byte [edi + 0x50d], 0
je 0x44b66c
mov eax, dword [edi]
fld qword [edi + 0xe0]
mov edx, dword [eax + 0xf0]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call edx
fld qword [edi + 0xe8]
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call edx
cmp byte [edi + 0x4fe], 0
je 0x44b68e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0xa
call esi
cmp byte [edi + 0x4fe], 0
jne 0x44b680
pop esi
mov ecx, dword [edi + 0x374]
test ecx, ecx
je 0x44b69f
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp byte [edi + 0x344], 0
jne 0x44b6c3
mov eax, dword [edi + 0x36c]
test eax, eax
je 0x44b6c3
cmp dword [eax + 0x58], 0
je 0x44b6c3
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
mov eax, dword [edi + 0x350]
test eax, eax
je 0x44b6d6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0044b700
cmp byte [edi + 0x378], 0
je 0x44b6ed
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
pop edi
jmp fcn.004e6950
Function at 0x44c7e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x6396a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x63e120], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x60095c
jne 0x44c80b
mov eax, 0x600960
push eax
push str.ScrError.txt
mov byte [0x63e120], 0
call fcn.005b6041
mov esi, eax
add esp, 8
test esi, esi
je 0x44c860
cmp dword [edi + 0x18], 0x10
jb 0x44c831
mov edi, dword [edi + 4]
jmp 0x44c834
add edi, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.005b6f2c
add esp, 4
push eax
push edi
push str._s__s__u_n
push esi
call fcn.005b649e
push esi
call fcn.005b4539
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret 4
Function at 0x450ef0
Capabilities:
Create thread

Disassembly:
cmp byte [esi + 0x4f9], 0
jne 0x450f26
push 1
mov byte [esi + 0x4fc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0
push 0x450e80
mov byte [esi + 0x4f9], 1
call fcn.005b343b
add esp, 0xc
ret

Function at 0x451060
Capabilities:
Create thread

Disassembly:
cmp byte [esi + 0x4fe], 0
jne 0x45108f
push 1
mov byte [esi + 0x4fe], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0
push 0x451040
call fcn.005b343b
add esp, 0xc
ret
Function at 0x451da0
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x341], 0
push edi
jne 0x451f7a
call fcn.00451060
cmp byte [esi + 0x4f8], 0
je 0x451ddf
call fcn.00450ef0
mov eax, dword [esi + 0x350]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x350]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x174]
mov ecx, esi
mov byte [esi + 0x4cd], 1
mov dword [esi + 0x474], edi
mov dword [esi + 0x478], edi
mov dword [esi + 0x410], edi
call eax
push esi
call fcn.004513f0
mov byte [esi + 0x4cd], 0
call fcn.00447120
call ebx
sub eax, edi
test eax, eax
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jge 0x451e5a
fadd qword [0x613de0]
fdiv qword [0x613f58]
sub esp, 8
lea ecx, [esp + 0x40]
fstp qword [esp]
push str.Seconds_________g_r_n
push ecx
call fcn.005b6166
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x10
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esi + 0x47c]
push eax
lea ecx, [esp + 0x3c]
push str.Sleep_Count_____d_r_n
push ecx
call fcn.005b6166
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esi + 0x484]
push eax
lea ecx, [esp + 0x3c]
push str.Update_Count____d_r_n
push ecx
call fcn.005b6166
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esi + 0x480]
push eax
lea ecx, [esp + 0x3c]
push str.Draw_Count______d_r_n
push ecx
call fcn.005b6166
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esi + 0x4d4]
push eax
lea ecx, [esp + 0x3c]
push str.Draw_Time_______d_r_n
push ecx
call fcn.005b6166
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esi + 0x4f4]
push eax
lea ecx, [esp + 0x3c]
push str.Screen_Blt______d_r_n
push ecx
call fcn.005b6166
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esi + 0x4f4]
mov ecx, dword [esi + 0x4d4]
add ecx, eax
test ecx, ecx
jle 0x451f60
mov eax, dword [esi + 0x480]
imul eax, eax, 0x3e8
cdq
idiv ecx
lea edx, [esp + 0x38]
push eax
push str.Avg_FPS_________d_r_n
push edx
call fcn.005b6166
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call edi
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret
Function at 0x4522a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4d68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x6396a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp byte [eax], 0x22
mov ebx, 1
jne 0x4522ec
add eax, ebx
push 0x22
push eax
call fcn.005b63e0
add esp, 8
test eax, eax
je 0x452334
add eax, ebx
test eax, eax
je 0x452334
push 0x20
push eax
call fcn.005b63e0
add esp, 8
test eax, eax
je 0x452334
add eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00438a30
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call edx
cmp dword [ebp - 0x10], 0x10
jb 0x452334
mov eax, dword [ebp - 0x24]
push eax
call fcn.005b28f2
add esp, 4
mov byte [esi + 0xf2], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453ad0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [eax + 0x50d], 0
jne 0x453bd3
mov eax, dword [eax + 0x350]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x453bd3
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 0x14]
add eax, 1
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp - 4], ecx
jb 0x453b29
mov ecx, dword [ecx]
mov edx, eax
jmp 0x453b30
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x453b30
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 1
call ebx
push edi
push 7
call ebx
push edi
push 0x10
call ebx
cmp dword [esi + 0x18], 0x10
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 4]
jb 0x453b68
mov ecx, dword [ecx]
push 0
push 0
push eax
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [edi + edi + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], eax
jb 0x453ba4
mov edx, dword [edx]
push edi
push eax
push ecx
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
push ebx
mov word [eax + edi*2], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453be0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e85b9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x6396a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], esi
mov byte [esi + 4], bl
mov dword [ebp - 4], ebx
cmp byte [edi + 0x50d], bl
mov dword [ebp - 0x14], 1
jne 0x453c75
mov eax, dword [edi + 0x350]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x453c75
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebx
je 0x453c6c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x453c6c
push eax
mov ecx, esi
call fcn.0043b530
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.004468c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468ff0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6396a8]
xor eax, ebp
mov dword [ebp - 4], eax
push str.IMAGEHLP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x640610], eax
jne 0x469027
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call esi
test eax, eax
mov dword [0x640614], eax
je 0x4690e5
mov eax, dword [0x640610]
push str.SymSetOptions
push eax
call esi
test eax, eax
mov dword [0x640618], eax
je 0x4690e5
mov ecx, dword [0x640610]
push str.SymCleanup
push ecx
call esi
test eax, eax
mov dword [0x640620], eax
je 0x4690e5
mov edx, dword [0x640610]
push str.UnDecorateSymbolName
push edx
call esi
test eax, eax
mov dword [0x64061c], eax
je 0x4690e5
mov eax, dword [0x640610]
push str.StackWalk
push eax
call esi
test eax, eax
mov dword [0x640624], eax
je 0x4690e5
mov ecx, dword [0x640610]
push str.SymFunctionTableAccess
push ecx
call esi
test eax, eax
mov dword [0x640628], eax
je 0x4690e5
mov edx, dword [0x640610]
push str.SymGetModuleBase
push edx
call esi
test eax, eax
mov dword [0x64062c], eax
je 0x4690e5
mov eax, dword [0x640610]
push str.SymGetSymFromAddr
push eax
call esi
test eax, eax
mov dword [0x640630], eax
jne 0x4690f6
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret
push 4
call dword [0x640618]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
push 0x2f
push edx
call fcn.005b7f10
add esp, 8
test eax, eax
jne 0x46913c
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.005b7f10
add esp, 8
test eax, eax
je 0x46913f
mov byte [eax], 0
lea edx, [ebp - 0x108]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x469150
sub eax, esi
jne 0x46915f
xor edx, edx
push 1
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x640614]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
pop esi
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret