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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dcd2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x200
mov eax, dword [0x5e000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4877d8
mov eax, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xa8], eax
call fcn.00488340
push 0x5e6654
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.004883b0
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
call fcn.0052f855
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 2
push 0x2c
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
call fcn.0052f855
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xb8], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 4
mov byte [ebp - 0x8e], al
cmp ecx, edx
je 0x48645f
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0xa8]
je 0x486451
add ecx, 4
cmp ecx, edx
jne 0x486440
mov eax, dword [ebp - 0xc4]
cmp ecx, edx
jne 0x486511
cmp edx, eax
je 0x486476
mov eax, dword [ebp - 0xa8]
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0xe4], edx
jmp 0x486495
lea eax, [ebp - 0xa8]
push eax
push edx
lea ecx, [ebp - 0xe8]
call fcn.0040eb30
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xc4], eax
mov esi, dword [edi + 0x30]
mov edx, dword [ebp - 0xa8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
sub eax, ecx
cmp edx, eax
jae 0x486511
mov al, byte [ecx + edx]
inc dword [ebp - 0xa8]
mov byte [ebp - 0xd4], al
test al, al
je 0x486597
cmp al, 1
je 0x486597
cmp al, 2
je 0x486597
cmp al, 5
je 0x486597
cmp al, 7
je 0x486511
cmp al, 0xf
je 0x486511
cmp al, 0x13
je 0x4865a7
cmp al, 0x1a
je 0x4865a7
cmp al, 0x1b
je 0x4865a7
cmp al, 0x1c
je 0x4865a7
cmp al, 0x65
je 0x4865a7
cmp al, 0xff
jne 0x4865b4
mov eax, dword [ebp - 0xb8]
mov esi, dword [eax]
cmp esi, eax
je 0x487737
mov edi, dword [esi + 0x28]
test edi, edi
je 0x48656a
mov eax, dword [edi + 0x4c]
mov dword [edi], vtable.CPNAReader.0
test eax, eax
je 0x48653e
push eax
call fcn.0052f8a8
add esp, 4
lea ecx, [edi + 0x78]
call fcn.00403950
lea ecx, [edi + 0x60]
call fcn.00403950
mov ecx, edi
call fcn.004074c0
push 0x90
push edi
call fcn.0052f847
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x487717
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x486590
cmp esi, dword [eax + 8]
jne 0x486590
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x486580
mov esi, eax
jmp 0x48772b
cmp al, 0xf
je 0x486511
cmp al, 0xff
je 0x486511
cmp dword [edi + 0x1ab4], 0
jg 0x486511
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
push dword [ebp - 0xd4]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004e2220
movzx eax, byte [ebp - 0xd4]
add eax, 0xfffffffa
mov byte [ebp - 4], 5
cmp eax, 0x72
ja case.0x4865f4.7
movzx eax, byte [eax + 0x487828]
jmp dword [eax*4 + 0x4877f8]
mov esi, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov edx, dword [esi + 8]
mov ecx, edx
mov word [ebp - 0x5c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486624
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004039b0
mov byte [ebp - 4], 6
xor eax, eax
mov edx, dword [esi + 0x18]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486664
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004039b0
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x5c]
mov edx, 2
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x6c]
call fcn.00440e00
mov edi, dword [ebp - 0x2c]
add esp, 0xc
mov esi, dword [ebp - 0x44]
test eax, eax
je 0x48674d
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, edi
lea eax, [ebp - 0x5c]
setae byte [ebp - 0x8d]
cmp dword [ebp - 0x30], 8
push edx
cmovae ecx, esi
setae byte [ebp - 0x8f]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0049cea0
test eax, eax
jne 0x48674d
cmp byte [ebp - 0x8d], al
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x44]
push 0
push 2
push 0
push 0
cmovne edx, edi
lea ecx, [ecx + 0x1aac]
cmp byte [ebp - 0x8f], 0
push 0
cmovne eax, esi
push edx
push eax
call fcn.00442c30
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x486788
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x48677e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push esi
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4867c3
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4867b9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push edi
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb case.0x4865f4.7
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4867fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push edx
push ecx
call fcn.0052f847
add esp, 8
jmp case.0x4865f4.7
mov esi, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov edx, dword [esi + 8]
mov ecx, edx
mov word [ebp - 0x5c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486833
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004039b0
mov byte [ebp - 4], 9
xor eax, eax
mov edx, dword [esi + 0x18]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486873
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004039b0
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x5c]
mov edx, 1
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x6c]
call fcn.00440e00
mov edi, dword [ebp - 0x2c]
add esp, 0xc
mov esi, dword [ebp - 0x44]
test eax, eax
je 0x48695c
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, edi
lea eax, [ebp - 0x5c]
setae byte [ebp - 0x8d]
cmp dword [ebp - 0x30], 8
push edx
cmovae ecx, esi
setae byte [ebp - 0x8f]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0049cea0
test eax, eax
jne 0x48695c
cmp byte [ebp - 0x8d], al
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x44]
push 0
push 0
push 0
push 0
cmovne edx, edi
lea ecx, [ecx + 0x1aac]
cmp byte [ebp - 0x8f], 0
push 0
cmovne eax, esi
push edx
push eax
call fcn.00442c30
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x486997
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x48698d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push esi
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4869d2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4869c8
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push edi
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb case.0x4865f4.7
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486a0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push edx
push ecx
call fcn.0052f847
add esp, 8
jmp case.0x4865f4.7
mov esi, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov edx, dword [esi + 8]
mov ecx, edx
mov word [ebp - 0x5c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486a42
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004039b0
mov byte [ebp - 4], 0xc
xor eax, eax
mov edx, dword [esi + 0x18]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486a82
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004039b0
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x5c]
mov edx, 1
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x6c]
call fcn.00440e00
mov edi, dword [ebp - 0x2c]
add esp, 0xc
mov esi, dword [ebp - 0x44]
test eax, eax
je 0x486d50
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, edi
lea eax, [ebp - 0x5c]
setae byte [ebp - 0x8f]
cmp dword [ebp - 0x30], 8
push edx
cmovae ecx, esi
setae byte [ebp - 0x8d]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0049cea0
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xc0]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004275e0
mov ecx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xa4], eax
cmp byte [ecx + 0xd], 0
jne 0x486bbe
cmp dword [ecx + 0x24], 8
lea edx, [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x94], ecx
jb 0x486b7a
mov edx, dword [edx]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb0], ecx
mov ecx, eax
cmp dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0xb0]
cmovb eax, dword [ebp - 0x94]
push eax
call fcn.004067b0
add esp, 4
test eax, eax
je 0x486c9d
shr eax, 0x1f
test al, al
je 0x486cac
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
cmp eax, ecx
je 0x486cbd
cmp byte [ebp - 0x8d], 0
mov byte [ebp - 0x8e], 1
mov byte [ebp - 4], 0xd
je 0x486c14
mov ecx, dword [ebp - 0x30]
mov eax, esi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x486c0a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push esi
call fcn.0052f847
add esp, 8
cmp byte [ebp - 0x8f], 0
mov byte [ebp - 4], 0xc
je 0x486c53
mov ecx, dword [ebp - 0x18]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x486c49
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push edi
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb case.0x4865f4.7
mov edx, dword [ebp - 0xa4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x486c8e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487711
push ecx
push edx
call fcn.0052f847
add esp, 8
jmp case.0x4865f4.7
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x94]
jb 0x486bbe
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xc0]
jmp 0x486bc6
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00426b80
cmp dword [ebp - 0xac], 0
jne 0x486d50
push 0x90
call fcn.0052f855
mov edx, eax
add esp, 4
mov dword [ebp - 0x12c], edx
cmp byte [ebp - 0x8f], 0
lea ecx, [ebp - 0x2c]
push 0
cmovne ecx, edi
mov byte [ebp - 4], 0xf
cmp byte [ebp - 0x8d], 0
lea eax, [ebp - 0x44]
push 0
push ecx
cmovne eax, esi
mov ecx, edx
push eax
call fcn.004da220
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00426b80
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x486d60
inc eax
push eax
push esi
call fcn.00403cf0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x486d70
inc eax
push eax
push edi
call fcn.00403cf0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb case.0x4865f4.7
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.00403cf0
jmp case.0x4865f4.7
mov edi, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov edx, dword [edi + 8]
mov ecx, edx
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486db4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004039b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004266e0
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0xc0]
je 0x486f65
cmp dword [eax + 0x28], 0
jne 0x486f65
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004275e0
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x94], edx
cmp byte [edx + 0xd], 0
jne 0x486e76
mov esi, dword [edx + 0x20]
add edx, 0x10
cmp dword [edx + 0x14], 8
jb 0x486e3f
mov edx, dword [edx]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
mov eax, edi
cmovae ecx, dword [ebp - 0x2c]
cmp esi, edi
cmovb eax, esi
push eax
call fcn.004067b0
add esp, 4
test eax, eax
je 0x486eec
shr eax, 0x1f
test al, al
je 0x486ef0
mov eax, dword [ebp - 0xb8]
mov edi, eax
mov dword [ebp - 0x94], edi
cmp edi, eax
je 0x4870c5
mov esi, dword [ebp - 0xd0]
lea ecx, [esi + 0x30]
call fcn.00455250
movzx eax, al
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x4870c5
lea eax, [esi + 0x40]
mov dword [ebp - 0xac], eax
nop
mov ecx, eax
call fcn.00402980
mov edi, dword [edi + 0x28]
mov ecx, edi
movzx esi, ax
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.004da6b0
movsx edx, si
cmp edx, dword [edi + 0x48]
jge 0x486efe
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x486efe
lea eax, [edx + edx*2]
add eax, eax
mov esi, dword [ecx + eax*8 + 0x28]
mov dword [ebp - 0xd8], esi
jmp 0x486f04
cmp edi, esi
jb 0x486e70
mov eax, dword [ebp - 0xb8]
mov edi, dword [ebp - 0x94]
jmp 0x486e7e
mov esi, dword [ebp - 0xd8]
cmp dword [edi + 0x8c], 8
lea ecx, [edi + 0x78]
jb 0x486f12
mov ecx, dword [ecx]
cmp dword [edi + 0x74], 8
lea eax, [edi + 0x60]
jb 0x486f1d
mov eax, dword [eax]
push 0
push 0
push 0
push esi
push dword [ebp - 0x118]
push edx
push ecx
mov ecx, dword [ebp - 0x98]
push eax
lea ecx, [ecx + 0x1aac]
call fcn.00442fe0
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0x94]
add eax, 0x10
sub dword [ebp - 0xb0], 1
mov dword [ebp - 0xac], eax
jne 0x486eb0
jmp 0x4870c5
mov esi, dword [0x5e65a4]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
mov ecx, dword [esi]
test ecx, ecx
je 0x486fa6
cmp dword [ecx], 0
je 0x486fa6
push eax
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.004986b0
mov eax, dword [ebp - 0x114]
cmp eax, dword [esi + 0x534]
je 0x486fa6
mov eax, dword [eax + 0x28]
mov esi, dword [eax + 8]
jmp 0x486fa8
xor esi, esi
lea ecx, [edi + 0x30]
mov dword [ebp - 0x94], esi
call fcn.00455250
movzx eax, al
mov dword [ebp - 0xac], eax
test eax, eax
je 0x4870c5
lea eax, [edi + 0x40]
mov dword [ebp - 0xb0], eax
mov ecx, eax
call fcn.00402980
mov esi, dword [esi + 0x288]
movzx ecx, ax
movsx edi, cx
mov dword [ebp - 0xa4], ecx
mov eax, edi
test esi, esi
je 0x48705b
cmp eax, dword [esi + 0x48]
jge 0x48704c
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x2f8]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x487016
cmp dword [ecx + 0x28c], 0
je 0x487016
mov eax, dword [ecx + 0x290]
cmp dword [edx + eax*4], 0
jne 0x4870a3
lea eax, [ebp - 0xdc]
mov ecx, esi
push eax
push dword [ebp - 0xa4]
call fcn.004da6b0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x48705b
lea eax, [edi + edi*2]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x28]
mov dword [ebp - 0x110], eax
jmp 0x48705b
lea eax, [ebp - 0xdc]
push eax
push ecx
mov ecx, esi
call fcn.004da6b0
mov esi, dword [ebp - 0x94]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
call eax
cmp dword [esi + 0x2b8], 8
lea edx, [esi + 0x2a4]
jb 0x48707b
mov edx, dword [edx]
mov ecx, dword [ebp - 0x98]
push 0
push 0
push 0
push dword [ebp - 0x110]
lea ecx, [ecx + 0x1aac]
push dword [ebp - 0xdc]
push edi
push eax
push edx
call fcn.00442fe0
jmp 0x4870a9
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xb0]
add eax, 0x10
sub dword [ebp - 0xac], 1
mov dword [ebp - 0xb0], eax
jne 0x486fd0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb case.0x4865f4.7
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403cf0
jmp case.0x4865f4.7
mov ecx, dword [ebp - 0xd0]
call fcn.004552f0
mov dword [ebp - 0xa8], eax
jmp case.0x4865f4.7
mov edi, dword [ebp - 0xd0]
mov ecx, edi
call fcn.00455250
lea ecx, [edi + 0x10]
mov byte [ebp - 0x8d], al
call fcn.00402980
movzx ecx, ax
movsx esi, cx
mov ecx, dword [ebp - 0x98]
push esi
push 9
call fcn.0046ced0
test eax, eax
jne 0x487135
mov byte [ebp - 0x8e], 1
jmp case.0x4865f4.7
lea ecx, [edi + 0x20]
call fcn.004550f0
mov al, byte [ebp - 0x8d]
movaps xmm1, xmm0
movss dword [ebp - 0xa4], xmm1
cvttss2si edi, xmm1
test al, al
jns 0x487182
mov ecx, dword [ebp - 0x98]
push edi
push 9
call fcn.0046ced0
test eax, eax
jne 0x487174
mov byte [ebp - 0x8e], 1
jmp case.0x4865f4.7
movss xmm1, dword [ebp - 0xa4]
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0x108]
test al, al
jns 0x487191
movss xmm1, dword [ecx + edi*4]
movzx eax, al
and eax, 0x7f
cmp eax, 4
ja case.0x4865f4.7
jmp dword [eax*4 + 0x48789c]
movss dword [ecx + esi*4], xmm1
jmp case.0x4865f4.7
addss xmm1, dword [ecx + esi*4]
movss dword [ecx + esi*4], xmm1
jmp case.0x4865f4.7
movss xmm0, dword [ecx + esi*4]
subss xmm0, xmm1
movss dword [ecx + esi*4], xmm0
jmp case.0x4865f4.7
mulss xmm1, dword [ecx + esi*4]
movss dword [ecx + esi*4], xmm1
jmp case.0x4865f4.7
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x4865f4.7
movss xmm0, dword [ecx + esi*4]
divss xmm0, xmm1
movss dword [ecx + esi*4], xmm0
jmp case.0x4865f4.7
mov esi, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov edx, dword [esi + 8]
mov ecx, edx
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487230
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004039b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
push dword [esi + 0x18]
call fcn.00403760
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x44]
je 0x4872ef
cmp esi, 8
lea eax, [ebp - 0x44]
cmovae eax, edi
cmp word [eax], 0x40
jne 0x4872ef
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004266e0
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0xa0]
je 0x4872b2
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00488db0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00488e00
lea ecx, [ebp - 0x2c]
call fcn.00403950
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb case.0x4865f4.7
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403cf0
jmp case.0x4865f4.7
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x8e], 1
call fcn.00403950
cmp esi, 8
jb case.0x4865f4.7
lea eax, [esi + 1]
push eax
push edi
call fcn.00403cf0
jmp case.0x4865f4.7
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x44]
push dword [eax + 8]
call fcn.00403760
cmp dword [ebp - 0x34], 0
je 0x48737d
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp word [eax], 0x40
jne 0x48737d
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004266e0
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xa0]
je 0x487375
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00488db0
lea ecx, [ebp - 0x44]
jmp 0x4876d3
mov byte [ebp - 0x8e], 1
lea ecx, [ebp - 0x44]
jmp 0x4876d3
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0xa0]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00404230
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebp - 0x9c], 0
jmp case.0x4865f4.7
mov esi, dword [ebp - 0xd0]
lea ecx, [ebp - 0x44]
push dword [esi + 8]
call fcn.00403760
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x13
call fcn.00402980
lea ecx, [esi + 0x20]
movzx edi, ax
call fcn.00402980
push dword [esi + 0x38]
movzx eax, ax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
call fcn.00403760
cmp dword [ebp - 0x34], 0
je 0x4875f9
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp word [eax], 0x40
jne 0x4875f9
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
push ecx
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0x15
call fcn.004194e0
mov ecx, dword [ebp - 0x98]
movsx edi, di
push edi
push 0x72
mov byte [ebp - 4], 0x16
call fcn.0046ced0
test eax, eax
je 0x4874b2
mov eax, dword [ebp - 0xa4]
test ax, ax
jle 0x48749a
cwde
cdq
push edx
push eax
lea eax, [ebp - 0x178]
push eax
call dword [0x5a6300]
add esp, 0xc
lea ecx, [ebp - 0x210]
mov edx, eax
call fcn.004200d0
mov esi, eax
push 0x30
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
call dword [0x5a62fc]
mov ecx, esi
jmp 0x4874a0
lea ecx, [ebp - 0x210]
mov eax, dword [ebp - 0x108]
cvttss2si eax, dword [eax + edi*4]
push eax
call dword [0x5a634c]
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x210]
cmovae edx, dword [ebp - 0x5c]
call fcn.0041fbf0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004266e0
mov esi, dword [ebp - 0xf8]
cmp esi, dword [ebp - 0xa0]
je 0x48752c
cmp dword [esi + 0x3c], 8
lea edx, [esi + 0x28]
jb 0x4874f7
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487500
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004039b0
push esi
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00488db0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00419400
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
push dword [ebp - 0x64]
cmovae ecx, dword [ebp - 0x74]
push ecx
push 0
mov ecx, eax
call fcn.0040aeb0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403720
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x487575
inc eax
push eax
push dword [ebp - 0x74]
call fcn.00403cf0
movups xmm0, xmmword [ebp - 0x2c]
xor eax, eax
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.00403950
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
call fcn.00403950
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00488e00
lea ecx, [ebp - 0x210]
call fcn.00417550
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x4875e9
inc eax
push eax
push dword [ebp - 0x74]
call fcn.00403cf0
lea ecx, [ebp - 0x5c]
call fcn.00403950
lea ecx, [ebp - 0x44]
jmp 0x4876d3
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x8e], 1
call fcn.00403950
lea ecx, [ebp - 0x44]
jmp 0x4876d3
mov esi, dword [ebp - 0xd0]
lea ecx, [ebp - 0x5c]
push dword [esi + 8]
call fcn.00403760
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2c]
push dword [esi + 0x18]
call fcn.00403760
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004266e0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004266e0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xa0]
cmp eax, ecx
je 0x4876c8
mov esi, dword [ebp - 0xf0]
cmp esi, ecx
je 0x4876c8
lea edi, [eax + 0x28]
push edi
lea ecx, [ebp - 0x44]
call fcn.004037a0
add esi, 0x28
mov byte [ebp - 4], 0x1a
cmp edi, esi
je 0x4876a6
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48769b
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004039b0
lea eax, [ebp - 0x44]
cmp esi, eax
je 0x4876c0
cmp dword [ebp - 0x30], 8
mov ecx, esi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004039b0
lea ecx, [ebp - 0x44]
call fcn.00403950
lea ecx, [ebp - 0x2c]
call fcn.00403950
lea ecx, [ebp - 0x5c]
call fcn.00403950
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00403830
cmp byte [ebp - 0x8e], 0
jne 0x486511
mov edx, dword [ebp - 0xe4]
mov edi, dword [ebp - 0x98]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xe8]
jmp 0x486434
call dword [0x5a67b8]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x48772b
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x487721
cmp esi, dword [ebp - 0xb8]
jne 0x486521
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x487753
mov eax, dword [ebp - 0xc4]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.004057a0
mov eax, dword [ebp - 0xb8]
push dword [eax + 4]
lea eax, [ebp - 0xb8]
push eax
mov ecx, eax
call fcn.004276c0
push 0x2c
push dword [ebp - 0xb8]
call fcn.0052f847
mov eax, dword [ebp - 0xc0]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0xc0]
push eax
mov ecx, eax
call fcn.004276c0
push 0x2c
push dword [ebp - 0xc0]
call fcn.0052f847
mov eax, dword [ebp - 0xa0]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0xa0]
push eax
mov ecx, eax
call fcn.00404230
push 0x40
push dword [ebp - 0xa0]
call fcn.0052f847
add esp, 8
lea ecx, [ebp - 0x108]
call fcn.0040acf0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret