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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
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
xor edi, edi
cmp ecx, edi
je 0x489587
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x489587
mov ecx, dword [ebx + 0x688]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x68c]
cmp ecx, edi
je 0x4895ae
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x4895ae
mov ecx, dword [ebx + 0x68c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x660], edi
jne 0x4895bd
push edi
push edi
jmp 0x489c31
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x68c]
sub esi, dword [ebp + 8]
cmp ecx, edi
je 0x4895e5
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x4895e5
mov eax, dword [ebx + 0x68c]
add esi, dword [eax + 0x65c]
mov ecx, dword [ebx + 0x688]
cmp ecx, edi
je 0x4895f7
mov eax, dword [ecx]
call dword [eax + 0xdc]
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jle 0x489646
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xdc]
test al, al
je 0x489634
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
test al, al
jne 0x489634
inc dword [esp + 0x18]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x660]
jl 0x489607
xor edi, edi
mov eax, dword [ebx + 0x6a0]
mov ecx, dword [ebx + 0x678]
mov dword [esp + 0x1c], ecx
cmp eax, edi
jne 0x4896ef
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp + 8]
mov esi, dword [ebx + 0x690]
cmp edi, esi
jl 0x4896ae
mov eax, edi
cdq
idiv esi
mov ecx, eax
cmp ecx, 1
mov eax, edi
mov dword [ebx + 0x698], ecx
mov dword [esp + 0x38], eax
jle 0x4896a7
xor edi, edi
cmp dword [esp + 0x1c], edi
jg 0x4896bc
mov edx, ecx
imul edx, esi
sub eax, edx
dec ecx
cdq
idiv ecx
cmp eax, edi
mov dword [esp + 0x1c], eax
jge 0x4896bc
mov dword [esp + 0x1c], edi
jmp 0x4896bc
and dword [esp + 0x1c], 0
jmp 0x4896bc
mov dword [ebx + 0x698], 1
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x18]
dec eax
cdq
idiv dword [ebx + 0x698]
mov edx, dword [ebx + 0x694]
inc eax
lea ecx, [eax - 1]
imul edx, eax
imul ecx, dword [ebx + 0x6a4]
add ecx, edx
mov dword [ebx + 0x69c], eax
mov dword [esp + 0x3c], ecx
xor edi, edi
jmp 0x4897bb
cmp eax, 1
mov dword [ebx + 0x698], eax
jle 0x489762
cmp ecx, edi
jg 0x48975c
mov ecx, dword [ebx + 0x68c]
cmp ecx, edi
je 0x489741
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x489741
mov edx, dword [ebx + 0x698]
mov ecx, dword [ebx + 0x690]
mov eax, dword [ebp + 0x10]
imul ecx, edx
sub eax, dword [ebp + 8]
cmp eax, ecx
jl 0x48973f
mov eax, dword [ebp + 0x10]
sub eax, ecx
sub eax, dword [ebp + 8]
lea ecx, [edx - 1]
cdq
idiv ecx
xor edi, edi
jmp 0x489758
xor edi, edi
mov ecx, dword [ebx + 0x698]
mov edx, dword [ebx + 0x690]
imul edx, ecx
mov eax, esi
sub eax, edx
cdq
dec ecx
idiv ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], edi
jge 0x489766
mov dword [esp + 0x1c], edi
mov ecx, dword [ebx + 0x698]
mov edx, dword [esp + 0x18]
cmp edx, ecx
mov esi, dword [ebx + 0x690]
jl 0x489782
lea eax, [ecx - 1]
imul esi, ecx
jmp 0x489788
lea eax, [edx - 1]
imul esi, edx
imul eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x38], eax
lea eax, [edx - 1]
cdq
idiv ecx
mov edx, dword [ebx + 0x694]
lea ecx, [eax + 1]
lea eax, [ecx - 1]
imul edx, ecx
imul eax, dword [ebx + 0x6a4]
add eax, edx
mov dword [ebx + 0x69c], ecx
mov dword [esp + 0x3c], eax
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x20], edi
jle 0x489c29
mov eax, dword [ebx + 0x65c]
mov edi, dword [esp + 0x20]
mov esi, dword [eax + edi*4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x34], esi
call dword [eax + 0xdc]
test al, al
je 0x489c15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x48980c
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x489c15
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x64]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov edi, dword [ebx + 0x690]
mov eax, dword [ebx + 0x694]
add edx, ecx
mov ecx, dword [esp + 0x28]
sub edi, edx
mov edx, dword [esp + 0x30]
add edx, ecx
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], edi
call dword [eax + 0x94]
cmp edi, eax
jle 0x489860
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
cmp dword [esp + 0x14], eax
jle 0x48987e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov dword [esp + 0x14], eax
xor edi, edi
cmp dword [esp + 0x10], edi
jge 0x48988a
mov dword [esp + 0x10], edi
cmp dword [esp + 0x14], edi
jge 0x489894
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x168]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x170]
mov ecx, dword [ebx + 0x698]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
cdq
idiv ecx
mov esi, dword [ebx + 0x690]
add esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x68c]
imul esi, edx
add esi, dword [ebp + 8]
mov dword [esp + 0x44], eax
cmp ecx, edi
je 0x4898f3
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x4898f3
mov eax, dword [ebx + 0x68c]
sub esi, dword [eax + 0x660]
mov edi, dword [ebx + 0x6a4]
add edi, dword [ebx + 0x694]
mov eax, dword [ebx + 0x688]
imul edi, dword [esp + 0x44]
add edi, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x48992f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xdc]
test al, al
je 0x48992d
mov eax, dword [ebx + 0x688]
sub edi, dword [eax + 0x660]
xor ecx, ecx
cmp dword [esp + 0x40], 1
jne 0x489a47
mov eax, dword [ebx + 0x690]
sub eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp dword [esp + 0x18], 4
jne 0x4899ae
mov dword [esp + 0x18], eax
add eax, esi
add eax, dword [esp + 0x24]
sub esi, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x694]
sub eax, dword [esp + 0x14]
add esi, dword [esp + 0x18]
cdq
add esi, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea edx, [edi + eax]
sub edi, dword [esp + 0x30]
add edx, dword [esp + 0x28]
add edi, dword [esp + 0x14]
mov dword [esp + 0xa0], esi
add edi, eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa4], edi
lea esi, [esp + 0x98]
jmp 0x489c00
push ecx
sub esp, 0x10
cmp dword [esp + 0x2c], 8
jne 0x489a00
mov dword [esp + 0x2c], eax
add eax, esi
add eax, dword [esp + 0x38]
sub esi, dword [esp + 0x40]
mov edx, edi
sub edx, dword [esp + 0x28]
add esi, dword [esp + 0x2c]
sub edi, dword [esp + 0x44]
add esi, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x694]
add edx, eax
add edx, dword [esp + 0x3c]
add edi, eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], edi
lea esi, [esp + 0x5c]
jmp 0x489c04
lea edx, [esi + eax]
add edx, dword [esp + 0x38]
sub esi, dword [esp + 0x40]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x3c]
add edx, edi
sub edi, dword [esp + 0x44]
add esi, eax
add esi, dword [esp + 0x24]
add edi, dword [esp + 0x28]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], edi
lea esi, [esp + 0x8c]
jmp 0x489c04
cmp dword [esp + 0x40], 2
jne 0x489b31
mov eax, dword [ebx + 0x690]
mov edx, esi
sub edx, dword [esp + 0x10]
sub esi, dword [esp + 0x2c]
add edx, eax
add edx, dword [esp + 0x24]
cmp dword [esp + 0x18], 4
jne 0x489abd
mov eax, dword [ebx + 0x694]
sub eax, dword [esp + 0x14]
add esi, dword [ebx + 0x690]
mov dword [esp + 0xb8], edx
cdq
sub eax, edx
sar eax, 1
lea edx, [edi + eax]
sub edi, dword [esp + 0x30]
add edx, dword [esp + 0x28]
add edi, dword [esp + 0x14]
mov dword [esp + 0xc0], esi
add edi, eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc4], edi
lea esi, [esp + 0xb8]
jmp 0x489c00
push ecx
sub esp, 0x10
cmp dword [esp + 0x2c], 8
jne 0x489aff
mov eax, dword [ebx + 0x694]
add esi, dword [ebx + 0x690]
mov dword [esp + 0x6c], edx
mov edx, edi
sub edx, dword [esp + 0x28]
sub edi, dword [esp + 0x44]
add edx, eax
add edx, dword [esp + 0x3c]
add edi, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], edi
lea esi, [esp + 0x6c]
jmp 0x489c04
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x3c]
add edx, edi
sub edi, dword [esp + 0x44]
add esi, eax
add edi, dword [esp + 0x28]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], edi
lea esi, [esp + 0x7c]
jmp 0x489c04
mov eax, dword [esp + 0x24]
add eax, esi
sub esi, dword [esp + 0x2c]
add esi, dword [esp + 0x10]
cmp dword [esp + 0x18], 4
jne 0x489b8b
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x694]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x90], esi
cdq
sub eax, edx
sar eax, 1
lea edx, [edi + eax]
sub edi, dword [esp + 0x30]
add edx, dword [esp + 0x28]
add edi, dword [esp + 0x14]
mov dword [esp + 0x8c], edx
add edi, eax
mov dword [esp + 0x94], edi
lea esi, [esp + 0x88]
jmp 0x489c00
cmp dword [esp + 0x18], 8
jne 0x489bcf
mov edx, edi
sub edx, dword [esp + 0x14]
sub edi, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x694]
add edx, eax
add edx, dword [esp + 0x28]
add edi, eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], edi
lea esi, [esp + 0xa8]
jmp 0x489c00
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x28]
add eax, edi
sub edi, dword [esp + 0x30]
mov dword [esp + 0xd0], esi
add edi, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], edi
lea esi, [esp + 0xc8]
push ecx
sub esp, 0x10
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x4c]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x660]
jl 0x4897cb
push dword [esp + 0x3c]
push dword [esp + 0x3c]
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