joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a7ed
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
push 0
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44a812
push str._InstallWegameState__Impl::Release
push 0
call fcn.0041b5a4
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44a83e
push 0
push 0xffffffffffffffeb
mov eax, dword [ebp - 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 8]
and dword [eax + 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x44a886
push 0
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44a886
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 8]
and dword [eax + 8], 0
leave
ret
Function at 0x44b37b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56810d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
je 0x44b3bf
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44b433
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0044b291
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x44b3eb
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
jmp 0x44b3f1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push connect
push dword [ebp - 0x3c]
push str.static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406660
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44b46c
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44b468
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._InstallWegameState__Impl::CreateSilentWnd_failed__d_
push 4
call fcn.0041b5a4
add esp, 0xc
xor al, al
jmp 0x44b4c9
push 0x44a784
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebp - 0x34]
push 0xffffffffffffffeb
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44b4c7
push str._InstallWegameState__Impl::CreateSilentWnd_success
push 0
call fcn.0041b5a4
pop ecx
pop ecx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004610a0
leave
ret
Function at 0x44d52a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568641
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x74], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 0x44
push 0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9d]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0xa8], eax
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x90]
call fcn.00406430
mov dword [ebp - 4], 1
lea eax, [ebp - 0x90]
push eax
push dword [ebp + 0xc]
call fcn.0041ba38
pop ecx
pop ecx
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44d609
cmp dword [ebp - 0x7c], 0x10
jb 0x44d5e8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xac], eax
jmp 0x44d5f4
lea eax, [ebp - 0x90]
mov dword [ebp - 0xac], eax
push dword [ebp - 0xac]
push str._LaunchWegameState__Impl::LaunchProcess__cmd__s_
push 4
call fcn.0041b5a4
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x44d61f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
jmp 0x44d628
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x44d63e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
jmp 0x44d647
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x10], 0
je 0x44d6dc
cmp dword [ebp + 0x10], 0
je 0x44d68d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44d6b1
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push str._LaunchWegameState__Impl::LaunchProcess_success__pid_u__ph_u
push 4
call fcn.0041b5a4
add esp, 0x10
mov byte [ebp - 0x91], 1
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.00406430
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x91]
jmp 0x44d74d
mov eax, dword [ebp - 0x70]
add eax, 0xf4240
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44d70a
push str._LaunchWegameState__Impl::LaunchProcess_failed__err_u
push 4
call fcn.0041b5a4
pop ecx
pop ecx
mov byte [ebp - 0x92], 0
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.00406430
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x92]
jmp 0x44d74d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x74]
xor ecx, ebp
call fcn.004610a0
leave
ret 0xc
Function at 0x44ee5e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x2b8], ecx
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44ee95
push str._LaunchWegameState__RestartAndCallTcls
push 4
call fcn.0041b5a4
pop ecx
pop ecx
mov byte [ebp - 0x225], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x22c], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x214], 0x574a1c
and dword [ebp - 0x278], 0
push 0x40
push 0
lea eax, [ebp - 0x274]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x278], 0x44
and dword [ebp - 0x224], 0
xor eax, eax
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x44f022
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44ef73
push str._LaunchWegameState_RestartAndCallTcls_CreateProcessW_failed_
push 4
call fcn.0041b5a4
pop ecx
pop ecx
mov dword [ebp - 0x2b4], 0x3c
and dword [ebp - 0x2b0], 0
and dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], str.runas
lea eax, [ebp - 0x210]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x2a0], eax
and dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 1
and dword [ebp - 0x294], 0
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x44effc
mov byte [ebp - 0x225], 0
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44effa
push str._LaunchWegameState_RestartAndCallTcls_ShellExecuteExW_failed_
push 4
call fcn.0041b5a4
pop ecx
pop ecx
jmp 0x44f020
mov byte [ebp - 0x225], 1
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44f020
push str._LaunchWegameState_RestartAndCallTcls_ShellExecuteExW_success.
push 4
call fcn.0041b5a4
pop ecx
pop ecx
jmp 0x44f046
mov byte [ebp - 0x225], 1
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x44f046
push str._LaunchWegameState_RestartAndCallTcls_CreateProcessW_success.
push 4
call fcn.0041b5a4
pop ecx
pop ecx
mov al, byte [ebp - 0x225]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004610a0
leave
ret
Function at 0x452834
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x575558
push 1
push 0
push 0x575548
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x45286a
xor eax, eax
jmp 0x4528ba
cmp dword [ebp - 4], 0
je 0x4528b7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.004528be
cmp eax, 1
je 0x4528ac
push 6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.00452be3
push 0x11
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.00452be3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
xor eax, eax
inc eax
leave
ret 8
Function at 0x452eca
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x12c], ecx
and dword [ebp - 0x128], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x124]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 2
jne 0x452f88
cmp dword [ebp - 0xc], 5
jne 0x452f4b
cmp dword [ebp - 4], 1
jne 0x452f4b
xor eax, eax
inc eax
jmp 0x452f8a
cmp dword [ebp - 0xc], 5
jne 0x452f5e
cmp dword [ebp - 4], 2
jne 0x452f5e
xor eax, eax
inc eax
jmp 0x452f8a
cmp dword [ebp - 0xc], 6
jne 0x452f71
cmp dword [ebp - 4], 0
jne 0x452f71
push 2
pop eax
jmp 0x452f8a
cmp dword [ebp - 0xc], 6
jne 0x452f84
cmp dword [ebp - 4], 1
jne 0x452f84
push 2
pop eax
jmp 0x452f8a
xor eax, eax
jmp 0x452f8a
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004610a0
leave
ret
Function at 0x455662
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
je 0x455677
cmp dword [ebp + 0xc], 0
jne 0x45567c
jmp 0x45576e
push 0
push 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x34]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x300400
jne 0x45571f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x30]
jne 0x4556dd
mov eax, dword [ebp - 0x10]
add eax, 0x3c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 8
jb 0x4556c2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x4556c8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 5
push 0
push 0
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45571d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x34]
jne 0x45571d
mov eax, dword [ebp - 0x10]
add eax, 0x58
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 8
jb 0x455704
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x45570a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
push 5
push 0
push 0
push dword [ebp - 0x18]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45576e
cmp dword [ebp - 4], 0x300200
jne 0x455752
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x18]
jne 0x45573d
mov ecx, dword [ebp - 0x10]
call fcn.00455772
jmp 0x455750
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x1c]
jne 0x455750
mov ecx, dword [ebp - 0x10]
call fcn.004557b6
jmp 0x45576e
cmp dword [ebp - 4], 0x300100
jne 0x45576e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x14]
jne 0x45576e
mov ecx, dword [ebp - 0x10]
call fcn.0045580e
leave
ret 8

