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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.00472a69
mov eax, dword [ebx + 0x668]
mov ecx, dword [ebx + 0x688]
lea esi, [ebx + 0x174]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 8], eax
mov eax, dword [ebx + 0x66c]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x670]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x674]
sub dword [ebp + 0x14], eax
test ecx, ecx
je 0x489d7a
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x489d7a
mov ecx, dword [ebx + 0x688]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x68c]
test ecx, ecx
je 0x489da1
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x489da1
mov ecx, dword [ebx + 0x68c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x660], 0
jne 0x489db3
push 0
push 0
jmp 0x48a490
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x68c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
test ecx, ecx
je 0x489ded
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x489ded
mov eax, dword [ebx + 0x68c]
add edi, dword [eax + 0x65c]
mov dword [esp + 0x4c], edi
mov ecx, dword [ebx + 0x688]
test ecx, ecx
je 0x489e13
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x489e13
mov eax, dword [ebx + 0x688]
add esi, dword [eax + 0x65c]
mov dword [esp + 0x50], esi
xor eax, eax
cmp dword [ebx + 0x660], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jle 0x48a012
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x489ffe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
jne 0x489ffe
mov eax, dword [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x50]
push ecx
mov ecx, esi
mov dword [esp + 0x34], edi
call dword [eax + 0x64]
sub edi, dword [esp + 0x44]
mov eax, dword [esi]
sub edi, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x30], edi
call dword [eax + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
jg 0x489eb8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], 0
jg 0x489ecd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], eax
jle 0x489edb
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
cmp edi, eax
jle 0x489ee7
mov dword [esp + 0x30], eax
and dword [esp + 0xc], 0
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
test eax, eax
mov eax, dword [esi]
jne 0x489f10
inc dword [esp + 0x28]
mov ecx, esi
call dword [eax + 0x84]
mov edi, eax
jmp 0x489f74
push dword [esp + 0x30]
lea ecx, [esp + 0x68]
push dword [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x489f38
inc dword [esp + 0x28]
jmp 0x489f74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0xc], eax
jge 0x489f56
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0xc], eax
jle 0x489f74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call dword [eax + 0x64]
add eax, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [eax]
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
add eax, dword [ecx]
add dword [esp + 0x14], eax
test edi, edi
jg 0x489fac
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp edi, eax
jge 0x489fc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
cmp edi, eax
jle 0x489fe0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, eax
mov eax, dword [esp + 0x44]
add edi, eax
mov eax, dword [esp + 0x3c]
add eax, edi
cmp dword [esp + 0x48], eax
jg 0x489ff6
mov dword [esp + 0x48], eax
inc dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0x660]
jl 0x489e35
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x678]
dec eax
imul ecx, eax
add dword [esp + 0x14], ecx
xor ecx, ecx
cmp dword [esp + 0x28], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], ecx
jle 0x48a04f
mov eax, edi
sub eax, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
cdq
idiv dword [esp + 0x28]
cmp eax, ecx
jl 0x48a04f
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + 0x68c]
mov esi, dword [ebp + 8]
mov dword [esp + 0x64], edi
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x48a080
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x48a080
mov eax, dword [ebx + 0x68c]
sub esi, dword [eax + 0x660]
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [ebx + 0x660], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jle 0x48a47c
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x58], esi
call dword [eax + 0xdc]
test al, al
je 0x48a468
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x48a0e6
push dword [esp + 0x1c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x48a468
mov eax, dword [esi]
inc dword [esp + 0x5c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x30], edi
sub edi, dword [esp + 0x44]
mov dword [esp + 0x64], eax
sub edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
jg 0x48a144
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], 0
jg 0x48a159
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], eax
jle 0x48a167
mov dword [esp + 0x2c], eax
cmp edi, dword [esp + 0x20]
jle 0x48a171
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add ecx, eax
sub dword [esp + 0x14], ecx
cmp dword [esp + 0x5c], 1
jle 0x48a190
mov eax, dword [ebx + 0x678]
sub dword [esp + 0x14], eax
mov eax, dword [esi]
push edi
push dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
test eax, eax
je 0x48a1fc
cmp dword [esp + 0xc], 0
je 0x48a1fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0xc], eax
jge 0x48a1d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0xc], eax
jle 0x48a1f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
sub dword [esp + 0x14], eax
jmp 0x48a267
mov eax, dword [esp + 0x60]
inc dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x28]
jne 0x48a22b
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x40]
sub eax, dword [esp + 0x14]
jns 0x48a227
and dword [esp + 0xc], 0
jmp 0x48a22b
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0xc], eax
jge 0x48a249
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0xc], eax
jle 0x48a267
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48a28b
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
test eax, eax
jge 0x48a293
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, edi
jle 0x48a29b
mov dword [esp + 0x10], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x10], eax
jge 0x48a2b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x170]
cmp eax, 4
jne 0x48a359
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [ebx + 0x688]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
test ecx, ecx
je 0x48a30a
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x48a30a
mov ecx, dword [ebx + 0x688]
mov eax, dword [ecx + 0x65c]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x660]
add esi, eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x90], eax
mov eax, edi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov eax, esi
sub eax, edx
mov edx, dword [esp + 0xc]
add edx, ecx
add edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
add eax, edi
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
lea esi, [esp + 0x90]
jmp 0x48a426
mov ecx, dword [ebx + 0x688]
cmp eax, 8
jne 0x48a3d1
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x48a38b
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x48a38b
mov eax, dword [ebx + 0x688]
mov ecx, dword [eax + 0x65c]
sub ecx, dword [eax + 0x660]
add esi, ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
mov dword [esp + 0x80], edx
mov edx, esi
sub edx, dword [esp + 0x10]
sub edx, dword [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xc]
add edx, eax
add edx, ecx
sub esi, dword [esp + 0x44]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
lea esi, [esp + 0x80]
jmp 0x48a426
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x48a3f0
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x48a3f0
mov eax, dword [ebx + 0x688]
sub esi, dword [eax + 0x660]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
lea ecx, [eax + edx]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
lea edi, [esi + ecx]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0xc]
add edi, eax
mov eax, dword [esp + 0x10]
add esi, eax
add edi, edx
add esi, ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edi
lea esi, [esp + 0x70]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x678]
lea esi, [eax + ecx]
add esi, dword [esp + 0x38]
add esi, edx
add dword [esp + 0x18], esi
lea esi, [eax + ecx]
add esi, dword [esp + 0x38]
add eax, ecx
add dword [esp + 0x34], esi
add eax, edx
sub dword [esp + 0x64], eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0x660]
jl 0x48a0a2
mov ecx, dword [ebx + 0x678]
imul ecx, dword [esp + 0x6c]
push dword [esp + 0x48]
add ecx, dword [esp + 0x38]
push ecx
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1e0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14