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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fd710
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
call fcn.00495bb0
mov ecx, esi
call fcn.00495dd0
mov esi, dword [0x6ed1cc]
mov ecx, esi
call fcn.00572ed0
test al, al
je 0x4967b3
mov ecx, esi
call fcn.00572ca0
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x4960a9
mov eax, dword [eax]
push eax
call fcn.00469380
push eax
push str._s_map__s_point.txt
lea eax, [esp + 0x268]
push 0x41
push eax
call fcn.005c6779
add esp, 0x14
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.00499a60
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2b8], 0
push eax
lea eax, [esp + 0x260]
push eax
call fcn.0054c6b0
add esp, 8
test al, al
jne 0x496122
lea eax, [esp + 0x25c]
push eax
push str._CPythonMiniMap::__LoadAtlasMarkInfo_File_Load__s_ERROR_n
call fcn.00525c80
add esp, 8
jmp 0x496792
push 0x64d51c
lea ecx, [esp + 0xe8]
call fcn.0045b870
push str.OPCPVP
lea ecx, [esp + 0x100]
mov byte [esp + 0x2bc], 1
call fcn.0045b870
push str.OPCPVPSELF
lea ecx, [esp + 0x118]
mov byte [esp + 0x2bc], 2
call fcn.0045b870
push 0x64d520
lea ecx, [esp + 0x130]
mov byte [esp + 0x2bc], 3
call fcn.0045b870
push str.MONSTER
lea ecx, [esp + 0x148]
mov byte [esp + 0x2bc], 4
call fcn.0045b870
push str.WARP
lea ecx, [esp + 0x160]
mov byte [esp + 0x2bc], 5
call fcn.0045b870
push str.WAYPOINT
lea ecx, [esp + 0x178]
mov byte [esp + 0x2bc], 6
call fcn.0045b870
push fcn.0045a800
push fcn.0045a7d0
push 7
push 0x18
lea eax, [esp + 0x19c]
mov byte [esp + 0x2c8], 7
push eax
call fcn.005c5ddd
xor eax, eax
mov byte [esp + 0x2b8], 8
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], eax
jbe 0x496774
jmp 0x496210
push eax
push 0x64d5ec
lea eax, [esp + 0x240]
push 0x21
push eax
call fcn.005c6779
add esp, 0x10
mov dword [esp + 0x44], 0xf
cmp byte [esp + 0x238], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x49624b
xor ecx, ecx
jmp 0x49625e
lea ecx, [esp + 0x238]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496255
sub ecx, edx
push ecx
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
call fcn.0045a6b0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00476980
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x4962b9
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x496296
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0x3c]
push 0
call fcn.00467c90
test eax, eax
mov eax, dword [esp + 0x10]
js 0x4962b9
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
jmp 0x4962c1
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
cmp eax, dword [ecx]
sete bl
cmp dword [esp + 0x44], 0x10
jb 0x4962d9
push dword [esp + 0x30]
call fcn.004d6210
add esp, 4
test bl, bl
jne 0x496761
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], bl
cmp byte [esp + 0x238], bl
jne 0x496302
xor ecx, ecx
jmp 0x496319
lea ecx, [esp + 0x238]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496310
sub ecx, edx
push ecx
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
call fcn.0045a6b0
lea eax, [esp + 0x30]
mov byte [esp + 0x2b8], 9
push eax
lea ecx, [esp + 0x14]
call fcn.00499120
mov byte [esp + 0x2b8], 8
mov esi, eax
cmp dword [esp + 0x44], 0x10
jb 0x49635e
push dword [esp + 0x30]
call fcn.004d6210
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 0x49637d
mov edx, dword [edx]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
cmp byte [edx], 0
jne 0x49639b
xor ecx, ecx
jmp 0x4963a9
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4963a0
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.0045a6b0
mov byte [esp + 0x2b8], 0xa
mov edx, dword [esi]
add edx, 0x18
cmp dword [edx + 0x14], 0x10
jb 0x4963c9
mov edx, dword [edx]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
cmp byte [edx], 0
jne 0x4963ed
xor ecx, ecx
jmp 0x4963fb
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4963f2
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.0045a6b0
mov byte [esp + 0x2b8], 0xb
mov edx, dword [esi]
add edx, 0x30
cmp dword [edx + 0x14], 0x10
jb 0x49641e
mov edx, dword [edx]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
cmp byte [edx], 0
jne 0x49643c
xor ecx, ecx
jmp 0x49644a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496441
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.0045a6b0
mov byte [esp + 0x2b8], 0xc
mov edx, dword [esi]
add edx, 0x48
cmp dword [edx + 0x14], 0x10
jb 0x49646a
mov edx, dword [edx]
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
cmp byte [edx], 0
jne 0x496491
xor ecx, ecx
jmp 0x49649f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496496
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.0045a6b0
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 0x496501
mov eax, dword [esi]
mov dword [esp + 0x18], eax
jmp 0x496505
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.00467c20
mov edx, dword [esp + 0x7c]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x49653b
cmp edx, edi
jb 0x496551
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 0x4964f0
cmp dword [esp + 0x8c], 0x10
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
call fcn.005c6f1c
cmp dword [esp + 0x60], 0x10
lea eax, [esp + 0x4c]
fstp dword [esp + 0xb4]
cmovae eax, dword [esp + 0x4c]
push eax
call fcn.005c6f1c
add esp, 8
lea eax, [esp + 0x90]
lea ecx, [esp + 0xcc]
fstp dword [esp + 0xb4]
push 0xffffffffffffffff
push 0
push eax
call fcn.0045abf0
mov ebx, dword [esp + 0x24]
movss xmm0, dword [esp + 0xb0]
divss xmm0, dword [ebx + 0x328]
lea ecx, [ebx + 0x10c]
mulss xmm0, dword [ebx + 0x330]
movss dword [esp + 0x18], xmm0
call fcn.00545a90
movss xmm1, dword [esp + 0x18]
lea ecx, [ebx + 0x10c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x657934]
subss xmm1, xmm0
movss xmm0, dword [esp + 0xb4]
divss xmm0, dword [ebx + 0x32c]
movss dword [esp + 0xb8], xmm1
mulss xmm0, dword [ebx + 0x334]
movss dword [esp + 0x18], xmm0
call fcn.00545a50
movss xmm1, dword [esp + 0x18]
movd xmm0, eax
movzx eax, byte [esp + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x657934]
subss xmm1, xmm0
movss dword [esp + 0xbc], xmm1
sub eax, 3
je 0x49666c
sub eax, 2
jne 0x49667f
lea ecx, [ebx + 0x348]
jmp 0x496672
lea ecx, [ebx + 0x33c]
lea eax, [esp + 0xa8]
push eax
call fcn.00498fc0
cmp dword [esp + 0xe0], 0x10
jb 0x496698
push dword [esp + 0xcc]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0xa4], 0x10
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
jb 0x4966cf
push dword [esp + 0x90]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jb 0x496700
push dword [esp + 0x48]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jb 0x49672b
push dword [esp + 0x78]
call fcn.004d6210
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 0x496761
push dword [esp + 0x60]
call fcn.004d6210
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x14]
jb 0x496210
push fcn.0045a800
push 0xe
push 0x18
lea eax, [esp + 0xf0]
mov byte [esp + 0x2c4], 0
push eax
call fcn.005c5e3f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.004995e0
push dword [esp + 0x10]
call fcn.004d6210
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.005c46a4
mov esp, ebp
pop ebp
ret