Function at 0x4593cf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
and dword [ebp - 0x80c], 0
lea eax, [ebp + 0x10]
mov dword [ebp - 0x80c], eax
push dword [ebp - 0x80c]
push dword [ebp + 0xc]
push 0x3ff
push 0x400
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.MSVCR100.dll__vsnwprintf_s]
add esp, 0x14
and dword [ebp - 0x80c], 0
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004610a0
leave
ret
Function at 0x45961c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa24
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa24], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa14], ax
push 0x7fe
push 0
lea eax, [ebp - 0xa12]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp + 8]
push 0x400
lea eax, [ebp - 0xa14]
push eax
push 0
push 0x56f990
push 0x56f988
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xa14]
push eax
mov ecx, dword [ebp - 0xa24]
call fcn.004197da
mov dword [ebp - 0xa18], 1
lea eax, [ebp - 0x210]
test eax, eax
je 0x4596f7
push 0x3a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR100.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x4596e4
and dword [ebp - 0xa18], 0
jmp 0x4596f7
movzx eax, word [ebp - 0x210]
cmp eax, 0x5c
jne 0x4596f7
and dword [ebp - 0xa18], 0
cmp dword [ebp - 0xa18], 0
jne 0x459776
and dword [ebp - 0xa1c], 0
cmp dword [ebp + 0xc], 0
je 0x459774
cmp dword [ebp + 0x10], 0
jle 0x459774
lea eax, [ebp - 0x210]
test eax, eax
je 0x459774
and dword [ebp - 0xa20], 0
lea eax, [ebp - 0x210]
test eax, eax
je 0x45974b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
cmp eax, dword [ebp + 0x10]
jae 0x45974b
mov dword [ebp - 0xa20], 1
cmp dword [ebp - 0xa20], 0
je 0x459774
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
mov dword [ebp - 0xa1c], 1
jmp 0x459791
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xa24]
call fcn.004599b6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004610a0
leave
ret 0xc
Function at 0x4599b6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc58
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0xc58], ecx
xor eax, eax
mov word [ebp - 0x18], ax
xor eax, eax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0xc2c], ax
push 0x7fe
push 0
lea eax, [ebp - 0xc2a]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp + 8]
push 0x400
lea eax, [ebp - 0xc2c]
push eax
push 0x56fa04
push str.NotUseDefaultDllPath
push 0x56f988
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc2c]
push eax
mov ecx, dword [ebp - 0xc58]
call fcn.004197da
movzx eax, word [ebp - 0x18]
cmp eax, 0x31
jne 0x459a61
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc58]
call fcn.0042cacc
jmp 0x459bc0
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push str.DllPath
push str.DefaultValue
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea eax, [ebp - 0x426]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0xc58]
call fcn.004196dc
mov dword [ebp - 0xc4c], 1
lea eax, [ebp - 0x428]
test eax, eax
je 0x459b26
push 0x3a
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.MSVCR100.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x459b13
and dword [ebp - 0xc4c], 0
jmp 0x459b26
movzx eax, word [ebp - 0x428]
cmp eax, 0x5c
jne 0x459b26
and dword [ebp - 0xc4c], 0
cmp dword [ebp - 0xc4c], 0
je 0x459b4c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc58]
call fcn.0042cacc
jmp 0x459bc0
and dword [ebp - 0xc50], 0
cmp dword [ebp + 0x10], 0
je 0x459bc0
cmp dword [ebp + 0x14], 0
jle 0x459bc0
lea eax, [ebp - 0x428]
test eax, eax
je 0x459bc0
and dword [ebp - 0xc54], 0
lea eax, [ebp - 0x428]
test eax, eax
je 0x459b97
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
cmp eax, dword [ebp + 0x14]
jae 0x459b97
mov dword [ebp - 0xc54], 1
cmp dword [ebp - 0xc54], 0
je 0x459bc0
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
mov dword [ebp - 0xc50], 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004610a0
leave
ret 0x10
Function at 0x45b090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569f64
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.Tenio::IEvent.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.Tenio::IUILibEvent.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.PartialTemplateSpecializationForEvent::IDefaultEventImpl_class_Tenio::IUILibEvent_.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.IEventImpl_class_Tenio::IUILibEvent__1_.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.WeGameLauncher::DlTypeWnd.0
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.00458938
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x20], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x24], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x28], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 0xb0]
add eax, 0x30
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x79]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 1
push 0
push 0
mov ecx, dword [ebp - 0x80]
call fcn.00406660
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xb0]
or dword [eax + 0x4c], 0xffffffff
call fcn.004249e0
mov ecx, eax
call fcn.00424b34
mov dword [ebp - 0x68], eax
push 0x575b68
lea ecx, [ebp - 0x2c]
call fcn.00404e60
mov byte [ebp - 4], 3
push 0x575b74
lea ecx, [ebp - 0x48]
call fcn.00404b40
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00425470
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 5
push dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
add ecx, 0x30
call fcn.004064e0
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00406660
mov byte [ebp - 4], 4
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00406430
mov byte [ebp - 4], 3
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406660
mov byte [ebp - 4], 2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004610a0
leave
ret
Function at 0x45c467
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a33d
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.Tenio::IEvent.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.Tenio::IUILibEvent.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.PartialTemplateSpecializationForEvent::IDefaultEventImpl_class_Tenio::IUILibEvent_.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.IEventImpl_class_Tenio::IUILibEvent__1_.0
mov eax, dword [ebp - 0xb0]
mov dword [eax], vtable.WeGameLauncher::LaunchTypeWnd.0
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.00458938
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x20], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x24], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x28], 0
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 0xb0]
add eax, 0x30
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x79]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 1
push 0
push 0
mov ecx, dword [ebp - 0x80]
call fcn.00406660
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xb0]
or dword [eax + 0x4c], 0xffffffff
mov eax, dword [ebp - 0xb0]
and dword [eax + 0x50], 0
call fcn.004249e0
mov ecx, eax
call fcn.00424b34
mov dword [ebp - 0x68], eax
push 0x575f28
lea ecx, [ebp - 0x2c]
call fcn.00404e60
mov byte [ebp - 4], 3
push str.game_name
lea ecx, [ebp - 0x48]
call fcn.00404b40
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00425470
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 5
push dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
add ecx, 0x30
call fcn.004064e0
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00406660
mov byte [ebp - 4], 4
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00406430
mov byte [ebp - 4], 3
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406660
mov byte [ebp - 4], 2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004610a0
leave
ret