joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push str.player_want_full:_d
mov edi, ecx
push 0x365
push str.LDGroupControlFrame::playerWantFullScreen
mov dword [ebp - 0x14], edi
call fcn.00482c20
add esp, 0x10
mov ecx, edi
call fcn.00439430
mov eax, dword [edi + 0x540]
mov esi, dword [eax]
cmp esi, eax
je 0x438abb
lea ebx, [ebx]
mov eax, dword [esi + 0x24]
cmp eax, ebx
jne 0x438a24
push str.find_it
push 0x369
push str.LDGroupControlFrame::playerWantFullScreen
call fcn.00482c20
mov edx, dword [edi + 0x550]
add esp, 0xc
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x4389d0
mov edx, dword [esi + 8]
cmp dword [eax + 0x10], edx
jge 0x4389c0
mov eax, dword [eax + 8]
jmp 0x4389c4
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4389b6
mov edx, dword [edi + 0x550]
cmp ecx, edx
je 0x4389e4
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 0x10]
jl 0x4389e4
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0xc]
jmp 0x4389ea
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [edi + 0x550]
je 0x438a03
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x7dc], 1
call fcn.0043c8a0
push 0
push ebx
mov byte [esi + 0x45], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0
push 0x61b4
jmp 0x438a9d
test eax, eax
je 0x438aad
cmp byte [esi + 0x45], 0
je 0x438aad
lea eax, [esi + 8]
mov byte [esi + 0x45], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea ecx, [edi + 0x550]
call fcn.0043a080
mov eax, dword [ebp - 8]
cmp eax, dword [edi + 0x550]
je 0x438a6a
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x7dc], 0
call fcn.0043c8a0
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0046f600
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetParent]
movzx ecx, word [esi + 0x2c]
push dword [esi + 0x30]
movzx eax, word [esi + 0x28]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x32c8
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi]
cmp esi, dword [edi + 0x540]
jne 0x438980
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f009a
mov esp, ebp
pop ebp
ret 4
Function at 0x438ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
push str.player_want_restore_full_:_d
push 0x38c
push str.LDGroupControlFrame::playerWantFullScreenExit
mov dword [ebp - 0xc], ebx
call fcn.00482c20
mov eax, dword [ebx + 0x540]
add esp, 0x10
mov esi, dword [eax]
cmp esi, eax
je 0x438c1b
lea esp, [esp]
cmp dword [esi + 0x24], edi
jne 0x438c0d
push str.find_it
push 0x38f
push str.LDGroupControlFrame::playerWantFullScreenExit
call fcn.00482c20
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x438b4e
push 0
push 0xf120
push 0x112
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [ebx + 0x550]
mov ecx, ebx
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], 0
jne 0x438b76
mov edx, dword [esi + 8]
cmp dword [eax + 0x10], edx
jge 0x438b6c
mov eax, dword [eax + 8]
jmp 0x438b70
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x438b62
cmp ecx, ebx
je 0x438b8a
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 0x10]
jl 0x438b8a
mov dword [ebp - 8], ecx
lea eax, [ebp - 8]
jmp 0x438b90
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
mov ebx, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x550]
je 0x438bac
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x7dc], 0
call fcn.0043c8a0
push 0
push edi
mov byte [esi + 0x45], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.0046f600
push eax
push edi
call dword [sym.imp.USER32.dll_SetParent]
mov ax, word [esi + 0x2c]
push dword [esi + 0x30]
add ax, 0x22
movzx ecx, ax
movzx eax, word [esi + 0x28]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x32c8
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebx
call fcn.0046f600
push eax
push 1
push 0x61ab
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x540]
jne 0x438b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x438cd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6468
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x60], eax
mov edi, dword [eax + 0x540]
mov esi, dword [edi]
cmp esi, edi
je 0x438d89
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00436d60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x438d6a
push 0
push eax
call ebx
push 0
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SetParent]
cmp dword [ebp - 0x24], 0
jle 0x438d4a
lea ecx, [ebp - 0x5c]
call fcn.00439f20
mov ecx, dword [ebp - 0x60]
call fcn.0046f600
push eax
push 0
push 0x61ab
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [ebp - 0x40]
call ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 8
jb 0x438d83
push dword [ebp - 0x58]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
cmp esi, edi
jne 0x438d12
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f009a
mov esp, ebp
pop ebp
ret

Function at 0x438db0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x540]
mov esi, dword [eax]
cmp esi, eax
je 0x438e1a
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x438e0f
push 0
push eax
call ebx
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetParent]
lea ecx, [esi + 8]
mov byte [esi + 0x45], 1
cmp dword [ecx + 0x38], 0
jle 0x438df0
call fcn.00439f20
mov ecx, edi
call fcn.0046f600
push eax
push 0
push 0x61ab
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [esi + 0x24]
call ebx
mov esi, dword [esi]
cmp esi, dword [edi + 0x540]
jne 0x438dc7
pop ebx
pop edi
pop esi
ret
Function at 0x439d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x540]
mov esi, dword [eax]
cmp esi, eax
je 0x439e1b
cmp dword [esi + 8], edi
je 0x439d81
mov esi, dword [esi]
cmp esi, eax
jne 0x439d71
jmp 0x439e1b
mov eax, dword [esi + 0x24]
test eax, eax
je 0x439dd3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetParent]
cmp dword [esi + 0x40], 0
lea ecx, [esi + 8]
jle 0x439daa
call fcn.00439f20
mov ecx, ebx
call fcn.0046f600
push eax
push 0
push 0x61ab
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x544]
cmp dword [esi + 0x20], 8
jb 0x439df6
push dword [esi + 0xc]
call edx
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], 0
mov word [esi + 0xc], ax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push esi
call eax
mov edx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebx + 0x548]
mov esi, dword [eax]
cmp esi, eax
je 0x439e82
cmp dword [esi + 8], edi
je 0x439e40
mov esi, dword [esi]
cmp esi, eax
jne 0x439e27
mov ecx, ebx
call fcn.004375d0
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x54c]
cmp dword [esi + 0x20], 8
jb 0x439e63
push dword [esi + 0xc]
call edx
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], 0
mov word [esi + 0xc], ax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push esi
call eax
add esp, 4
mov ecx, ebx
call fcn.004375d0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x442870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f736b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.00491170
add esp, 4
push 0xd
push 0x5152cc
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041beb0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x515320
push str.overlapX
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x442944
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f009a
mov esp, ebp
pop ebp
ret

