Function at 0x47fa49
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.0045dfe2
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 0x47fac5
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x47fac5
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 0x47faec
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x47faec
mov ecx, dword [ebx + 0x68c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x660], edi
jne 0x47fafb
push edi
push edi
jmp 0x48016f
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x68c]
sub esi, dword [ebp + 8]
cmp ecx, edi
je 0x47fb23
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x47fb23
mov eax, dword [ebx + 0x68c]
add esi, dword [eax + 0x65c]
mov ecx, dword [ebx + 0x688]
cmp ecx, edi
je 0x47fb35
mov eax, dword [ecx]
call dword [eax + 0xdc]
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jle 0x47fb84
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 0x47fb72
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
test al, al
jne 0x47fb72
inc dword [esp + 0x18]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x660]
jl 0x47fb45
xor edi, edi
mov eax, dword [ebx + 0x6a0]
mov ecx, dword [ebx + 0x678]
mov dword [esp + 0x1c], ecx
cmp eax, edi
jne 0x47fc2d
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp + 8]
mov esi, dword [ebx + 0x690]
cmp edi, esi
jl 0x47fbec
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 0x47fbe5
xor edi, edi
cmp dword [esp + 0x1c], edi
jg 0x47fbfa
mov edx, ecx
imul edx, esi
sub eax, edx
dec ecx
cdq
idiv ecx
cmp eax, edi
mov dword [esp + 0x1c], eax
jge 0x47fbfa
mov dword [esp + 0x1c], edi
jmp 0x47fbfa
and dword [esp + 0x1c], 0
jmp 0x47fbfa
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 0x47fcf9
cmp eax, 1
mov dword [ebx + 0x698], eax
jle 0x47fca0
cmp ecx, edi
jg 0x47fc9a
mov ecx, dword [ebx + 0x68c]
cmp ecx, edi
je 0x47fc7f
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x47fc7f
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 0x47fc7d
mov eax, dword [ebp + 0x10]
sub eax, ecx
sub eax, dword [ebp + 8]
lea ecx, [edx - 1]
cdq
idiv ecx
xor edi, edi
jmp 0x47fc96
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 0x47fca4
mov dword [esp + 0x1c], edi
mov ecx, dword [ebx + 0x698]
mov edx, dword [esp + 0x18]
cmp edx, ecx
mov esi, dword [ebx + 0x690]
jl 0x47fcc0
lea eax, [ecx - 1]
imul esi, ecx
jmp 0x47fcc6
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 0x480167
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 0x480153
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x47fd4a
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x480153
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 0x47fd9e
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 0x47fdbc
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 0x47fdc8
mov dword [esp + 0x10], edi
cmp dword [esp + 0x14], edi
jge 0x47fdd2
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 0x47fe31
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x47fe31
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 0x47fe6d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xdc]
test al, al
je 0x47fe6b
mov eax, dword [ebx + 0x688]
sub edi, dword [eax + 0x660]
xor ecx, ecx
cmp dword [esp + 0x40], 1
jne 0x47ff85
mov eax, dword [ebx + 0x690]
sub eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp dword [esp + 0x18], 4
jne 0x47feec
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 0x48013e
push ecx
sub esp, 0x10
cmp dword [esp + 0x2c], 8
jne 0x47ff3e
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 0x480142
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 0x480142
cmp dword [esp + 0x40], 2
jne 0x48006f
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 0x47fffb
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 0x48013e
push ecx
sub esp, 0x10
cmp dword [esp + 0x2c], 8
jne 0x48003d
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 0x480142
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 0x480142
mov eax, dword [esp + 0x24]
add eax, esi
sub esi, dword [esp + 0x2c]
add esi, dword [esp + 0x10]
cmp dword [esp + 0x18], 4
jne 0x4800c9
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 0x48013e
cmp dword [esp + 0x18], 8
jne 0x48010d
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 0x48013e
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 0x47fd09
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