joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x708
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push str.GameBuffInterUninstallMutex
call fcn.004086a0
mov ecx, eax
call fcn.00412ac0
test eax, eax
jne 0x408499
xor eax, eax
jmp 0x408681
mov dword [ebp - 4], 0
jmp 0x4084ab
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jae 0x4084e3
push 0x4de9a0
call fcn.004086a0
mov ecx, eax
call fcn.00414800
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.GameBuff.exe
call fcn.004086a0
mov ecx, eax
call fcn.004148f0
test eax, eax
jne 0x4084e1
jmp 0x4084e3
jmp 0x4084a2
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004086a0
mov ecx, eax
call fcn.00414620
call fcn.004086f0
mov ecx, eax
call fcn.00405fe0
test eax, eax
je 0x408598
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0043ef50
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
add edx, 0xfffffffe
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x704]
mov cx, word [eax + 2]
mov word [ebp - 0x706], cx
add dword [ebp - 0x704], 2
cmp word [ebp - 0x706], 0
jne 0x408548
mov edi, dword [ebp - 0x704]
mov ecx, 0xc
mov esi, str.GameBuff_appconfig.dat
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x210]
push edx
push 0x4dea08
push 0x4dea0c
push str.generate
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.004086f0
mov ecx, eax
call fcn.00405d50
test eax, eax
jne 0x4085c4
push str.silent
call fcn.004086a0
add eax, 0xa28
push eax
call fcn.004371de
add esp, 8
test eax, eax
jne 0x4085df
lea ecx, [ebp - 0x211]
call fcn.0040c300
lea ecx, [ebp - 0x211]
call sym.Setup.exe_public_virtual:_void___thiscall_DuiLib::CComboUI::DoInit_void_
jmp 0x40866d
mov eax, dword [ebp + 8]
push eax
call sym.Setup.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____
add esp, 4
lea ecx, [ebp - 0x700]
call fcn.00408740
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x60000
push 0x10cf0000
push 0x4dea44
push 0
lea ecx, [ebp - 0x700]
call fcn.004089d0
test eax, eax
je 0x40864d
lea ecx, [ebp - 0x700]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 1
lea ecx, [ebp - 0x700]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call sym.Setup.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_
call sym.Setup.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::Term_void_
lea ecx, [ebp - 0x700]
call fcn.00409e40
lea ecx, [ebp - 0x700]
call fcn.004088f0
call fcn.004086a0
mov ecx, eax
call fcn.00412690
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409d70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0043ef50
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 5
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x40b030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
je 0x40b054
cmp dword [ebp - 8], 0xa3
je 0x40b050
jmp 0x40b067
xor eax, eax
jmp 0x40b07b
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x40b07b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call sym.Setup.exe_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40b7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043ef50
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b840
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x220], 0x104
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0
push str.SetupPath
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.00403da0
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404bd0
lea ecx, [ebp - 0x214]
call fcn.00403e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 8
Function at 0x40c350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call fcn.004086f0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
call fcn.004060e0
test eax, eax
je 0x40c3b4
lea ecx, [ebp - 8]
call fcn.00404bb0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.00406200
mov ecx, dword [eax]
push ecx
push str._sUninstall.exe
lea edx, [ebp - 8]
push edx
call fcn.00405220
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00403e20
lea ecx, [ebp - 8]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 8]
call fcn.00403e20
mov esp, ebp
pop ebp
ret
Function at 0x417470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00417450
test eax, eax
je 0x417487
xor eax, eax
jmp 0x4174c5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x417494
xor eax, eax
jmp 0x4174c5
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.00438481
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00417450
mov esp, ebp
pop ebp
ret

Function at 0x4175c0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4175f3
mov ecx, dword [ebp - 4]
and ecx, 2
jne 0x4175ec
mov edx, dword [ebp - 4]
and edx, 1
jne 0x4175ec
mov eax, dword [ebp - 4]
and eax, 4
je 0x4175f3
mov eax, 1
jmp 0x417601
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x417770
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
cmp dword [ebp + 8], 0
je 0x417799
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4177a0
xor eax, eax
jmp 0x417826
cmp dword [ebp + 0xc], 0
je 0x4177b0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x417805
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x40e
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.0043ef50
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
jl 0x417803
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
jmp 0x417826
jmp 0x417824
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jl 0x417824
mov eax, 1
jmp 0x417826
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 8
Function at 0x46bca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x24], eax
push 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46bd7e
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x46bd7e
cmp dword [ebp - 0x1c], 0x10
jne 0x46bd4a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
jne 0x46bd4a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x20]
push edx
call sym.Setup.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
add esp, 4
movzx eax, al
test eax, eax
jne 0x46bd71
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x46bd79
jmp 0x46bd7e
jmp 0x46bcf8
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
jne 0x46bda4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x497c30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x664], 0
je 0x497ce1
cmp dword [ebp + 8], 0x100
jne 0x497cad
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x497cad
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x66a]
test eax, eax
je 0x497c86
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x497cad
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x66b]
test eax, eax
jne 0x497cad
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x44], 0
je 0x497ca9
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x497ce6
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x664]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
call eax
jmp 0x497ce6
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4055c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section._4214784
lea edi, [esi - 0x4000]
push edi
jmp 0x4055da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4055e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4055d0
mov eax, 1
add ebx, ebx
jne 0x4055f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4055e8
jne 0x405604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4055e8
xor ecx, ecx
sub eax, 3
jb 0x405618
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40568a
mov ebp, eax
add ebx, ebx
jne 0x405623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x405630
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x405654
inc ecx
add ebx, ebx
jne 0x405640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x405635
jne 0x405651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x405635
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x405674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x405665
jmp 0x4055d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x405674
add edi, ecx
jmp 0x4055d6
pop esi
lea edi, [esi + 0x3000]
mov eax, dword [edi]
or eax, eax
je 0x4056dc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x58a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x58dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x405691
mov ecx, edi
jns 0x4056c0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x58e4]
or eax, eax
je 0x4056d6
mov dword [ebx], eax
add ebx, 4
jmp 0x4056ae
call dword [esi + 0x58e0]
mov ebp, dword [esi + 0x58e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x405710
sub esp, 0xffffff80
jmp 0x40116c
Function at 0x44cae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572a2d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8f9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x7c]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x44cb22
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45d7f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5745ae
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x8f9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x45d83d
mov edx, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
push edx
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x45d974
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
shr ebx, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp ebx, 7
ja 0x45d895
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x45d88d
mov ecx, ebx
mov eax, 0x200020
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [esi + ebx*2], ax
jmp 0x45d8ec
cmp ebx, 0x7ffffffe
ja 0x45d990
mov edi, ebx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x45d8b5
mov edi, 0x7ffffffe
jmp 0x45d8bf
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
call fcn.0045e650
mov edx, eax
mov dword [esi + 0x14], edi
mov ecx, ebx
mov dword [esi + 0x10], ebx
shr ecx, 1
mov eax, 0x200020
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, edx
xor ecx, ecx
mov word [eax + ebx*2], cx
mov dword [esi], edx
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 1
jb 0x45d904
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x45d90f
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push 2
push eax
mov eax, dword [ebp - 0x18]
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x45d931
push str.Cannot_get_string_value:_RegGetValueW_failed.
jmp 0x45d979
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x10]
shr eax, 1
dec eax
cmp eax, ecx
ja 0x45d953
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x45d948
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x45d95e
push ecx
sub eax, ecx
mov ecx, esi
push eax
call fcn.0045e4d0
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 8
push str.Cannot_get_size_of_string_value:_RegGetValueW_failed.
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045d9a0
push 0x8e4948
lea eax, [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.004161c0
int3
Function at 0x464e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5751df
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x8f9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.galaxy::commandline::CmdlineOptions.0
call dword [sym.imp.PocoUtil.dll_public:_void___thiscall_Poco::Util::OptionSet::constructor_void_]
lea esi, [edi + 0x10]
mov dword [ebp - 4], 0
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [edi + 0x3c], 0
mov byte [edi + 0x54], 0
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 4
push 0x8f9248
call fcn.0042b420
mov word [edi + 0x70], 0
mov byte [edi + 0x74], 0
mov byte [edi + 0x8c], 0
mov word [edi + 0x90], 0
mov byte [edi + 0x92], 0
mov byte [edi + 0x94], 0
mov byte [edi + 0xac], 0
mov word [edi + 0xb0], 0
mov byte [edi + 0xb2], 0
mov byte [edi + 0xb4], 0
mov byte [edi + 0xcc], 0
mov byte [ebp - 4], 8
mov ecx, edi
mov byte [edi + 0xd0], 0
call fcn.004650c0
push dword [ebp + 8]
mov ecx, edi
call fcn.00464bd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x469890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13a8
call fcn.0056e5e0
mov eax, dword [0x8f9064]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 8
mov ecx, esp
push str.Triggering_a_signal_crash...
call fcn.0042d9c0
call fcn.0042d780
add esp, 8
call fcn.0046a800
dec eax
lea ecx, [ebp - 0x13a0]
push eax
push 0
call fcn.0046b4c0
lea ecx, [ebp - 0x13a0]
call fcn.0046b580
push eax
call fcn.0046a7e0
mov eax, dword [eax]
push eax
mov dword [ebp - 0x13a8], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
push ecx
mov ecx, esp
mov dword [ebp - 0x13a4], eax
push ecx
call fcn.0046b970
lea edx, [ebp - 0x13a4]
lea ecx, [ebp - 0x13a8]
call fcn.0046b670
add esp, 8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x46be40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov edi, 1
mov dword [eax + 0xc], edx
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.0056d6b0
mov esi, eax
lea ebx, [ebx + 8]
add esi, edi
mov dword [ebx - 8], esi
adc edx, 0
inc edi
mov dword [ebx - 4], edx
cmp edi, 0x138
jb 0x46be60
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [eax], 0x138
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d600
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576225
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x8f9064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x44], esi
push 0
push 0
mov dword [ebp - 0x44], esi
movzx eax, word [edi]
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x46d67c
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
mov dword [ebp - 0x44], eax
mov ecx, esp
lea edx, [ebp - 0x44]
mov dword [ecx], str.Could_not_determine_scripts_array_size_for_language_ID_._Code:_
mov dword [ecx + 4], 0x45
mov ecx, edi
call fcn.0046e8d0
mov byte [esi], 0
add esp, 8
mov byte [esi + 0x18], 0
jmp 0x46d78f
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0046df80
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
movzx eax, word [edi]
sub ecx, edx
sar ecx, 1
push ecx
push edx
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x46d6e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
mov dword [ebp - 0x44], eax
mov eax, esp
lea edx, [ebp - 0x44]
mov ecx, edi
mov dword [eax], str.Could_not_retrieve_scripts_for_language_ID_._Code:_
mov dword [eax + 4], 0x39
call fcn.0046e8d0
mov byte [esi], 0
add esp, 8
mov byte [esi + 0x18], 0
jmp 0x46d787
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d704
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0045e3d0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00486170
sub esp, 8
mov ecx, esp
mov dword [ecx], str.The_locale_scripts_are_.
mov dword [ecx + 4], 0x1c
mov ecx, eax
call fcn.0042fcc0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00416f30
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov byte [esi + 0x18], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x54]
call fcn.0046e080
mov eax, esi
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.0056d0b2
mov esp, ebp
pop ebp
ret