Function at 0x430510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4625ee
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x564]
mov dword fs:[0], eax
mov eax, dword [esp + 0x574]
lea ecx, [esp + 0xb4]
mov dword [esp + 0x28], eax
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__::constructor_void_]
xor ebp, ebp
lea ecx, [esp + 0x108]
mov dword [esp + 0x56c], ebp
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__::constructor_void_]
lea ecx, [esp + 0xec]
mov byte [esp + 0x56c], 1
mov esi, 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_]
push 0x3ef
push ecx
call esi
lea edx, [esp + 0xd8]
push 0x3f5
push edx
mov byte [esp + 0x57c], 2
call esi
add esp, 0x10
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x56c], 4
xor ebx, ebx
cmp dword [esp + 0xe4], ebp
jle 0x4306cb
lea esp, [esp]
push ebx
lea ecx, [esp + 0xd4]
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 0x430651
mov esi, dword [esp + 0x18]
cmp esi, ebp
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebp
je 0x430627
mov ecx, dword [esp + 0x20]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 1
sar ecx, 1
cmp eax, ecx
jae 0x430627
mov eax, edx
add eax, 2
mov word [edx], bp
mov dword [esp + 0x1c], eax
jmp 0x4306b3
cmp esi, edx
mov edi, edx
jbe 0x430633
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [esp + 0x24]
call fcn.00431a50
jmp 0x4306af
push ebx
lea ecx, [esp + 0xd4]
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 esi, dword [esp + 0x18]
cmp esi, ebp
mov edx, dword [esp + 0x1c]
mov edi, eax
je 0x430690
mov ecx, dword [esp + 0x20]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 1
sar ecx, 1
cmp eax, ecx
jae 0x430690
mov cx, word [edi]
mov eax, edx
add eax, 2
mov word [edx], cx
mov dword [esp + 0x1c], eax
jmp 0x4306b3
cmp esi, edx
mov ebp, edx
jbe 0x43069c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
lea eax, [esp + 0x18]
push eax
push edi
lea edx, [esp + 0x38]
push edx
call fcn.00431a50
xor ebp, ebp
mov eax, dword [esp + 0x1c]
add ebx, 1
cmp ebx, dword [esp + 0xe4]
jl 0x4305e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp edx, ebp
mov dword [esp + 0x24], ebp
je 0x4306ed
mov esi, eax
sub esi, edx
sub ecx, edx
sar esi, 1
sar ecx, 1
cmp esi, ecx
jae 0x4306ed
lea edx, [eax + 2]
mov word [eax], bp
mov dword [esp + 0x1c], edx
jmp 0x430716
cmp edx, eax
mov esi, eax
jbe 0x4306f9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea eax, [esp + 0x24]
call fcn.00431a50
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, ebp
mov dword [esp + 0x24], ebp
je 0x430742
mov ecx, dword [esp + 0x20]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 1
sar ecx, 1
cmp eax, ecx
jae 0x430742
mov eax, edx
add eax, 2
mov word [edx], bp
mov dword [esp + 0x1c], eax
jmp 0x430767
cmp esi, edx
mov edi, edx
jbe 0x43074e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
call fcn.00431a50
push 0x206
lea ecx, [esp + 0x35a]
push ebp
push ecx
mov word [esp + 0x360], bp
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x34], 0x58
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
push ebp
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4307b8
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 1
jne 0x4307c2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ebx, 8
cmp dword [esp + 0x104], ebx
lea eax, [esp + 0x354]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
jb 0x43080c
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x64], ecx
jmp 0x430817
lea edx, [esp + 0xf0]
mov dword [esp + 0x64], edx
mov eax, dword [sym.imp.K8Common.dll_public:_static_int___stdcall_GameMgr::GMShellUtils::OFNCenterWindow_struct_HWND_____unsigned_int__unsigned_int__long_int_]
xor ebp, ebp
mov dword [esp + 0x78], eax
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x6c], 0x881020
mov word [esp + 0x70], bp
mov word [esp + 0x72], bp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x4309e1
lea eax, [esp + 0x354]
push eax
lea ecx, [esp + 0xb8]
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 [esp + 0xc8], ebp
jne 0x4308ad
mov byte [esp + 0x56c], 3
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x430a05
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
push ecx
jmp 0x4309fa
cmp dword [esp + 0xcc], ebx
mov eax, dword [esp + 0xb8]
jae 0x4308c4
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMMouseRecorder::ValidateFile_wchar_t_const__]
add esp, 4
test al, al
je 0x430917
cmp dword [esp + 0xcc], ebx
mov eax, dword [esp + 0xb8]
jae 0x4308e9
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMMouseRecorder::SetFileName_wchar_t_const__]
mov ecx, dword [esp + 0x2c]
add dword [ecx + 0x230], 1
mov eax, dword [ecx + 0x230]
movzx edx, byte [ecx + 0x22c]
add esp, 4
push eax
push edx
call fcn.00430aa0
jmp 0x4309e1
mov esi, 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_]
lea eax, [esp + 0x90]
push 0x46c
push eax
call esi
add esp, 8
push eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x570], 5
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x90]
mov byte [esp + 0x56c], 4
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 ecx, [esp + 0x90]
push 0x3fb
push ecx
call esi
add esp, 8
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x108]
push edx
push eax
push 3
push 4
lea eax, [esp + 0x134]
mov byte [esp + 0x57c], 6
mov edi, dword [ecx + 4]
push eax
call fcn.0042e930
lea ecx, [esp + 0x90]
mov byte [esp + 0x56c], bl
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 ecx, [esp + 0x124]
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMWindowWnd::ShowModal_void_]
mov byte [esp + 0x56c], 4
lea ecx, [esp + 0x124]
mov dword [esp + method.GameMgr::GMAddUserDlg.virtual_0], vtable.GameMgr::GMMessageDlg.0
mov dword [esp + method.GameMgr::GMMessageDlg.1.virtual_0], vtable.GameMgr::GMMessageDlg.1.0
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMWindowImplBase::destructor_void_]
mov byte [esp + 0x56c], 3
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x430a05
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 1
push edx
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 + 0xd0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x56c], 2
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 ecx, [esp + 0xec]
mov byte [esp + 0x56c], 1
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 ecx, [esp + 0x108]
mov byte [esp + 0x56c], 0
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 ecx, [esp + 0xb4]
mov dword [esp + 0x56c], 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_]
mov ecx, dword [esp + 0x564]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0045d098
add esp, 0x55c
ret 4