Function at 0x4014c0
Capabilities:
Enumerate processes
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x9f8
mov eax, dword [0x6540c0]
xor eax, esp
mov dword [esp + 0x9f4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push str.2F60BE52_871A_4EE6_AB8A_74066AB72FB5
push 0
push 0x1f0003
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x40151f
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x9f4]
xor ecx, esp
call fcn.0043928a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
mov dword [esp + 0x580], 0
xorps xmm0, xmm0
mov dword [esp + 0x584], 0
movaps xmmword [esp + 0x570], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401545
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x578]
call fcn.004027e0
cmp dword [esp + 0x580], 0
jne 0x401584
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffffe
jmp 0x401752
push 1
xorps xmm0, xmm0
mov dword [esp + 0x524], 0
push 0x645e04
lea ecx, [esp + 0x518]
movaps xmmword [esp + 0x518], xmm0
mov dword [esp + 0x52c], 0
call fcn.004027e0
lea eax, [esp + 0x510]
push eax
lea edx, [esp + 0x574]
lea ecx, [esp + 0x34]
call fcn.0040a740
mov ecx, dword [esp + 0x528]
add esp, 4
cmp ecx, 7
jbe 0x401615
mov edx, dword [esp + 0x510]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40160b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402374
push ecx
push edx
call fcn.004392c8
add esp, 8
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x4016c2
nop
push edi
lea ecx, [esp + 0x4f4]
call fcn.00402580
cmp dword [esp + 0x504], 7
lea ecx, [esp + 0x4f0]
mov esi, dword [esp + 0x4f0]
mov edx, dword [esp + 0x500]
cmova ecx, esi
push 6
push 0x645e08
push 0
call fcn.00402750
add esp, 0xc
test eax, eax
je 0x401797
mov eax, dword [esp + 0x504]
cmp eax, 7
jbe 0x4016b1
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4016a7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402392
push ecx
push esi
call fcn.004392c8
add esp, 8
add edi, 0x18
cmp edi, dword [esp + 0x18]
jne 0x401630
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0xfffffffd
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40174e
mov edx, dword [esp + 0x34]
push ecx
call fcn.00402880
mov ecx, dword [esp + 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x34]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40172c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402374
push ecx
push esi
call fcn.004392c8
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x584]
cmp ecx, 7
jbe 0x40235c
mov edx, dword [esp + 0x570]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402352
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402374
jmp 0x402352
mov eax, dword [esp + 0x500]
xorps xmm0, xmm0
movaps xmmword [esp + 0x530], xmm0
mov dword [esp + 0x540], 0
mov dword [esp + 0x544], 0
cmp eax, 6
jb 0x402379
add eax, 0xfffffffa
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esp + 0x504], 7
lea eax, [esp + 0x4f0]
cmova eax, esi
push ecx
add eax, 0xc
lea ecx, [esp + 0x534]
push eax
call fcn.004027e0
cmp dword [esp + 0x540], 0
je 0x401856
call fcn.00494618
cmp dword [esp + 0x544], 7
lea esi, [esp + 0x530]
mov dword [esp + 0x20], eax
cmova esi, dword [esp + 0x530]
mov dword [eax], 0
lea eax, [esp + 0x18]
push 0xa
push eax
push esi
call fcn.00494263
add esp, 0xc
mov edi, eax
mov dword [esp + 0x1c], edi
cmp esi, dword [esp + 0x18]
je 0x40237e
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x22
je 0x402388
jmp 0x401858
xor edi, edi
mov ecx, dword [esp + 0x544]
cmp ecx, 7
jbe 0x40189a
mov edx, dword [esp + 0x530]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401890
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402392
push ecx
push edx
call fcn.004392c8
add esp, 8
mov ecx, dword [esp + 0x504]
xor eax, eax
mov dword [esp + 0x540], 0
mov dword [esp + 0x544], 7
mov word [esp + 0x530], ax
cmp ecx, 7
jbe 0x4018fc
mov edx, dword [esp + 0x4f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4018f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402392
push ecx
push edx
call fcn.004392c8
add esp, 8
test edi, edi
jle 0x4016be
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
je 0x401946
lea eax, [esp + 0x5c0]
mov dword [esp + 0x5c0], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x401961
push esi
call edi
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call edi
mov dword [esp + 0x14], 0xfffffffc
jmp 0x4016d8
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x5c8], eax
je 0x40197f
lea eax, [esp + 0x5c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x40193f
push esi
call edi
mov eax, dword [esp + 0x5d8]
test eax, eax
je 0x401946
cmp dword [esp + 0x1c], eax
je 0x4019ae
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call edi
mov dword [esp + 0x14], 0xfffffffb
jmp 0x4016d8
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4019ec
xorps xmm0, xmm0
mov dword [esp + 0x500], 0
push 0
movaps xmmword [esp + 0x4f4], xmm0
mov dword [esp + 0x508], 0
push 0x646054
jmp 0x401a75
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x401a10
push esi
call edi
jmp 0x4019bf
mov eax, dword [esp + 0x5d8]
cmp dword [esp + 0x50], eax
je 0x401a32
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401a10
push esi
call edi
jmp 0x4019bf
push esi
call edi
xorps xmm0, xmm0
mov dword [esp + 0x500], 0
lea ecx, [esp + 0x6c]
movaps xmmword [esp + 0x4f0], xmm0
mov dword [esp + 0x504], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401a60
sub ecx, edx
lea eax, [esp + 0x6c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x4f8]
call fcn.004027e0
mov edx, dword [esp + 0x500]
test edx, edx
jne 0x401aa7
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call edi
mov dword [esp + 0x14], 0xfffffffa
jmp 0x40230b
cmp dword [esp + 0x504], 7
lea ecx, [esp + 0x4f0]
push 6
cmova ecx, dword [esp + 0x4f4]
push str.DD.exe
call fcn.004026e0
mov esi, dword [esp + 0x1c]
add esp, 8
push esi
test eax, eax
je 0x401aec
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call edi
mov dword [esp + 0x14], 0xfffffff9
jmp 0x40230b
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call edi
push 0
call fcn.0049462b
add esp, 4
mov dword [esp + 0x44], edx
push eax
call fcn.00492c54
add esp, 4
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x208
lea eax, [esp + 0x7f4]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [esp + 0x7f0]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x7f0]
push 0x5c
push eax
call fcn.0048f1db
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x7f0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x1088
call fcn.00439298
mov edi, eax
xor ecx, ecx
xor eax, eax
add esp, 4
mov word [edi + 0x218], cx
mov word [edi + 0xc68], cx
lea ecx, [edi + 0x1080]
mov dword [edi], 0
mov dword [edi + 4], 0
mov word [edi + 8], ax
mov dword [edi + 0x210], eax
mov dword [edi + 0x214], eax
mov dword [edi + 0x420], eax
mov dword [edi + 0x424], eax
mov word [edi + 0x428], ax
mov dword [edi + 0x630], eax
mov dword [edi + 0x634], eax
mov word [edi + 0x638], ax
mov dword [edi + 0x840], eax
mov dword [edi + 0x844], eax
mov word [edi + 0x848], ax
mov dword [edi + 0xa50], eax
mov dword [edi + 0xa54], eax
mov word [edi + 0xa58], ax
mov dword [edi + 0xc60], eax
mov dword [edi + 0xc64], eax
mov dword [edi + 0xe70], eax
mov dword [edi + 0xe74], eax
mov word [edi + 0xe78], ax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
lea esi, [edi + 0x1084]
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
push str.imgdecoder_gdip
lea ecx, [edi + 0x1080]
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__]
xorps xmm0, xmm0
mov dword [esp + 0x560], 0
lea ecx, [esp + 0x7f0]
movaps xmmword [esp + 0x550], xmm0
mov dword [esp + 0x564], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401c65
sub ecx, edx
lea eax, [esp + 0x7f0]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x558]
call fcn.004027e0
mov ecx, dword [esp + 0x560]
mov eax, bind
sub eax, ecx
cmp eax, 4
jb 0x402397
cmp dword [esp + 0x564], 7
lea eax, [esp + 0x550]
push 4
cmova eax, dword [esp + 0x554]
push str._bin
push ecx
push eax
push ecx
push dword [esp + 0x40]
lea ecx, [esp + 0x528]
call fcn.00402910
cmp dword [esp + 0x524], 7
lea eax, [esp + 0x510]
lea ecx, [esp + 0x1c]
cmova eax, dword [esp + 0x510]
push eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
mov eax, dword [esi]
cmp dword [eax - 8], 0
je 0x401d47
push 1
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Right_int_]
push 0x645ce4
mov ecx, eax
call dword [sym.imp.utilities.dll_public:_int___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Compare_wchar_t_const__const]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
test esi, esi
lea esi, [edi + 0x1084]
je 0x401d47
push 0x645ce4
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__]
lea ecx, [esp + 0x1c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov ecx, dword [esp + 0x524]
cmp ecx, 7
jbe 0x401d93
mov edx, dword [esp + 0x510]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40239c
push ecx
push edx
call fcn.004392c8
add esp, 8
mov ecx, dword [esp + 0x564]
xor eax, eax
mov dword [esp + 0x520], 0
mov dword [esp + 0x524], 7
mov word [esp + 0x510], ax
cmp ecx, 7
jbe 0x401df5
mov edx, dword [esp + 0x550]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401deb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40239c
push ecx
push edx
call fcn.004392c8
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov esi, dword [esi]
push str.render_skia.dll
push str.render_skia.dll
call dword [sym.imp.utilities.dll_public:_static_int___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::SafeStrlen_wchar_t_const__]
add esp, 4
lea ecx, [esp + 0x18]
push eax
push dword [edi + 0x1084]
push dword [esi - 8]
call dword [sym.imp.utilities.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
push ecx
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
lea ecx, [edi + 0x210]
call fcn.00401260
lea ecx, [esp + 0x14]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov esi, dword [edi + 0x1080]
push 0x645ce8
push 0x645ce8
call dword [sym.imp.utilities.dll_public:_static_int___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::SafeStrlen_wchar_t_const__]
add esp, 4
lea ecx, [esp + 0x1c]
push eax
push dword [edi + 0x1080]
push dword [esi - 8]
call dword [sym.imp.utilities.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x1084]
push eax
push dword [eax - 8]
push ecx
push dword [ecx - 8]
lea ecx, [esp + 0x24]
call dword [sym.imp.utilities.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
push ecx
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push dword [esp + 0x1c]
call fcn.00401260
lea ecx, [esp + 0x14]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xe8
call fcn.00439298
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x44]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
push 0
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SObjectDefaultRegister::constructor_void_]
push eax
push str.SOUIHOST
push dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SApplication::constructor_struct_SOUI::IRenderFactory___struct_HINSTANCE_____wchar_t_const___struct_SOUI::ISystemObjectRegister_const___int_]
lea ecx, [esi + 4]
mov dword [esi], vtable.SOUI::SApplication.1.0
push 0
lea eax, [esp + 0x1c]
mov dword [ecx], vtable.SOUI::SApplication.0
mov dword [esp + 0x1c], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinVScrollbar_.0
push eax
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory___bool_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov esi, dword [edi + 0x1084]
push str.resprovider_7zip.dll
push str.resprovider_7zip.dll
call dword [sym.imp.utilities.dll_public:_static_int___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::SafeStrlen_wchar_t_const__]
add esp, 4
lea ecx, [esp + 0x1c]
push eax
push dword [edi + 0x1084]
push dword [esi - 8]
call dword [sym.imp.utilities.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
push ecx
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x20]
lea ecx, [edi + 0xc60]
call fcn.00401260
lea ecx, [esp + 0x18]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x510]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x514], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x510], 1
mov dword [esp + 0x528], 0
mov dword [esp + 0x518], eax
mov dword [esp + 0x51c], 0x73
mov dword [esp + 0x520], 0x645e4c
mov dword [esp + 0x524], 0x645e3c
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0xc]
mov esi, dword [esp + 0x14]
push str.uidef:xml_init
push dword [esp + 0x24]
lea ecx, [esi + 0x10]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SResProviderMgr::AddResProvider_struct_SOUI::IResProvider___wchar_t_const__]
push dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
push str.LAYOUT:XML_MAINWND
lea ecx, [esp + 0x4c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SHostWnd::constructor_wchar_t_const__]
lea ecx, [esp + 0x3dc]
mov dword [esp + 0x48], vtable.SOUI::CMainDlg.1.0
mov dword [esp + 0x4c], vtable.SOUI::CMainDlg.4.0
mov dword [esp + 0x50], vtable.SOUI::CMainDlg.0
mov dword [esp + 0x54], vtable.SOUI::CMainDlg.3.0
mov dword [esp + method.SOUI::CMainDlg.2.virtual_0], vtable.SOUI::CMainDlg.2.0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
lea ecx, [esp + 0x3e0]
call fcn.00403390
xor eax, eax
mov dword [esp + 0x490], 0
xorps xmm0, xmm0
mov dword [esp + 0x4c4], eax
movups xmmword [esp + 0x480], xmm0
mov word [esp + 0x480], ax
lea ecx, [esp + 0x3dc]
mov byte [esp + 0x4c8], al
mov dword [esp + 0x4cc], eax
mov dword [esp + 0x4d0], eax
mov byte [esp + 0x4d4], al
mov dword [esp + 0x4e8], eax
mov dword [esp + 0x3d4], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x498], 7
movq qword [esp + 0x49c], xmm0
movups xmmword [esp + 0x4dc], xmm0
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
push 0
push 0x646054
lea ecx, [esp + 0x488]
call fcn.00403f90
movzx eax, byte [esp + 0x38]
lea ecx, [esp + 0x598]
mov byte [esp + 0x5a8], al
movzx eax, byte [esp + 0x39]
mov byte [esp + 0x5a9], al
lea eax, [esp + 0x48]
mov dword [esp + 0x5ac], eax
lea eax, [esp + 0x598]
mov dword [esp + 0x5bc], eax
lea eax, [esp + 0x4a0]
push eax
mov byte [esp + 0x4cc], 0
mov dword [esp + 0x4d0], 0
mov dword [esp + 0x4d4], 0
mov dword [esp + 0x59c], 0x6463f0
mov dword [esp + 0x5a4], 0x403bb0
mov dword [esp + 0x5a8], 0
call fcn.00404660
mov ecx, dword [esp + 0x5bc]
test ecx, ecx
je 0x4021c4
mov edx, dword [ecx]
lea eax, [esp + 0x598]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [esp + 0x28]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.soui.dll_public:_struct_HWND______thiscall_SOUI::SHostWnd::Create_struct_HWND_____int__int__int__int_]
push 0
push 0
push 0x110
lea ecx, [esp + 0x290]
call dword [sym.imp.soui.dll_public:_long_int___thiscall_SOUI::CSimpleWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
push dword [esp + 0x290]
lea ecx, [esp + 0x288]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::CenterWindow_struct_HWND____]
push 0
lea ecx, [esp + 0x288]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ShowWindow_int_]
push dword [esp + 0x290]
mov ecx, esi
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SApplication::Run_struct_HWND____]
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], eax
call fcn.00403670
lea ecx, [esp + 0x18]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40225b
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x402268
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x402275
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x1084]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [edi + 0x1080]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [edi + 0xe70]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x4022a0
push eax
call esi
mov eax, dword [edi + 0xc60]
test eax, eax
je 0x4022ad
push eax
call esi
mov eax, dword [edi + 0xa50]
test eax, eax
je 0x4022ba
push eax
call esi
mov eax, dword [edi + 0x840]
test eax, eax
je 0x4022c7
push eax
call esi
mov eax, dword [edi + 0x630]
test eax, eax
je 0x4022d4
push eax
call esi
mov eax, dword [edi + 0x420]
test eax, eax
je 0x4022e1
push eax
call esi
mov eax, dword [edi + 0x210]
test eax, eax
je 0x4022ee
push eax
call esi
mov eax, dword [edi]
test eax, eax
je 0x4022f7
push eax
call esi
push 0x1088
push edi
call fcn.004392c8
add esp, 8
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [esp + 0x504]
cmp eax, 7
jbe 0x4016d8
mov edx, dword [esp + 0x4f0]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402343
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402374
push ecx
push edx
call fcn.004392c8
add esp, 8
jmp 0x4016d8
push ecx
push edx
call fcn.004392c8
add esp, 8
mov ecx, dword [esp + 0x9fc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0043928a
mov esp, ebp
pop ebp
ret 0x10
call fcn.0049452a
call fcn.004026d0
push str.invalid_stoi_argument
call fcn.00437b6c
push str.stoi_argument_out_of_range
call fcn.00437bac
call fcn.0049452a
call fcn.004012e0
call fcn.0049452a
int3