Function at 0x442960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f736b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.00491170
add esp, 4
push 0xd
push 0x5152cc
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041beb0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x515320
push str.overlapY
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x442a34
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f009a
mov esp, ebp
pop ebp
ret
Function at 0x45a230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9d40
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x544320]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x544320]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
xorps xmm0, xmm0
push ebx
movq qword [esp + 0x18], xmm0
push ebx
mov dword [esp + 0x20], ebx
call fcn.0045aac0
mov ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x78], ebx
mov edi, dword [esi + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x45a384
lea ebx, [ebx]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x28], ax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
call fcn.00409bd0
mov eax, dword [esi + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x5c], eax
mov al, byte [esi + 0x4c]
mov byte [esp + 0x60], al
mov byte [esp + 0x78], 1
mov ecx, 0x54fcf0
push dword [esp + 0x1c]
call fcn.00469a30
test al, al
je 0x45a361
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push eax
call fcn.0045b630
mov ecx, 0x3333332
sub ecx, ebx
cmp ecx, 1
jb 0x45a3cf
mov ecx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x18], ebx
mov dword [ecx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [esp + 0x78], 0
cmp dword [esp + 0x34], 8
jb 0x45a37a
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
cmp esi, edi
jne 0x45a2a0
lea eax, [esp + 0x14]
mov ecx, 0x54fcb0
push eax
mov eax, dword [esp + 0x14]
add eax, 0xc
push eax
call fcn.0043aa30
lea ecx, [esp + 0x14]
call fcn.0043a020
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004f009a
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x45d820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa0bb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x544320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.00433bf0
push dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
call fcn.0045da60
mov dword [ebp - 4], 1
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00433df0
mov ecx, esi
call fcn.00433d70
lea ecx, [esi + 0xc]
call fcn.00433e00
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.0045d9b0
add esp, 0x30
cmp ebx, eax
je 0x45d8f4
push eax
mov ecx, ebx
call fcn.00433e50
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x45d920
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x45d920
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x45d920
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
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 0x4629d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa70b
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x828]
mov dword [ebp - 0x82c], 0
push eax
call fcn.00491170
add esp, 4
push 0xe
push str.pathconfig.ini
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041beb0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae ecx, dword [ebp - 0x828]
cmp dword [esi + 0x14], 8
jb 0x462a6f
mov eax, dword [esi]
jmp 0x462a71
mov eax, esi
push ecx
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0x50c888
push eax
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [esi + 0x14], 8
jb 0x462a97
mov esi, dword [esi]
lea eax, [ebp - 0x810]
push eax
push esi
push str.pathconfig:_s__s
push 0xa9
push str.readPathFromConfig
call fcn.00482c20
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
add esp, 0x14
mov word [edi], ax
cmp word [ebp - 0x810], ax
jne 0x462ad6
xor ecx, ecx
jmp 0x462aef
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462ae0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00409fc0
cmp dword [ebp - 0x814], 8
jb 0x462b16
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f009a
mov esp, ebp
pop ebp
ret
Function at 0x462e80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
mov eax, dword [eax]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [eax]
push edi
cmp esi, eax
je 0x463022
jmp 0x462ea0
push dword [esi + 8]
mov ecx, ebx
call fcn.0047a0c0
test al, al
je 0x462eb7
mov dword [esi + 0x48], 3
jmp 0x462ecc
push dword [esi + 8]
mov ecx, ebx
call fcn.0047a150
test al, al
je 0x462ecc
mov dword [esi + 0x48], 4
cmp byte [ebp + 0xc], 0
mov eax, dword [esi + 8]
mov edi, eax
je 0x462edf
or edi, 0x1000000
jmp 0x462efd
cmp byte [ebp + 0x10], 0
je 0x462eef
mov edi, eax
or edi, 0x5000000
jmp 0x462efd
cmp byte [ebp + 0x14], 0
je 0x462efd
mov edi, eax
or edi, 0x3000000
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.004798a0
cmp dword [eax + 0x14], 8
jb 0x462f11
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x462f2e
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x462f54
mov dword [esi + 0x48], 1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x463012
lea eax, [esi + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.TheRender
push str.RenderWindow
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x463012
push 0x51d30c
push str.subWin
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp dword [esi + 0x2c], 0
mov ecx, eax
mov dword [esi + 0x30], ecx
je 0x463012
lea eax, [esi + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esi + 0x48], 1
je 0x463012
push dword [esi + 8]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.004798a0
cmp dword [eax + 0x14], 8
jb 0x462fcf
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x462fec
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
mov dword [esi + 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [esi + 8], edi
mov esi, dword [esi]
cmp esi, dword [eax]
jne 0x462ea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46db00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb448
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x544320]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x544320]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x46dc31
cmp byte [esi + 0x45], 0
je 0x46dc31
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x46db60
xor al, al
jmp 0x46dc33
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.0046d9b0
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x46dbb8
dec eax
je 0x46dbbc
sub eax, 2
je 0x46dc17
xor bl, bl
jmp 0x46dc19
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x46dbf4
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x46dbb4
cmp byte [esi + 0x45], 0
je 0x46dc17
test edi, edi
lea edi, [esi + 0x48]
jne 0x46db77
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.0046da50
jmp 0x46db74
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x46dc2d
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x46dc33
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004f009a
mov esp, ebp
pop ebp
ret
Function at 0x46f8f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.004f0830
mov eax, dword [0x544320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x5627e0]
test al, 1
jne 0x46f973
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x5627e0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x5627e4], esi
jmp 0x46f979
mov esi, dword [0x5627e4]
test esi, esi
je 0x46f9e7
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x46f9e7
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x46f9e7
lea ecx, [ebp - 0x3000]
jmp 0x46f9d0
mov eax, dword [ecx]
sub eax, 0
je 0x46f9da
dec eax
jmp 0x46f9db
inc esi
add ecx, 0x18
dec edx
jne 0x46f9d0
test esi, esi
je 0x46f9e7
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f009a
mov esp, ebp
pop ebp
ret