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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61c650
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
call fcn.0049a3c0
mov ecx, esi
call fcn.0049a5e0
mov esi, dword [0x71789c]
mov ecx, esi
call fcn.00581c50
test al, al
je 0x49afc3
mov ecx, esi
call fcn.00581a20
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x49a8b9
mov eax, dword [eax]
push eax
call fcn.0046be40
push eax
push str._s_map__s_point.txt
lea eax, [esp + 0x268]
push 0x41
push eax
call fcn.005e1aff
add esp, 0x14
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.0049e2d0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2b8], 0
push eax
lea eax, [esp + 0x260]
push eax
call fcn.0055f110
add esp, 8
test al, al
jne 0x49a932
lea eax, [esp + 0x25c]
push eax
push str._CPythonMiniMap::__LoadAtlasMarkInfo_File_Load__s_ERROR_n
call fcn.00535410
add esp, 8
jmp 0x49afa2
push 0x673bf4
lea ecx, [esp + 0xe8]
call fcn.0045dcb0
push str.OPCPVP
lea ecx, [esp + 0x100]
mov byte [esp + 0x2bc], 1
call fcn.0045dcb0
push str.OPCPVPSELF
lea ecx, [esp + 0x118]
mov byte [esp + 0x2bc], 2
call fcn.0045dcb0
push 0x673bf8
lea ecx, [esp + 0x130]
mov byte [esp + 0x2bc], 3
call fcn.0045dcb0
push str.MONSTER
lea ecx, [esp + 0x148]
mov byte [esp + 0x2bc], 4
call fcn.0045dcb0
push str.WARP
lea ecx, [esp + 0x160]
mov byte [esp + 0x2bc], 5
call fcn.0045dcb0
push str.WAYPOINT
lea ecx, [esp + 0x178]
mov byte [esp + 0x2bc], 6
call fcn.0045dcb0
push fcn.0045bdb0
push fcn.0045bd80
push 7
push 0x18
lea eax, [esp + 0x19c]
mov byte [esp + 0x2c8], 7
push eax
call fcn.005e122d
xor eax, eax
mov byte [esp + 0x2b8], 8
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], eax
jbe 0x49af84
jmp 0x49aa20
push eax
push 0x673cc4
lea eax, [esp + 0x240]
push 0x21
push eax
call fcn.005e1aff
add esp, 0x10
mov dword [esp + 0x44], 0xf
cmp byte [esp + 0x238], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x49aa5b
xor ecx, ecx
jmp 0x49aa6e
lea ecx, [esp + 0x238]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49aa65
sub ecx, edx
push ecx
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
call fcn.0045bc80
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.0047a360
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x49aac9
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x49aaa6
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0x3c]
push 0
call fcn.00464da0
test eax, eax
mov eax, dword [esp + 0x10]
js 0x49aac9
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
jmp 0x49aad1
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
cmp eax, dword [ecx]
sete bl
cmp dword [esp + 0x44], 0x10
jb 0x49aae9
push dword [esp + 0x30]
call fcn.004ec310
add esp, 4
test bl, bl
jne 0x49af71
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], bl
cmp byte [esp + 0x238], bl
jne 0x49ab12
xor ecx, ecx
jmp 0x49ab29
lea ecx, [esp + 0x238]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49ab20
sub ecx, edx
push ecx
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
call fcn.0045bc80
lea eax, [esp + 0x30]
mov byte [esp + 0x2b8], 9
push eax
lea ecx, [esp + 0x14]
call fcn.0049d990
mov byte [esp + 0x2b8], 8
mov esi, eax
cmp dword [esp + 0x44], 0x10
jb 0x49ab6e
push dword [esp + 0x30]
call fcn.004ec310
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
jb 0x49ab8d
mov edx, dword [edx]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
cmp byte [edx], 0
jne 0x49abab
xor ecx, ecx
jmp 0x49abb9
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49abb0
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.0045bc80
mov byte [esp + 0x2b8], 0xa
mov edx, dword [esi]
add edx, 0x18
cmp dword [edx + 0x14], 0x10
jb 0x49abd9
mov edx, dword [edx]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
cmp byte [edx], 0
jne 0x49abfd
xor ecx, ecx
jmp 0x49ac0b
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49ac02
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.0045bc80
mov byte [esp + 0x2b8], 0xb
mov edx, dword [esi]
add edx, 0x30
cmp dword [edx + 0x14], 0x10
jb 0x49ac2e
mov edx, dword [edx]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
cmp byte [edx], 0
jne 0x49ac4c
xor ecx, ecx
jmp 0x49ac5a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49ac51
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.0045bc80
mov byte [esp + 0x2b8], 0xc
mov edx, dword [esi]
add edx, 0x48
cmp dword [edx + 0x14], 0x10
jb 0x49ac7a
mov edx, dword [edx]
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
cmp byte [edx], 0
jne 0x49aca1
xor ecx, ecx
jmp 0x49acaf
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49aca6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.0045bc80
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
mov byte [esp + 0x2b8], 0xe
lea esi, [esp + 0xe4]
mov edx, dword [esp + 0x70]
mov bl, byte [esp + 0xa8]
mov dword [esp + 0x1c], 0
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
mov edi, dword [esi + 0x10]
jb 0x49ad11
mov eax, dword [esi]
mov dword [esp + 0x18], eax
jmp 0x49ad15
mov dword [esp + 0x18], esi
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x60]
mov eax, edi
cmovae ecx, dword [esp + 0x60]
cmp edx, edi
cmovb eax, edx
push eax
push dword [esp + 0x1c]
push ecx
call fcn.00464d30
mov edx, dword [esp + 0x7c]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x49ad4b
cmp edx, edi
jb 0x49ad61
cmp edx, edi
setne cl
mov eax, dword [esp + 0x1c]
test ecx, ecx
movzx ebx, bl
movzx eax, al
cmove ebx, eax
mov byte [esp + 0xa8], bl
mov eax, dword [esp + 0x1c]
add esi, 0x18
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0xe
jl 0x49ad00
cmp dword [esp + 0x8c], 0x10
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
call fcn.005e28cc
cmp dword [esp + 0x60], 0x10
lea eax, [esp + 0x4c]
fstp dword [esp + 0xb4]
cmovae eax, dword [esp + 0x4c]
push eax
call fcn.005e28cc
add esp, 8
lea eax, [esp + 0x90]
lea ecx, [esp + 0xcc]
fstp dword [esp + 0xb4]
push 0xffffffffffffffff
push 0
push eax
call fcn.0045c150
mov ebx, dword [esp + 0x24]
movss xmm0, dword [esp + 0xb0]
divss xmm0, dword [ebx + 0x34c]
lea ecx, [ebx + 0x114]
mulss xmm0, dword [ebx + 0x354]
movss dword [esp + 0x18], xmm0
call fcn.00558530
movss xmm1, dword [esp + 0x18]
lea ecx, [ebx + 0x114]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x6800fc]
subss xmm1, xmm0
movss xmm0, dword [esp + 0xb4]
divss xmm0, dword [ebx + 0x350]
movss dword [esp + 0xb8], xmm1
mulss xmm0, dword [ebx + 0x358]
movss dword [esp + 0x18], xmm0
call fcn.005584f0
movss xmm1, dword [esp + 0x18]
movd xmm0, eax
movzx eax, byte [esp + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x6800fc]
subss xmm1, xmm0
movss dword [esp + 0xbc], xmm1
sub eax, 3
je 0x49ae7c
sub eax, 2
jne 0x49ae8f
lea ecx, [ebx + 0x36c]
jmp 0x49ae82
lea ecx, [ebx + 0x360]
lea eax, [esp + 0xa8]
push eax
call fcn.0049d830
cmp dword [esp + 0xe0], 0x10
jb 0x49aea8
push dword [esp + 0xcc]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0xa4], 0x10
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
jb 0x49aedf
push dword [esp + 0x90]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jb 0x49af10
push dword [esp + 0x48]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jb 0x49af3b
push dword [esp + 0x78]
call fcn.004ec310
add esp, 4
mov byte [esp + 0x2b8], 8
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
jb 0x49af71
push dword [esp + 0x60]
call fcn.004ec310
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x14]
jb 0x49aa20
push fcn.0045bdb0
push 0xe
push 0x18
lea eax, [esp + 0xf0]
mov byte [esp + 0x2c4], 0
push eax
call fcn.005e128f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.0049de50
push dword [esp + 0x10]
call fcn.004ec310
add esp, 4
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret