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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515edc
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
lea esi, [ebx + 0x24]
push eax
mov dword [esi + 0x178], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x17c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
call fcn.00482400
cmp byte [ebx + 0x26c], 0
je 0x4b4926
push 0x544
call fcn.004e7d83
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0xe8], ecx
je 0x4b486e
push edi
call fcn.004ae860
mov dword [edi + 0x4f0], 2
mov dword [edi], vtable.GameMgr::GMMenu.0
mov ecx, edi
mov dword [esp + 0xe8], 0xffffffff
mov dword [ebx + 0x210], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x260]
push 0
call eax
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x12c]
push esi
call eax
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 1
push 1
call eax
mov edi, 8
cmp dword [ebx + 0x260], edi
jb 0x4b48c2
mov eax, dword [ebx + 0x24c]
jmp 0x4b48c8
lea eax, [ebx + 0x24c]
push eax
push str.Menu
mov ecx, esi
call fcn.0047dbd0
cmp dword [ebx + 0x260], edi
jb 0x4b48e5
mov ecx, dword [ebx + 0x24c]
jmp 0x4b48eb
lea ecx, [ebx + 0x24c]
mov edx, dword [ebx + 0x210]
push edx
call fcn.00493060
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x12c]
push esi
call edx
mov edi, dword [ebx + 0x210]
call fcn.0047e180
lea eax, [ebx + 0x20]
push eax
push esi
call fcn.0047d6f0
mov byte [ebx + 0x56], 1
jmp 0x4b508f
mov ecx, dword [ebx + 0x264]
test ecx, ecx
je 0x4b4ef4
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [eax + 0x12c]
mov eax, dword [eax + 0x130]
mov dword [esi + 0x130], eax
mov dword [esi + 0x12c], ecx
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov al, byte [eax + 0x32]
mov ecx, dword [ebx + 0x264]
mov byte [ebx + 0x56], al
mov eax, dword [ecx]
lea edx, [esp + 0xbc]
push edx
mov edx, dword [eax + 0x128]
call edx
push eax
mov edx, str.Menu
call fcn.0047dd40
push 0x544
mov dword [esp + 0xec], 1
call fcn.004e7d83
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0xe8], 2
je 0x4b49d1
push edi
call fcn.004ae860
mov dword [edi + 0x4f0], 2
mov dword [edi], vtable.GameMgr::GMMenu.0
jmp 0x4b49d3
xor edi, edi
mov byte [esp + 0xe8], 1
mov dword [ebx + 0x210], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x260]
push 0
mov ecx, edi
call edx
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x12c]
push esi
call edx
cmp dword [ebx + 0x25c], 0
mov edi, 8
je 0x4b4a53
cmp dword [ebx + 0x260], edi
jb 0x4b4a1e
mov eax, dword [ebx + 0x24c]
jmp 0x4b4a24
lea eax, [ebx + 0x24c]
push eax
push str.Menu
mov ecx, esi
call fcn.0047dbd0
cmp dword [ebx + 0x260], edi
jb 0x4b4a41
mov ecx, dword [ebx + 0x24c]
jmp 0x4b4a47
lea ecx, [ebx + 0x24c]
mov eax, dword [ebx + 0x210]
push eax
call fcn.00493060
cmp dword [esp + 0xd0], 0
je 0x4b4aa4
cmp dword [esp + 0xd4], edi
mov eax, dword [esp + 0xc0]
jae 0x4b4a74
lea eax, [esp + 0xc0]
push eax
push str.Menu
mov ecx, esi
call fcn.0047dbd0
cmp dword [esp + 0xd4], edi
mov ecx, dword [esp + 0xc0]
jae 0x4b4a98
lea ecx, [esp + 0xc0]
mov edx, dword [ebx + 0x210]
push edx
call fcn.00493060
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
mov edx, dword [eax + 0x240]
xor edi, edi
mov dword [esp + 0x14], edi
call edx
test eax, eax
jbe 0x4b4b6a
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
mov edx, dword [eax + 0x230]
push edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
test eax, eax
je 0x4b4b4b
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x230]
push edi
call eax
cmp dword [ebx + 0x288], 8
mov edi, eax
jb 0x4b4b06
mov ecx, dword [ebx + 0x274]
jmp 0x4b4b0c
lea ecx, [ebx + 0x274]
push edi
call fcn.00493060
mov ecx, dword [ebx + 0x210]
mov dword [edi + 0x65c], ecx
mov edx, dword [ebx + 0x264]
mov eax, dword [edx + 0x660]
mov dword [edi + 0x660], eax
mov dword [edi + 0x6bc], ebx
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x244]
push edi
call eax
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x240]
add edi, 1
mov dword [esp + 0x14], edi
call eax
cmp edi, eax
jb 0x4b4ac2
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x12c]
push esi
call eax
mov edi, dword [ebx + 0x210]
call fcn.0047e180
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
xor eax, eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 4]
push 1
mov dword [esp + 0x2c], esi
xor edi, edi
mov dword [esp + 0x3c], esi
push eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
xor esi, esi
mov dword [esp + 0x60], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xac], ecx
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0xa8], eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x240]
mov dword [esp + 0x14], edi
call eax
test eax, eax
jbe 0x4b4d17
jmp 0x4b4c60
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x230]
push edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
test eax, eax
je 0x4b4cf8
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x230]
push edi
call eax
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0xd0]
mov ecx, edi
call eax
test al, al
je 0x4b4cf4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi]
mov edx, dword [edx + 0xa0]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
add esi, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0x3c]
add eax, ecx
cmp dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
jg 0x4b4cf4
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x240]
add edi, 1
mov dword [esp + 0x14], edi
call eax
cmp edi, eax
jb 0x4b4c60
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x240]
call eax
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
lea edi, [eax - 1]
mov eax, dword [edx + 0x26c]
call eax
imul eax, edi
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov edx, dword [edx + 0x264]
add esi, eax
lea eax, [esp + 0x7c]
push eax
call edx
add esi, dword [eax + 4]
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov eax, dword [eax + 0x264]
lea edx, [esp + 0x7c]
push edx
call eax
add esi, dword [eax + 0xc]
cmp dword [esp + 0x18], 0
jne 0x4b4d82
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edx, dword [eax + 0x178]
lea ecx, [esp + 0x90]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x30]
mov ecx, dword [ebx + 0x264]
lea eax, [edi + esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edx, dword [eax + 0x178]
push 2
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
add ecx, 0xfffffffa
cmp byte [ebx + 0x26d], 0
lea edx, [ecx + eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
je 0x4b4e84
cmp edx, dword [esp + 0xa8]
jle 0x4b4e1f
mov ecx, dword [esp + 0x90]
add ecx, 6
mov dword [esp + 0x24], ecx
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0xac]
jle 0x4b4e88
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x264]
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov edx, dword [eax + 0x178]
push 2
lea ecx, [esp + 0x40]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov edx, eax
sub eax, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
jmp 0x4b4e8c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0x28c]
test esi, esi
mov dword [ebx + 0x218], ecx
mov dword [ebx + 0x21c], eax
jle 0x4b4eb2
mov edi, edx
sub edi, eax
cmp edi, esi
jle 0x4b4eb2
mov eax, edx
sub eax, esi
mov dword [esp + 0x20], eax
push 0x14
sub edx, eax
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push 1
push 1
mov ecx, ebx
call eax
cmp dword [esp + 0xd4], 8
jb 0x4b508f
mov ecx, dword [esp + 0xc0]
push ecx
jmp 0x4b5087
cmp dword [ebx + 0x244], 8
mov dword [esp + 0x7c], 0
jb 0x4b4f0d
mov eax, dword [ebx + 0x230]
jmp 0x4b4f13
lea eax, [ebx + 0x230]
mov edx, dword [ebx + 0x294]
mov ecx, dword [ebx + 0x220]
push edx
push eax
mov eax, dword [ebx + 0x228]
push eax
push ecx
mov ecx, dword [ebx + 0x224]
lea edx, [esp + 0x8c]
push edx
mov edx, esi
call fcn.004855a0
mov edi, eax
mov dword [ebx + 0x210], eax
call fcn.0047e180
lea eax, [ebx + 0x20]
push eax
push esi
call fcn.0047d6f0
cmp dword [ebx + 0x25c], 0
je 0x4b4f82
cmp dword [ebx + 0x260], 8
jb 0x4b4f6f
mov eax, dword [ebx + 0x24c]
jmp 0x4b4f75
lea eax, [ebx + 0x24c]
push eax
push str.Menu
mov ecx, esi
call fcn.0047dbd0
lea ecx, [esp + 0xa0]
push ecx
push esi
mov edx, str.Menu
call fcn.0047dd40
mov dword [esp + 0xe8], 3
cmp dword [esp + 0xb4], 0
je 0x4b4fce
cmp dword [esp + 0xb8], 8
mov ecx, dword [esp + 0xa4]
jae 0x4b4fc2
lea ecx, [esp + 0xa4]
mov edx, dword [ebx + 0x210]
push edx
call fcn.00493060
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x240]
xor edi, edi
call edx
test eax, eax
jbe 0x4b504a
jmp 0x4b4ff0
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x230]
push edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
test eax, eax
je 0x4b5033
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x230]
push edi
call eax
mov ecx, dword [ebx + 0x214]
mov dword [eax + 0x660], ecx
mov dword [eax + 0x6bc], ebx
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x240]
add edi, 1
call eax
cmp edi, eax
jb 0x4b4ff0
mov eax, ebx
call fcn.004b4570
cmp byte [esi + 0x32], 0
je 0x4b5064
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, esi
call fcn.00480a70
jmp 0x4b5075
mov edx, dword [esi + 0x178]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0xb8], 8
jb 0x4b508f
mov eax, dword [esp + 0xa4]
push eax
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret 0x10