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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x575936
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCP120.dll__Xtime_get_ticks]
push 0x100
mov dword [ebx + 0x688], eax
lea eax, [esp + 0xa0]
push 0
push eax
mov dword [ebx + 0x68c], edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x9c]
push 0x80
push str.player_window
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x9c]
push eax
call fcn.0051b100
mov edx, eax
add esp, 4
test edx, edx
jne 0x4d0447
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.0051a210
lea eax, [esp + 0xa4]
push eax
call fcn.0051b100
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
cmp word [edx], ax
jne 0x4d0467
xor ecx, ecx
jmp 0x4d047f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d0470
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.0040be00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x1b8], 0
push eax
mov ecx, 0x5e2aa0
call fcn.0040ba20
mov dword [esp + 0x1b0], 0xffffffff
cmp dword [esp + 0x38], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4d04c9
push dword [esp + 0x24]
call esi
add esp, 4
push 1
push 0
push 0
push 0
lea edi, [ebx + 0x2c]
push 0xc
push 0x5a5088
mov ecx, edi
mov dword [esp + 0x34], edi
call fcn.0051f420
push 1
push 0
push 0
push 0
push 0xc
push 0x5a5088
push 0
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0xe
push 0x5a5088
push 1
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x10
push 0x5a5088
push 2
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x12
push 0x5a5088
push 3
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x14
push 0x5a5088
push 4
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x16
push 0x5a5088
push 5
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x18
push 0x5a5088
push 6
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x1c
push 0x5a5088
push 7
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x20
push 0x5a5088
push 8
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x24
push 0x5a5088
push 9
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x28
push 0x5a5088
push 0xa
mov ecx, edi
call fcn.00519a50
push 1
push 0
push 0
push 0
push 0x2c
push 0x5a5088
push 0xb
mov ecx, edi
call fcn.00519a50
push str.titlename
mov ecx, edi
call fcn.0051a540
mov ecx, dword [ebx + 0x528]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x3c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov dword [esp + 0x1b0], 1
mov ecx, dword [ebx + 0x528]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea eax, [esp + 0x58]
mov ecx, 0x5e2418
push eax
call fcn.0043c910
cmp dword [eax + 0x10], 0
setne al
cmp dword [esp + 0x68], 8
mov byte [esp + 0x13], al
jb 0x4d066b
push dword [esp + 0x54]
call esi
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x4d06d5
mov ecx, dword [ebx + 0x528]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea eax, [esp + 0x58]
mov ecx, 0x5e2418
push eax
call fcn.0043c910
mov edi, eax
lea eax, [esp + 0x3c]
cmp eax, edi
je 0x4d06c5
cmp dword [esp + 0x50], 8
jb 0x4d06a4
push dword [esp + 0x3c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.00410370
cmp dword [esp + 0x68], 8
jb 0x4d06d5
push dword [esp + 0x54]
call esi
add esp, 4
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
mov ecx, ebx
cmovae eax, dword [esp + 0x3c]
push eax
call fcn.00521870
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str._v_xcenter__f_1_
lea edx, [esp + 0x40]
lea ecx, [esp + 0x88]
call fcn.0041e320
add esp, 4
push str.3.104
mov edx, eax
mov byte [esp + 0x1b4], 2
lea ecx, [esp + 0x58]
call fcn.0041def0
add esp, 4
push str.__f___v_
mov edx, eax
mov byte [esp + 0x1b4], 3
lea ecx, [esp + 0x70]
call fcn.0041def0
mov edi, eax
add esp, 4
lea eax, [esp + 0x3c]
cmp eax, edi
je 0x4d077b
cmp dword [esp + 0x50], 8
jb 0x4d075a
push dword [esp + 0x3c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.00410370
cmp dword [esp + 0x80], 8
jb 0x4d078e
push dword [esp + 0x6c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
cmp dword [esp + 0x68], 8
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
jb 0x4d07b8
push dword [esp + 0x54]
call esi
add esp, 4
xor eax, eax
mov byte [esp + 0x1b0], 1
cmp dword [esp + 0x98], 8
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x4d07ed
push dword [esp + 0x84]
call esi
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
cmp dword [esp + 0x50], 8
cmovae ecx, dword [esp + 0x3c]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x3c]
mov eax, dword [0x609b28]
test al, 1
jne 0x4d083f
or eax, 1
mov dword [0x609b28], eax
mov byte [esp + 0x1b0], 4
call fcn.00483eb0
push 0x57e610
call fcn.005601b4
mov byte [esp + 0x1b4], 1
add esp, 4
mov eax, dword [0x609b28]
mov ecx, dword [0x609b40]
test ecx, ecx
je 0x4d0860
mov edx, dword [ecx]
cmp ecx, 0x609b30
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [0x609b28]
mov dword [0x609b30], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_951f558549d2b491610acc0b5668cfbe____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [0x609b34], ebx
mov dword [0x609b40], 0x609b30
test al, 1
jne 0x4d08a8
or eax, 1
mov dword [0x609b28], eax
mov byte [esp + 0x1b0], 5
call fcn.00483eb0
push 0x57e610
call fcn.005601b4
add esp, 4
mov byte [esp + 0x1b0], 1
mov ecx, dword [0x609b58]
test ecx, ecx
je 0x4d08c4
mov edx, dword [ecx]
cmp ecx, 0x609b48
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, ebx
mov dword [0x609b48], 0x5a7a50
mov dword [0x609b4c], ebx
mov dword [0x609b58], 0x609b48
call fcn.004d99b0
mov edi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 0x90
call edi
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x1b0], 6
test esi, esi
je 0x4d0943
mov ecx, ebx
call fcn.00521870
lea ecx, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], eax
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::CHttpDownloader::constructor_void_]
mov dword [esi + 0x74], 0
xor eax, eax
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], 0
mov word [esi + 0x78], ax
jmp 0x4d0945
xor esi, esi
mov byte [esp + 0x1b0], 1
push 0xa0
mov dword [ebx + 0x534], esi
call edi
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x1b0], 7
test eax, eax
je 0x4d0978
mov ecx, eax
call fcn.00440f40
mov esi, eax
jmp 0x4d097a
xor esi, esi
mov byte [esp + 0x1b0], 1
mov eax, dword [ebx + 0x528]
mov dword [ebx + 0x538], esi
mov dword [esi + 8], eax
mov ecx, dword [0x5fbb90]
test ecx, ecx
je 0x4d09ad
mov edx, dword [ecx]
cmp ecx, 0x5fbb80
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [0x5fbb80], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_1eed8f0ebd70b3e063825829cf659b7e___0___class_std::allocator_class_std::_Func_class_void__int____void__int_.0
mov ecx, 0x5fbd90
mov dword [0x5fbb84], esi
mov dword [0x5fbb90], 0x5fbb80
push dword [ebx + 0x528]
call fcn.004475f0
call fcn.0049a170
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push str.joystickBtn
mov byte [esp + 0x18], al
call fcn.0051a540
mov esi, eax
mov ecx, ebx
push str.vLineControl
mov dword [esp + 0x1c], esi
call fcn.0051a540
push str.vLineControlSpaceLeftControl
mov ecx, ebx
call fcn.0051a540
push str.vLineControlSpaceRightControl
mov ecx, ebx
mov edi, eax
call fcn.0051a540
mov edx, dword [esi]
mov ebx, eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
call dword [edx + 0xe0]
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0xe0]
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0xe0]
mov edi, dword [esp + 0x1c]
mov ecx, edi
push str.leftbartop_small
call fcn.0051a540
mov esi, dword [esp + 0x20]
push eax
lea ecx, [esi + 0x690]
call fcn.004f0070
mov ecx, dword [0x5fc110]
test ecx, ecx
je 0x4d0a81
mov edx, dword [ecx]
cmp ecx, 0x5fc100
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [0x5fc128]
mov dword [0x5fc100], 0x5a7a30
mov dword [0x5fc104], esi
mov dword [0x5fc110], 0x5fc100
test ecx, ecx
je 0x4d0ab7
mov edx, dword [ecx]
cmp ecx, 0x5fc118
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [0x5fc140]
mov dword [0x5fc118], 0x5a7a10
mov dword [0x5fc11c], esi
mov dword [0x5fc128], 0x5fc118
test ecx, ecx
je 0x4d0aed
mov edx, dword [ecx]
cmp ecx, 0x5fc130
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [0x5fc158]
mov dword [0x5fc130], 0x5a79f0
mov dword [0x5fc134], esi
mov dword [0x5fc140], 0x5fc130
test ecx, ecx
je 0x4d0b23
mov edx, dword [ecx]
cmp ecx, 0x5fc148
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push str.titlelogo
mov ecx, edi
mov dword [0x5fc148], 0x5a79d0
mov dword [0x5fc14c], esi
mov dword [0x5fc158], 0x5fc148
call fcn.0051a540
mov esi, eax
push str.title_logo_4.png
mov ecx, esi
call fcn.00525050
push str.enlarge_title_logo_enlarge_4.png
mov ecx, esi
call fcn.00524fb0
mov edx, dword [esi]
mov ecx, esi
push 0x14
call dword [edx + 0x88]
mov eax, dword [esi]
mov ecx, esi
push 0x16
call dword [eax + 0x80]
cmp dword [esp + 0x50], 8
jb 0x4d0b8f
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret