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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x7404f6
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x9a330c]
xor ebx, ebx
cmp ecx, ebx
push edi
je 0x4f7f30
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov edx, dword [esi + 0x2d4]
lea edi, [esi + 0x2d4]
mov ecx, edi
call dword [edx + 0x48]
or ebp, 0xffffffff
test eax, eax
je 0x4f7f5f
mov eax, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [eax + 0x12c]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
test eax, eax
jne 0x4f7f48
mov ecx, dword [0x912e94]
mov eax, dword [ecx]
push 0x4f0720
call dword [eax + 0xb0]
mov eax, dword [0x914138]
cmp eax, ebx
je 0x4f7f87
mov ecx, dword [eax + 0x388]
mov dword [esi + 0x3a0], ecx
push 0x208bc
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x44], ebx
je 0x4f7fab
push 1
mov ecx, eax
call fcn.004d7070
jmp 0x4f7fad
xor eax, eax
mov dword [esi + 0x2e8], eax
mov edx, dword [0x914218]
mov edx, dword [edx + 0x374]
mov ecx, dword [edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
mov edx, dword [eax]
push esi
mov ecx, eax
mov dword [esp + 0x4c], ebp
call dword [edx + 0x124]
mov eax, dword [esi + 0x2e8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x78]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x2e8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x12c]
push 0x268
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x44], 1
je 0x4f8036
push 1
mov ecx, eax
call fcn.004bfda0
jmp 0x4f8038
xor eax, eax
mov ecx, dword [esi + 0x2e8]
mov edi, dword [esp + 0x4c]
mov dword [ecx + 0x254], eax
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x9c], eax
test byte [edi + 0x18], 1
mov dword [esp + 0x44], ebp
jne 0x4f806c
sub ecx, 0xe2
sub edx, 0x82
jmp 0x4f8075
sub ecx, 0xe5
sub edx, 0x7e
mov dword [esp + 0x1c], ecx
add ecx, 0xe0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
push 0x10
add edx, 0x7a
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esi + 0x9c]
mov edx, dword [ecx]
push str.minimap
call dword [edx + 0x11c]
mov eax, dword [0x914138]
cmp eax, ebx
je 0x4f80c9
mov eax, dword [eax + 0x32c]
cmp eax, ebx
je 0x4f80c9
mov dword [esi + 0xa4], eax
xor ecx, ecx
xor edx, edx
cmp dword [esp + 0x50], ebx
je 0x4f80f2
mov ecx, dword [0x912e94]
mov dx, word [ecx + 0x1ac]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x44]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x2e8]
mov edx, dword [ecx]
mov dword [esp + 0x54], esp
push edi
call dword [edx + 0x22c]
mov ecx, dword [esi + 0x2e8]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x178]
mov ecx, dword [esi + 0x2e8]
mov eax, dword [ecx + 0x118]
mov edx, dword [eax + 0x14]
sub esp, 8
add eax, 0x14
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x2e8]
mov dword [esp + 0x54], esp
push ecx
mov ecx, dword [0x9a49f4]
call fcn.006dfc60
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.004c0130
mov cx, word [edi + 0x18]
not ecx
and ecx, 1
mov dword [esi + 0xa8], ecx
mov ecx, esi
call fcn.004e7580
test byte [edi + 0x18], 1
jne 0x4f819a
mov ecx, dword [edi + 0xa8]
mov edx, dword [ecx]
push ebx
call dword [edx + 0xc]
jmp 0x4f81aa
mov ecx, dword [0x9a71bc]
cmp ecx, ebx
je 0x4f81aa
push ebx
call fcn.006f4ee0
mov eax, dword [0x914138]
mov ecx, dword [eax + 0x30c]
call fcn.00591c70
mov ecx, dword [0x912e94]
mov dword [ecx + 0x17c], ebx
mov ecx, 0x905ba8
call fcn.00548f00
mov ecx, 0x905bbc
call fcn.00548f00
mov ecx, esi
call fcn.004dc2b0
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x154]
mov eax, dword [esi + 0x38c]
mov dword [eax + 0xa0], ebx
mov ecx, dword [esi + 0x38c]
mov dword [ecx + 0xa8], ebx
mov edx, dword [esi + 0x38c]
mov dword [edx + 0xa4], 1
cmp dword [esi + 0xa8], ebx
je 0x4f8240
mov ecx, dword [0x912e94]
mov eax, dword [ecx]
push ebx
push 0x85fdc4
push 0x85da04
push ebx
call dword [eax + 0x64]
push eax
call fcn.0071f44c
add esp, 0x14
mov edi, eax
jmp 0x4f8242
xor edi, edi
mov eax, dword [esi + 0x2c8]
cmp eax, ebx
je 0x4f825c
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
push 1
call dword [edx]
mov dword [esi + 0x2c8], ebx
mov eax, dword [esi + 0x2cc]
cmp eax, ebx
je 0x4f8275
lea ecx, [eax + 8]
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x2cc], ebx
cmp edi, ebx
je 0x4f8318
push esi
push str.DEFS_Screens_PlayWnd_bottom_toolbar_close.in2
call fcn.0042faf0
mov dword [esi + 0x2cc], eax
mov eax, dword [esi + 0x3a0]
add eax, 0xffffffff
add esp, 8
cmp eax, 3
ja case.default.0x4f829f
jmp dword [eax*4 + 0x4f8510]
call fcn.00710410
test eax, eax
je case.default.0x4f829f
push esi
push str.DEFS_Screens_PlayWnd_top_toolbar_multipl.in2
jmp 0x4f82de
call fcn.00710410
test eax, eax
push esi
je 0x4f82c8
push str.DEFS_Screens_PlayWnd_top_toolbar_quick.in2
jmp 0x4f82de
push str.DEFS_Screens_PlayWnd_top_toolbar_quick_asslt.in2
jmp 0x4f82de
call fcn.00710410
test eax, eax
je case.default.0x4f829f
push esi
push str.DEFS_Screens_PlayWnd_top_toolbar_historical.in2
call fcn.0042faf0
add esp, 8
mov dword [esi + 0x2c8], eax
cmp dword [esi + 0x2c8], ebx
jne 0x4f8318
call fcn.00710410
test eax, eax
push esi
je 0x4f8305
push str.DEFS_Screens_PlayWnd_top_toolbar_quick.in2
jmp 0x4f830a
push str.DEFS_Screens_PlayWnd_top_toolbar_close.in2
call fcn.0042faf0
add esp, 8
mov dword [esi + 0x2c8], eax
mov edx, dword [esi]
push ebx
push 1
mov ecx, esi
call dword [edx + 0x134]
mov eax, dword [esi]
push 1
push ebx
push 1
mov ecx, esi
call dword [eax + 0x14c]
cmp edi, ebx
je 0x4f837b
push esi
push str.DEFS_Screens_PlayWnd_battle_left_skills.in2
call fcn.0042faf0
push esi
push str.DEFS_Screens_PlayWnd_battle_right_skills.in2
call fcn.0042faf0
mov ecx, dword [esi + 0x2ec]
add esp, 0x10
cmp ecx, ebx
je 0x4f8365
mov edx, dword [ecx]
push 1
call dword [edx + 0xb4]
mov ecx, dword [esi + 0x2f0]
cmp ecx, ebx
je 0x4f83db
mov eax, dword [ecx]
push 1
call dword [eax + 0xb4]
jmp 0x4f83db
mov ecx, dword [esi + 0x2ec]
cmp ecx, ebx
je 0x4f838f
mov edx, dword [ecx]
push 1
call dword [edx + 0xb8]
mov ecx, dword [esi + 0x2f0]
cmp ecx, ebx
je 0x4f83a3
mov eax, dword [ecx]
push 1
call dword [eax + 0xb8]
mov edx, dword [esi]
push 0x32fa
mov ecx, esi
call dword [edx + 0x8c]
cmp eax, ebx
je 0x4f83bf
lea ecx, [eax + 8]
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esi]
push 0x3304
mov ecx, esi
call dword [edx + 0x8c]
cmp eax, ebx
je 0x4f83db
lea ecx, [eax + 8]
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
call dword [edx + 0x6c]
test eax, eax
je 0x4f83f7
mov ecx, dword [0x9a49f4]
push 2
call fcn.006dfb30
mov ecx, dword [0x912e94]
mov eax, dword [ecx]
push ebx
push 0x4f0720
push ebx
call dword [eax + 0xac]
mov ecx, dword [esi + 0x2e8]
mov edx, dword [ecx + 0x20304]
test byte [edx + 0x18], 1
je 0x4f84ae
mov eax, dword [0x912e94]
mov cx, word [eax + 0x1ac]
push ecx
call fcn.00659140
add esp, 4
lea edi, [eax + 0x1d0]
mov ebp, 9
mov eax, dword [edi]
cmp eax, ebx
je 0x4f84a6
mov edx, dword [eax + 0x68]
mov eax, edx
shr eax, 0x18
sub eax, ebx
je 0x4f8479
sub eax, 1
je 0x4f846b
sub eax, 1
jne 0x4f84a6
mov eax, dword [0x912e94]
mov ecx, dword [eax + 0x2e4]
jmp 0x4f8485
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4f8485
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
cmp eax, ebx
je 0x4f84a6
lea ecx, [eax - 0x18]
cmp ecx, ebx
je 0x4f84a6
mov edx, dword [ecx]
call dword [edx + 0x24]
cmp eax, ebx
je 0x4f84a6
mov ecx, eax
call fcn.0055d700
add edi, 4
sub ebp, 1
jne 0x4f8442
mov ecx, esi
call fcn.004f0940
mov ecx, dword [0x9a3304]
mov eax, dword [ecx + 8]
add ecx, 8
call dword [eax + 0x2c]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4f84f9
lea esp, [esp]
mov ecx, dword [0x9a3304]
mov edx, dword [ecx + 8]
add ecx, 8
lea eax, [esp + 0x10]
push eax
call dword [edx + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1a9], bl
je 0x4f84f3
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp dword [esp + 0x10], ebx
jne 0x4f84d0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 8