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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7d1c
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4ea6c4]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
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.0044a410
cmp byte [ebx + 0x26c], 0
je 0x470b22
push 0x540
call fcn.004abce7
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0xe8], ecx
je 0x470a6e
push edi
call fcn.0047d790
mov dword [edi + 0x4ec], 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 + 0x258]
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
cmp dword [ebx + 0x260], 8
jb 0x470abe
mov eax, dword [ebx + 0x24c]
jmp 0x470ac4
lea eax, [ebx + 0x24c]
push eax
push esi
mov edi, str.Menu
call fcn.00445da0
cmp dword [ebx + 0x260], 8
jb 0x470ae1
mov ecx, dword [ebx + 0x24c]
jmp 0x470ae7
lea ecx, [ebx + 0x24c]
mov edx, dword [ebx + 0x210]
push edx
call fcn.00441a70
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.00446350
lea eax, [ebx + 0x20]
push eax
push esi
call fcn.004458c0
mov byte [ebx + 0x56], 1
jmp 0x471281
mov ecx, dword [ebx + 0x264]
test ecx, ecx
je 0x4710f4
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 edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
push eax
mov edx, str.Menu
lea edi, [esp + 0xc0]
call fcn.00445f10
push 0x540
mov dword [esp + 0xec], 1
call fcn.004abce7
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0xe8], 2
je 0x470bcc
push edi
call fcn.0047d790
mov dword [edi + 0x4ec], 2
mov dword [edi], vtable.GameMgr::GMMenu.0
jmp 0x470bce
xor edi, edi
mov byte [esp + 0xe8], 1
mov dword [ebx + 0x210], edi
mov edx, dword [edi]
mov eax, dword [edx + 0x258]
push 0
mov ecx, edi
call eax
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x12c]
push esi
call eax
cmp dword [ebx + 0x25c], 0
je 0x470c4a
cmp dword [ebx + 0x260], 8
jb 0x470c15
mov eax, dword [ebx + 0x24c]
jmp 0x470c1b
lea eax, [ebx + 0x24c]
push eax
push esi
mov edi, str.Menu
call fcn.00445da0
cmp dword [ebx + 0x260], 8
jb 0x470c38
mov ecx, dword [ebx + 0x24c]
jmp 0x470c3e
lea ecx, [ebx + 0x24c]
mov edx, dword [ebx + 0x210]
push edx
call fcn.00441a70
cmp dword [esp + 0xd0], 0
je 0x470c9c
cmp dword [esp + 0xd4], 8
mov eax, dword [esp + 0xc0]
jae 0x470c6c
lea eax, [esp + 0xc0]
push eax
push esi
mov edi, str.Menu
call fcn.00445da0
cmp dword [esp + 0xd4], 8
mov ecx, dword [esp + 0xc0]
jae 0x470c90
lea ecx, [esp + 0xc0]
mov eax, dword [ebx + 0x210]
push eax
call fcn.00441a70
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x238]
xor edi, edi
mov dword [esp + 0x14], edi
call eax
test eax, eax
jbe 0x470d68
lea ebx, [ebx]
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x228]
push edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
test eax, eax
je 0x470d49
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x228]
push edi
call eax
cmp dword [ebx + 0x288], 8
mov edi, eax
jb 0x470d04
mov ecx, dword [ebx + 0x274]
jmp 0x470d0a
lea ecx, [ebx + 0x274]
push edi
call fcn.00441a70
mov ecx, dword [ebx + 0x210]
mov dword [edi + 0x658], ecx
mov edx, dword [ebx + 0x264]
mov eax, dword [edx + 0x65c]
mov dword [edi + 0x65c], eax
mov dword [edi + 0x6b8], ebx
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x23c]
push edi
call eax
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x238]
add edi, 1
mov dword [esp + 0x14], edi
call eax
cmp edi, eax
jb 0x470cc0
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.00446350
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 + 0x238]
mov dword [esp + 0x14], edi
call eax
test eax, eax
jbe 0x470f17
jmp 0x470e60
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x228]
push edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
test eax, eax
je 0x470ef8
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x228]
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 0x470ef4
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 0x470ef4
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x264]
mov edx, dword [ecx]
mov eax, dword [edx + 0x238]
add edi, 1
mov dword [esp + 0x14], edi
call eax
cmp edi, eax
jb 0x470e60
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x238]
call eax
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
lea edi, [eax - 1]
mov eax, dword [edx + 0x264]
call eax
imul eax, edi
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov edx, dword [edx + 0x25c]
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 + 0x25c]
lea edx, [esp + 0x7c]
push edx
call eax
add esi, dword [eax + 0xc]
cmp dword [esp + 0x18], 0
jne 0x470f82
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 0x471084
cmp edx, dword [esp + 0xa8]
jle 0x47101f
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 0x471088
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 0x47108c
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 0x4710b2
mov edi, edx
sub edi, eax
cmp edi, esi
jle 0x4710b2
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 0x471281
mov ecx, dword [esp + 0xc0]
push ecx
jmp 0x471279
cmp dword [ebx + 0x244], 8
mov dword [esp + 0x7c], 0
jb 0x47110d
mov eax, dword [ebx + 0x230]
jmp 0x471113
lea eax, [ebx + 0x230]
mov edx, dword [ebx + 0x294]
mov ecx, dword [ebx + 0x224]
push edx
push eax
mov eax, dword [ebx + 0x228]
push eax
push ecx
lea edx, [esp + 0x8c]
push edx
mov edx, dword [ebx + 0x220]
mov ecx, esi
call fcn.0044ca40
mov edi, eax
mov dword [ebx + 0x210], eax
call fcn.00446350
lea eax, [ebx + 0x20]
push eax
push esi
call fcn.004458c0
cmp dword [ebx + 0x25c], 0
je 0x471181
cmp dword [ebx + 0x260], 8
jb 0x47116f
mov eax, dword [ebx + 0x24c]
jmp 0x471175
lea eax, [ebx + 0x24c]
push eax
push esi
mov edi, str.Menu
call fcn.00445da0
push esi
mov edx, str.Menu
lea edi, [esp + 0xa4]
call fcn.00445f10
mov dword [esp + 0xe8], 3
cmp dword [esp + 0xb4], 0
je 0x4711cc
cmp dword [esp + 0xb8], 8
mov ecx, dword [esp + 0xa4]
jae 0x4711c0
lea ecx, [esp + 0xa4]
mov edx, dword [ebx + 0x210]
push edx
call fcn.00441a70
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x238]
xor edi, edi
call edx
test eax, eax
jbe 0x47123c
mov ecx, dword [ebx + 0x210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x228]
push edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
test eax, eax
je 0x471225
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x228]
push edi
call eax
mov ecx, dword [ebx + 0x214]
mov dword [eax + 0x65c], ecx
mov dword [eax + 0x6b8], ebx
mov ecx, dword [ebx + 0x210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x238]
add edi, 1
call eax
cmp edi, eax
jb 0x4711e2
mov eax, ebx
call fcn.00470770
cmp byte [esi + 0x32], 0
je 0x471256
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, esi
call fcn.00448c40
jmp 0x471267
mov edx, dword [esi + 0x178]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0xb8], 8
jb 0x471281
mov eax, dword [esp + 0xa4]
push eax
call fcn.004abbe4
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.004abc64
mov esp, ebp
pop ebp
ret 0x10