Function at 0x43d970
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463923
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x17c]
mov dword [esp + 0x28], ebx
call edx
add eax, 0xffffff9a
cmp eax, 5
ja case.0x43d9d1.103
jmp dword [eax*4 + 0x43dd04]
xor edi, edi
push edi
lea esi, [esp + 0xc4]
call fcn.0043e030
add esp, 4
mov eax, esi
push eax
mov dword [esp + 0x2fc], edi
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::IsDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
je 0x43da2a
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x43da19
lea eax, [esp + 0xc4]
push 5
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x2f8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x43d9d1.103
xor edi, edi
push 0x206
lea ecx, [esp + 0xe2]
push edi
push ecx
mov word [esp + 0xe8], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea esi, [esp + 0x8c]
call fcn.0043e160
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x43da82
mov eax, dword [eax + 4]
jmp 0x43da85
add eax, 4
push eax
lea edx, [esp + 0xe0]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0xa4]
push 0x48d
push eax
call dword [sym.imp.K8UIRender.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::LoadStr_unsigned_int_]
add esp, 8
mov dword [esp + 0x2f8], 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
xor esi, esi
mov byte [esp + 0x2f8], 2
cmp dword [esp + 0xb8], edi
mov dword [esp + 0x24], esi
jle 0x43db3f
jmp 0x43daf4
mov esi, dword [esp + 0x24]
push esi
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x7c
jne 0x43db12
mov dword [esp + 0x10], edi
lea ebx, [esp + 0x10]
jmp 0x43db22
push esi
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
mov ebx, eax
lea esi, [esp + 0x14]
call fcn.004319f0
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
jl 0x43daf0
lea ebx, [esp + 0x10]
lea esi, [esp + 0x14]
mov dword [esp + 0x10], edi
call fcn.004319f0
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.004319f0
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 4]
push edi
mov dword [esp + 0x30], 0x58
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x43db8d
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 1
jne 0x43db97
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov ecx, dword [sym.imp.K8Common.dll_public:_static_int___stdcall_GameMgr::GMShellUtils::OFNCenterWindow_struct_HWND_____unsigned_int__unsigned_int__long_int_]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x70], ecx
lea ecx, [esi + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x104
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0x81820
mov word [esp + 0x64], di
mov word [esp + 0x66], di
mov dword [esp + 0x68], str..jpg
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMPaintManager::Invalidate_void_]
mov ecx, dword [esi + 0x210]
push edi
push edi
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
jne 0x43dc7c
mov byte [esp + 0x2f8], 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x43dc56
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2f8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x43d9d1.103
lea edx, [esp + 0xdc]
push edx
lea ecx, [esi + 0x218]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esi + 0x22c], edi
je 0x43dc32
push edi
push edi
push 0x10
mov ecx, esi
mov dword [esi + 0x234], 0x68
call dword [sym.imp.K8UIRender.dll_public:_long_int___thiscall_GameMgr::GMWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
jmp 0x43dc32
mov dword [ebx + 0x234], 0x6a
jmp 0x43dccf
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x17c]
call eax
mov dword [ebx + 0x234], eax
xor edi, edi
push edi
push edi
push 0x10
mov ecx, ebx
call dword [sym.imp.K8UIRender.dll_public:_long_int___thiscall_GameMgr::GMWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.0045d098
mov esp, ebp
pop ebp
ret