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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.0040803b
mov dword [ebp - 0x14], eax
cmp dword [0x4ad660], esi
jne 0x40d6ab
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d638
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d78b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d78b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d78b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad660], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad664], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad668], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad670], eax
test eax, eax
je 0x40d6a8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad66c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6c3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6e5
push 4
pop eax
jmp 0x40d78d
cmp dword [ebp - 0x14], esi
je 0x40d6e5
push dword [0x4ad660]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6ca
mov eax, dword [0x4ad66c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d743
cmp dword [0x4ad670], edi
je 0x40d743
push eax
call ebx
push dword [0x4ad670]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d743
test eax, eax
je 0x40d743
call ecx
test eax, eax
je 0x40d738
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 0x40d738
test byte [ebp - 8], 1
jne 0x40d743
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d773
mov eax, dword [0x4ad664]
cmp eax, edi
je 0x40d770
push eax
call ebx
test eax, eax
je 0x40d770
call eax
mov esi, eax
test esi, esi
je 0x40d770
mov eax, dword [0x4ad668]
cmp eax, edi
je 0x40d770
push eax
call ebx
test eax, eax
je 0x40d770
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad660]
call ebx
test eax, eax
je 0x40d78b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d78d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040433c
mov esp, ebp
pop ebp
ret
Function at 0x405cbb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c60c], 0
push esi
jne 0x405cf2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405ccc
mov dword [ecx*4 + 0x42c608], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d23
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c608]
xor eax, esi
inc ecx
dec edx
jne 0x405d05
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x403e59
pop dword [ebp - 0xc]
mov eax, 0x4211f7cf
add eax, 0xbe2e468a
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x968ffdab
sub dword [ebp - 0x1c], 0x483db860
mov dword [ebp - 0x18], 0xbde9bff2
add dword [ebp - 0x18], 0x74498c53
mov dword [ebp - 0x14], 0x196e4c10
add dword [ebp - 0x14], 0x32ddf81e
mov dword [ebp - 0x10], 0xd7cdbfc4
add dword [ebp - 0x10], 0x2832403c
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x53616b71
add eax, 0xacdf04f3
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x52a2df02
add dword [ebp - 0x1c], 0x21cf8a54
mov dword [ebp - 0x18], 0x147bc0a7
add dword [ebp - 0x18], 0x2cf0a0ce
mov dword [ebp - 0x14], 0x1d791b7c
sub dword [ebp - 0x14], 0xba09af10
mov dword [ebp - 0x10], 0x788f3b64
add dword [ebp - 0x10], 0x8770c49c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xadc34a90
add eax, 0x527d2618
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3b7ed
push 0
call eax
mov ecx, 0xb461a5e1
add ecx, 0x4b9eb51d
mov esi, eax
mov edi, 0x410000
add edi, dword [ebp - 0xc]
mov edx, 0x2b7f8c6e
sub edx, 0xb4ce399c
mov ebx, dword [edi]
sub dword [ebp - 8], edi
sub ebx, edx
xor dword [ebp - 8], ebx
mov dword [esi], ebx
xor dword [ebp - 8], 0xc0225acf
add esi, 4
add edi, 4
loop 0x403f75
add eax, 0x20fc8014
add eax, 0xdf04deb7
mov ebx, eax
add eax, 5
mov ecx, 0xe588eccf
sub ecx, 0xe548eccf
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x404710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7d59
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4f9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov byte [0x4fc8f0], 1
sub esp, 0x1c
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x18], esp
mov dword [esi], vtable.MsgBase.0
mov dword [esi + 4], 0
push 0x4d2bd8
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
push str.m_i_mark
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
movzx eax, byte [0x4fc6cc]
lea ecx, [ebp - 0xd]
push 4
push 0x4fc6c0
push eax
mov byte [ebp - 4], 0
call fcn.00404500
sub esp, 0x1c
mov dword [esi + 0xc], 0
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4d2bd8
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
sub esp, 0x1c
mov byte [ebp - 4], 2
mov ecx, esp
push str.m_i_type
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
movzx eax, byte [0x4fc6cc]
lea ecx, [ebp - 0xd]
push 0xc
push 0x4fc6c0
push eax
mov byte [ebp - 4], 0
call fcn.00404500
lea eax, [esi + 0x14]
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 4]
mov dword [eax], vtable.LString.0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
push eax
mov byte [ebp - 4], 3
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b9c
call fcn.00409940
lea eax, [esi + 0x30]
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 4]
mov dword [eax], vtable.LString.0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
push eax
mov byte [ebp - 4], 5
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b9c
call fcn.00409940
mov byte [0x4fc6cc], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a4c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.XNewLookUI.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x40a4f4
mov esi, dword [edi]
call dword [sym.imp.XNewLookUI.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageWnd::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x40a4f4
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.XNewLookUI.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x40a510
call dword [sym.imp.XNewLookUI.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.XNewLookUI.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x40a512
xor esi, esi
push 0x2800
call fcn.0047d36c
add esp, 4
mov edi, eax
push 0x5000
call fcn.0047d36c
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.XNewLookUI.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageWnd::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004098c0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x40a580
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0047d377
add esp, 4
test esi, esi
je 0x40a5d5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40a5d5
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:cleanmoonpc_windows_software3rdpart_soui_setoutsoft_soui_master_soui_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.0047d377
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.0047d36c
add esp, 4
mov esi, eax
push 0x20e
push str.d:cleanmoonpc_windows_software3rdpart_soui_setoutsoft_soui_master_soui_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00409920
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0047d377
add esp, 4
push edi
call fcn.0047d377
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4102c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.XNewLookUI.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x4102f4
mov esi, dword [edi]
call dword [sym.imp.XNewLookUI.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageButton::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x4102f4
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.XNewLookUI.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x410310
call dword [sym.imp.XNewLookUI.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.XNewLookUI.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x410312
xor esi, esi
push 0x2800
call fcn.0047d36c
add esp, 4
mov edi, eax
push 0x5000
call fcn.0047d36c
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.XNewLookUI.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageButton::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004098c0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x410380
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0047d377
add esp, 4
test esi, esi
je 0x4103d5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4103d5
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:cleanmoonpc_windows_software3rdpart_soui_setoutsoft_soui_master_soui_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.0047d377
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.0047d36c
add esp, 4
mov esi, eax
push 0x20e
push str.d:cleanmoonpc_windows_software3rdpart_soui_setoutsoft_soui_master_soui_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00409920
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0047d377
add esp, 4
push edi
call fcn.0047d377
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x413bb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x153c
call fcn.004b3620
mov eax, dword [0x4f9008]
xor eax, esp
mov dword [esp + 0x1538], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x114
push ebx
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], esi
call fcn.004773d0
add esp, 0xc
mov dword [esp + 0x18], 0x114
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 2
jne 0x413c1e
mov ecx, esi
call fcn.00413560
jmp 0x413d3f
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x413d3b
push 0x100
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x413c5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nERROR:_Could_not_SetPriorityClass__LastError:__d_n
call fcn.004132e0
add esp, 8
push 0x100c
lea eax, [esp + 0x134]
push 0
push eax
call fcn.004773d0
add esp, 0xc
push 0
push 0x4000000
push 0
push 0
push 0
push 0
push str..IDE21201.VXD
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x413cb7
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x13c]
push eax
push 0
push 0
push 1
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea edi, [esp + 0x13c]
cmp byte [esp + esi + 0x134], 0
je 0x413d0c
mov eax, esi
shr eax, 1
cmp byte [esp + eax + 0x130], 0
je 0x413d0c
xor eax, eax
mov edx, edi
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov dword [esp + eax*4 + 0x1140], ecx
inc eax
cmp eax, 0x100
jl 0x413ce0
lea eax, [esp + 0x1140]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004139e0
mov ebx, 1
inc esi
add edi, 0x200
cmp esi, 8
jb 0x413cc0
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0xa
jl 0x413c28
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x214]
mov eax, 0x4bda12f7
sub ecx, dword [esi + 0x210]
imul ecx
mov ecx, dword [esp + 0x1544]
sar edx, 7
pop edi
pop esi
mov eax, edx
shr eax, 0x1f
pop ebx
xor ecx, esp
add eax, edx
call fcn.00475880
mov esp, ebp
pop ebp
ret
Function at 0x413d80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push ebx
lea ebx, [eax + 0x210]
mov dword [ebp - 0xc], eax
push esi
mov esi, dword [ebx]
push edi
mov dword [ebp - 0x10], ebx
cmp esi, dword [eax + 0x214]
je 0x413e7d
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add ecx, 0xa8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
nop dword [eax]
push ecx
call ebx
push 0x4d59f4
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x4d59f4
call ebx
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x28]
push eax
call ebx
push 0x4d59f4
call ebx
push dword [ebp - 4]
call ebx
push 0x4d59f4
call ebx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x413e16
test cl, cl
je 0x413e12
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x413e16
add eax, 2
add edi, 2
test cl, cl
jne 0x413df6
xor eax, eax
jmp 0x413e1b
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 4]
test eax, eax
jne 0x413e59
mov edx, dword [ebp + 8]
mov ecx, edi
lea eax, [edx + 0x28]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413e50
test dl, dl
je 0x413e4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413e50
add eax, 2
add ecx, 2
test dl, dl
jne 0x413e30
xor eax, eax
jmp 0x413e55
sbb eax, eax
or eax, 1
test eax, eax
je 0x413ed2
mov eax, dword [ebp - 0xc]
add esi, 0x1b0
mov ecx, dword [ebp - 8]
add edi, 0x1b0
mov dword [ebp - 4], edi
cmp esi, dword [eax + 0x214]
jne 0x413dc0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
lea ecx, [esi + 0xa8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413e90
sub ecx, edx
je 0x413ed2
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x413ebe
mov edi, eax
mov ecx, 0x6c
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x1b0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push eax
mov ecx, ebx
call fcn.00413ee0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418750
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
test esi, esi
jne 0x418790
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x4187a5
or eax, 0xffffffff
jmp 0x418930
push 8
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0xb
push esi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4187ca
mov eax, 0xfffffffe
jmp 0x418930
lea eax, [ebp - 0x1c]
push eax
call fcn.00486528
mov edi, eax
add esp, 4
test edi, edi
je 0x41892b
cmp edi, 0xfde8
je 0x41892b
cmp edi, 0xfde9
je 0x41892b
movzx eax, di
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41892b
push 0x40
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.004773d0
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004773d0
mov eax, 0x814
add esp, 0x18
xorps xmm0, xmm0
cmp si, ax
movups xmmword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x6c]
jne 0x418871
push str.Norwegian_Nynorsk
push 0x40
push eax
call fcn.004866c6
add esp, 0xc
push 0x40
lea eax, [ebp - 0xac]
push eax
push 0x1002
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41888e
mov eax, 0xfffffffb
jmp 0x418930
push 0x40
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41884e
mov eax, 0xfffffffc
jmp 0x418930
push 0xa
push 0x10
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0047d2a9
push 0x400
lea eax, [ebp - 0x4ac]
push 0
push eax
call fcn.004773d0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x6c]
push eax
push str._s__s._s_n
lea eax, [ebp - 0x4ac]
push 0x3fc
push eax
call fcn.0040a7a0
add esp, 0x30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4ac]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.00414770
push eax
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 1
push eax
call fcn.004a0a96
add esp, 8
lea ecx, [ebp - 0x4b4]
call fcn.00414860
lea ecx, [ebp - 0x4bc]
call fcn.00414860
xor eax, eax
jmp 0x418930
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
Function at 0x419450
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e77
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x4f9008]
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, dword [ebp + 8]
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x834], esi
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_fix_to_path_slash_void_
push 0x802
lea eax, [ebp - 0x814]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004773d0
add esp, 0xc
lea ecx, [ebp - 0x814]
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esi], vtable.LString.0
lea edx, [esi + 4]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
test eax, eax
je 0x419528
xor eax, eax
mov word [edx], ax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 1
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419510
sub ecx, edi
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
jmp 0x419555
xor eax, eax
mov word [edx], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x82c]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp edx, eax
je 0x41955d
cmp dword [ebp - 0x818], 8
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
mov ecx, edx
call fcn.00409940
lea ecx, [ebp - 0x830]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
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.00475880
mov esp, ebp
pop ebp
ret 4