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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4962e8
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0043e6d2
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov al, byte [esi + 0x50]
test al, al
je 0x45ae96
push str.draw_map_init_n
call dword [0x4ef0c8]
mov ecx, esi
call fcn.00458150
test eax, eax
mov ebx, dword [0x4ef098]
je 0x45af3b
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x58], vtable.cTimer.0
call ebx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x58], vtable.cTimerStatus.0
mov dword [esp + 0x68], 0x566538
call dword [0x4ef5c4]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.00457f30
call fcn.0043e6b4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00458d60
call fcn.0043e6b4
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
call fcn.0043e6ba
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x30]
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 0xffffffff
call fcn.00409e60
jmp 0x45af49
call fcn.0043e6ba
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x30]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x48]
call fcn.0043e6d2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x58], vtable.cTimer.0
call ebx
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x58], vtable.cTimerStatus.0
mov dword [esp + 0x68], 0x5665f0
call dword [0x4ef5c4]
add esp, 4
mov dword [esp + 0x74], 1
call fcn.0043e6ba
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
xor ecx, ecx
mov cl, byte [esi + 0x50]
push ecx
push 0
mov ecx, eax
call dword [edx + 0x34]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
push 3
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
xor ecx, ecx
mov cl, byte [esi + 0x50]
push ecx
push 1
mov ecx, eax
call dword [edx + 0x34]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 0xffffffff
call fcn.00409e60
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x58], vtable.cTimer.0
call ebx
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x58], vtable.cTimerStatus.0
mov dword [esp + 0x68], 0x5666a8
call dword [0x4ef5c4]
add esp, 4
mov dword [esp + 0x74], 2
call fcn.00446f60
mov edx, dword [0x560d4c]
mov dword [esp + 0x14], edx
call fcn.00446f60
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x45b05f
call fcn.00446f60
call fcn.0043e6ba
mov edx, dword [eax]
push 3
mov ecx, eax
call dword [edx + 0x38]
mov eax, dword [esi + 0x74]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
sub esp, 0xc
mov edx, esp
mov ecx, 0x458370
mov dword [edx], ecx
mov ecx, edi
mov dword [edx + 4], ecx
push eax
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov dword [edx + 8], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00458bc0
add esp, 0x18
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 0xffffffff
call fcn.00409e60
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x78], 3
mov dword [esp + 0x58], vtable.cTimer.0
call ebx
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x58], vtable.cTimerStatus.0
mov dword [esp + 0x68], 0x566760
call dword [0x4ef5c4]
add esp, 4
mov byte [esp + 0x74], 4
call fcn.0043e6ba
mov edx, dword [eax]
push 3
mov ecx, eax
call dword [edx + 0x38]
sub esp, 0xc
mov ecx, esp
mov eax, 0x458360
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov eax, ebp
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x84]
push eax
mov eax, dword [esi + 0x80]
push eax
lea edx, [esp + 0x34]
push edx
call fcn.00458c00
add esp, 0x18
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
lea ecx, [esi + 0x8c]
push 0
push ebp
push edi
push ecx
mov ecx, eax
call dword [edx + 0x44]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
push 3
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
xor ecx, ecx
mov cl, byte [esi + 0x50]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x60]
push ecx
mov ecx, eax
call dword [edx + 0x40]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 3
call fcn.00409e60
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x40], vtable.cTimer.0
call ebx
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x40], vtable.cTimerStatus.0
mov dword [esp + 0x50], 0x566818
call dword [0x4ef5c4]
add esp, 4
mov byte [esp + 0x74], 5
call fcn.0043e6ba
mov edx, dword [eax]
push 3
mov ecx, eax
call dword [edx + 0x38]
mov eax, dword [esi + 0x74]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
sub esp, 0xc
mov edx, esp
mov ecx, 0x458380
mov dword [edx], ecx
mov ecx, edi
mov dword [edx + 4], ecx
push eax
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov dword [edx + 8], ecx
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00458bc0
add esp, 0x18
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
xor ecx, ecx
mov cl, byte [esi + 0x50]
push ecx
push 2
mov ecx, eax
call dword [edx + 0x34]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
push 1
push ebp
push edi
lea ecx, [esi + 0x8c]
push ecx
mov ecx, eax
call dword [edx + 0x44]
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x10], ecx
je 0x45b2c4
jmp 0x45b2a8
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xc]
push ebp
push edi
call fcn.00470c00
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [esi + 0xd0]
mov dword [esp + 0x10], eax
jne 0x45b2a4
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
push 3
mov ecx, eax
call dword [edx + 0x38]
call fcn.0043e6d2
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
mov dword [esp + 0x3c], vtable.cTimerStatus.0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x78], 6
call ebx
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
sub eax, ebx
push eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00409d70
mov byte [esp + 0x74], 3
call fcn.0043e6ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esi + 0x50], 0
je 0x45b34e
push eax
call fcn.004750a4
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret