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

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
cmp dword [ebx + 0x2e8], 0
lea eax, [ebx + 0x2e8]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
je 0x1006c728
push edi
push eax
call fcn.1006d540
add esp, 8
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x10], eax
mov al, byte [ebx + 8]
mov byte [esi + 0x424], al
mov eax, dword [ebx + 4]
mov dword [esi + 0x3fc], eax
mov eax, dword [ebx]
sub eax, 1
je 0x1006c75f
sub eax, 1
je 0x1006c756
mov byte [esi + 0x438], 0
jmp 0x1006c766
mov byte [esi + 0x438], 2
jmp 0x1006c766
mov byte [esi + 0x438], 1
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0xe4]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0xe8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
movd xmm1, dword [ebx + 0x2c]
movd xmm0, dword [ebx + 0x28]
cvtdq2pd xmm1, xmm1
push ebp
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esi], xmm1
cmp dword [ebx + 0x34], 2
jl 0x1006c7c5
mov eax, 0x8d3dcb09
mul dword [ebx + 0x68]
shr edx, 7
dec edx
jmp 0x1006c7c8
mov edx, dword [ebx + 0x14]
mov dword [esi + 0xc], edx
lea ecx, [ebx + 0x28]
comisd xmm1, xmmword [0x1058db30]
mov eax, dword [edi + 0x1a8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x1ac]
mov dword [esi + 0x14], eax
jbe 0x1006c7fd
movsd xmm0, qword [0x1058db28]
movsd qword [esi], xmm0
mov byte [esi + 0x39e], 0
mov eax, dword [edi + 0xa8]
cmp eax, 1
je 0x1006c816
cmp eax, 2
je 0x1006c816
mov byte [esi + 0x39e], 0
jmp 0x1006c83b
lea ecx, [ebx + 0x28]
mov byte [esi + 0x39e], 1
mov eax, dword [ecx]
mov dword [esi + 0x388], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x38c], eax
mov dword [esi + 0x394], 1
mov eax, dword [edi + 0xa8]
cmp eax, 1
jne 0x1006c857
mov dword [esi + 0x390], eax
mov word [esi + 0x39c], 0x100
jmp 0x1006c877
cmp eax, 2
jne 0x1006c877
mov eax, dword [ecx]
mov dword [esi + 0x398], eax
mov dword [esi + 0x390], 0
mov word [esi + 0x39c], 0x101
mov eax, dword [ebx + 0x34]
mov ecx, esi
mov dword [esi + 0x428], eax
mov edx, 0x42c
mov eax, dword [edi + 0x20c]
cmp eax, 0xffffffff
jne 0x1006c89b
xor eax, eax
cmp dword [ebx + 0x34], eax
setne al
inc eax
mov dword [edx + ecx], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x94], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x98], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x9c], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0xbc], eax
mov eax, dword [edi + 0x1f0]
mov dword [esi + 0xa0], eax
cmp dword [edi + 0x70], 0
je 0x1006c8d8
xor eax, eax
jmp 0x1006c8e3
push dword [ebx + 0x78]
call fcn.1007d440
add esp, 4
mov dword [esi + 0xb4], eax
cmp dword [edi + 0x70], 0
je 0x1006c8f3
xor eax, eax
jmp 0x1006c8fe
push dword [ebx + 0x7c]
call fcn.1007d440
add esp, 4
mov dword [esi + 0xb0], eax
push dword [edi + 0x60]
call fcn.1007d440
mov dword [esi + 0xb8], eax
add esp, 4
cmp dword [esp + 0x14], 0
mov eax, dword [ebx + 0x80]
mov dword [esi + 0xa8], eax
mov eax, dword [ebx + 0x84]
mov dword [esi + 0xac], eax
jne 0x1006c95d
mov dword [esi + 0x80], 0x3a980
mov eax, 0xea60
mov dword [esi + 0x84], 0
mov dword [esi + 0x70], 0xea60
mov dword [esi + 0x74], 0
jmp 0x1006c989
mov eax, dword [ebx + 0x88]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0
mov eax, dword [ebx + 0x8c]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 0
mov eax, dword [ebx + 0x90]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
imul eax, dword [ebx + 0x74], 0x3e8
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0xa4], eax
mov eax, dword [edi + 0x1c8]
mov dword [esi + 0x90], eax
mov eax, dword [ebx + 0x94]
mov dword [esi + 0xc0], eax
mov eax, dword [ebx + 0x98]
mov dword [esi + 0xc4], eax
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0xc8], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x108], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x114], eax
cmp dword [ebx], 1
jne 0x1006c9fe
xor eax, eax
jmp 0x1006ca01
mov eax, dword [edi + 0x78]
test eax, eax
lea ecx, [ebx + 0xb8]
setne al
mov byte [esi + 0x118], al
cmp dword [edi + 0x7c], 0
setne al
mov byte [esi + 0x119], al
cmp dword [edi + 0x190], 0
setne al
mov byte [esi + 0x124], al
cmp dword [edi + 0x144], 0
je 0x1006ca41
cmp dword [ecx], 0
jne 0x1006ca41
mov al, 1
jmp 0x1006ca43
xor al, al
mov byte [esi + 0x121], al
mov eax, dword [edi + 0xec]
mov dword [esi + 0x10c], eax
cmp dword [ebx + 0xbc], 0
setne al
mov byte [esi + 0x11c], al
cmp dword [ebx + 0xc0], 0
setne al
mov byte [esi + 0x11d], al
cmp dword [edi + 0xb0], 0
setne al
mov byte [esi + 0x11e], al
cmp dword [edi + 0x124], 0
setne al
mov byte [esi + 0x11f], al
cmp dword [edi + 0x150], 0
setne al
mov byte [esi + 0x122], al
mov eax, dword [edi + 0x140]
test dword [edi + 0x124], eax
setne al
mov byte [esi + 0x120], al
cmp dword [edi + 0x164], 0
je 0x1006cad1
cmp dword [ebx], 1
je 0x1006cad1
cmp dword [ecx], 0
jne 0x1006cad1
mov al, 1
jmp 0x1006cad3
xor al, al
mov byte [esi + 0x123], al
mov eax, dword [edi + 0xf4]
or eax, dword [ebx + 0x30]
setne al
mov byte [esi + 0x11a], al
cmp dword [edi + 0xac], 0
setne al
mov byte [esi + 0x11b], al
cmp dword [edi + 0x88], 0
setne al
mov byte [esi + 0xe5], al
mov eax, dword [edi + 0x98]
mov dword [esi + 0xd4], eax
mov eax, dword [edi + 0x9c]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0x1c4]
mov dword [esi + 0xdc], eax
cmp dword [edi + 0xb4], 0
setne al
mov byte [esi + 0xe3], al
movzx eax, byte [edi + 0xb8]
mov byte [esi + 0xe0], al
mov cl, byte [edi + 0xb9]
mov byte [esi + 0xe1], cl
movzx eax, byte [edi + 0xbc]
mov byte [esi + 0xe2], al
cmp dword [ebx + 0x2d0], 0
je 0x1006cb7e
cmp dword [esi + 0xbc], 3
jne 0x1006cb7e
mov eax, 1
jmp 0x1006cb80
xor eax, eax
mov dword [esi + 0xd0], eax
cmp cl, 5
jne 0x1006cba3
cmp dword [ebx + 0x20], 0xa
jne 0x1006cba3
cmp dword [edi + 0xd0], 9
jne 0x1006cba3
mov byte [esi + 0xe4], 1
jmp 0x1006cbae
mov byte [esi + 0xe4], 0
test cl, cl
je 0x1006cbbb
cmp dword [edi + 0xc0], 0
je 0x1006cbbb
mov al, 1
jmp 0x1006cbbd
xor al, al
mov byte [esi + 0x110], al
mov eax, dword [edi + 0x1f4]
mov dword [esi + 0x3d8], eax
mov eax, dword [edi + 0x1f8]
mov dword [esi + 0x3dc], eax
cmp dword [ebx + 0xac], 0
je 0x1006cbec
mov eax, dword [edi + 0x1fc]
jmp 0x1006cbf1
mov eax, 3
mov dword [esi + 0x3e0], eax
mov eax, dword [edi + 0x200]
mov dword [esi + 0x3e4], eax
mov al, byte [ebx + 0x40]
mov byte [esi + 0xe8], al
mov cl, byte [ebx + 0x44]
mov byte [esi + 0xe9], cl
mov dl, byte [ebx + 0x48]
mov byte [esi + 0xea], dl
cmp al, 1
jne 0x1006cc32
cmp cl, 8
jne 0x1006cc32
cmp dl, cl
jne 0x1006cc32
mov byte [esi + 0xe8], 0
cmp dword [edi + 0x18c], 0
setne al
mov byte [esi + 0x42], al
mov eax, dword [edi + 0x84]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x3c], eax
mov al, byte [edi + 0x108]
mov byte [esi + 0x40], al
cmp byte [esi + 0xe8], 0
je 0x1006cc70
xor eax, eax
jmp 0x1006cc73
mov eax, dword [edi + 0x28]
test eax, eax
setne al
mov byte [esi + 0x41], al
mov eax, dword [edi + 0x214]
mov dword [esi + 0x44], eax
cmp dword [edi + 0x218], 0
setne al
mov byte [esi + 0x48], al
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], ecx
mov eax, dword [edi + 0x21c]
test eax, eax
je 0x1006ccb3
mov dword [esi + 0x430], eax
mov eax, dword [edi + 0x220]
lea ecx, [ebx + 0xa8]
mov dword [esi + 0x434], eax
cmp dword [ebx + 0xa0], 0
setne al
mov byte [esi + 0x68], al
cmp dword [ebx + 0xa4], 1
jne 0x1006cce9
mov eax, dword [ecx]
cmp eax, dword [ebx + 0xac]
je 0x1006cce9
mov al, 1
jmp 0x1006cceb
xor al, al
mov byte [esi + 0x60], al
mov eax, dword [ecx]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0xac]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 0xb0]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0xb4]
mov dword [esi + 0x5c], eax
cmp dword [edi + 0xf8], 0
setne al
mov byte [esi + 0x69], al
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x210]
mov dword [esi + 0x64], eax
cmp dword [ebx + 0xac], 0
jne 0x1006cd3a
mov dword [esi + 0x54], 0
cmp dword [edi + 0x194], 0
setne al
mov byte [esi + 0x6a], al
cmp byte [esi + 0x438], 1
mov edx, dword [edi]
mov dword [esi + 0x400], edx
jne 0x1006cd79
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
cmovae ecx, dword [ebx + 0x10]
cmp ecx, 0x438
jb 0x1006cd79
cmp edx, 7
jge 0x1006cd79
mov dword [esi + 0x400], 7
mov eax, dword [edi + 0xd0]
mov dword [esi + 0x374], eax
mov eax, dword [edi + 0xd4]
mov dword [esi + 0x378], eax
mov eax, dword [edi + 0xd8]
mov dword [esi + 0x37c], eax
mov eax, dword [edi + 0xe0]
mov dword [esi + 0x384], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0x380], eax
cmp byte [esi + 0x438], 1
jne 0x1006cdc2
xor eax, eax
jmp 0x1006cdd7
mov eax, dword [ebx + 0x38]
test eax, eax
jns 0x1006cdcd
xor eax, eax
jmp 0x1006cdd7
mov ecx, 0x30
cmp eax, ecx
cmovg eax, ecx
mov dword [esi + 0x128], eax
cmp dword [edi + 4], 0
setne al
mov byte [esi + 0x13c], al
cmp dword [edi + 8], 0
setne al
mov byte [esi + 0x13d], al
mov eax, dword [edi + 0x38]
mov dword [esi + 0x12c], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x134], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x138], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x364], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x35c], eax
mov eax, dword [edi + 0xcc]
mov dword [esi + 0x368], eax
cmp dword [ebx + 0xb8], 0
je 0x1006ce50
mov dword [esi + 0x36c], 0
xor eax, eax
jmp 0x1006ce62
mov eax, dword [edi + 0xfc]
mov dword [esi + 0x36c], eax
mov eax, dword [edi + 0x100]
mov dword [esi + 0x360], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x370], eax
mov eax, dword [edi + 0x19c]
mov dword [esi + 0x3e8], eax
mov eax, dword [edi + 0x1a0]
mov dword [esi + 0x3ec], eax
mov eax, dword [edi + 0x1a4]
mov dword [esi + 0x3f0], eax
mov eax, dword [edi + 0xa0]
mov dword [esi + 0x140], eax
cmp dword [ebx + 0xb8], 0
je 0x1006ceb4
mov dword [esi + 0x140], 1
mov eax, dword [edi + 0xa4]
mov dword [esi + 0x144], eax
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
setne al
mov byte [esi + 0x358], al
test ecx, ecx
je 0x1006cedd
mov eax, dword [edi + 0xf0]
jmp 0x1006cedf
xor eax, eax
test eax, eax
mov ecx, 0x40
mov edx, ecx
setne al
mov byte [esi + 0x359], al
mov eax, dword [edi + 0x20]
mov dword [esi + 0x148], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x14c], eax
mov eax, dword [ebx + 0xc8]
cmp eax, ecx
cmovl edx, eax
mov dword [esi + 0x150], edx
mov eax, dword [ebx + 0xcc]
cmp eax, ecx
cmovl ecx, eax
xor ebp, ebp
mov dword [esi + 0x154], ecx
test edx, edx
jle 0x1006cf4a
lea ecx, [esi + 0x158]
lea edx, [ebx + 0xd0]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ecx], eax
lea ecx, [ecx + 4]
inc ebp
cmp ebp, dword [esi + 0x150]
jl 0x1006cf37
xor ecx, ecx
cmp dword [esi + 0x154], ecx
jle 0x1006cf74
lea edx, [esi + 0x258]
lea ebp, [ebx + 0x1d0]
mov eax, dword [ebp]
lea ebp, [ebp + 4]
mov dword [edx], eax
lea edx, [edx + 4]
inc ecx
cmp ecx, dword [esi + 0x154]
jl 0x1006cf60
cmp dword [edi + 0x204], 0
setne al
cmp byte [esi + 0x358], 0
mov byte [esi + 0x35a], al
je 0x1006cfa6
mov eax, dword [edi + 0xec]
test eax, eax
je 0x1006cfa6
cmp eax, 1
je 0x1006cfa6
mov dword [esi + 0x10c], 0
mov eax, dword [edi + 0x138]
mov dword [esi + 0x3a0], eax
cmp dword [edi + 0x13c], 0
setne al
mov byte [esi + 0x3a4], al
cmp dword [edi + 0x14c], 0
setne al
mov byte [esi + 0x3a5], al
cmp dword [edi + 0x18], 0
setne al
mov byte [esi + 0x439], al
cmp dword [edi + 0x1c], 0
setne al
mov byte [esi + 0x43a], al
cmp dword [edi + 0x80], 0
setne al
mov byte [esi + 0x3b2], al
cmp dword [edi + 0x168], 0
setne al
mov byte [esi + 0x3b0], al
cmp dword [ebx], 1
jne 0x1006d02e
cmp dword [esi + 0x400], 7
jl 0x1006d02e
cmp dword [esi + 0x368], 1
jne 0x1006d02e
mov byte [esi + 0x3b0], 0
xor al, al
jmp 0x1006d03d
mov eax, dword [edi + 0x16c]
test dword [edi + 0x168], eax
setne al
mov byte [esi + 0x3b1], al
cmp dword [edi + 0x10c], 0
setne al
mov byte [esi + 0x3cc], al
cmp dword [edi + 0x110], 0
setne al
mov byte [esi + 0x3cd], al
cmp dword [edi + 0x114], 0
setne al
mov byte [esi + 0x3ce], al
mov eax, dword [edi + 0x118]
mov dword [esi + 0x3d0], eax
mov eax, dword [edi + 0x11c]
mov dword [esi + 0x3d4], eax
cmp dword [edi + 0x198], 0
setne al
mov byte [esi + 0x3ba], al
cmp dword [edi + 0x120], 0
setne al
mov byte [esi + 0x3b3], al
cmp dword [edi + 0x170], 0
setne al
mov byte [esi + 0x3b4], al
cmp dword [edi + 0x174], 0
setne al
mov byte [esi + 0x3b5], al
cmp dword [edi + 0x178], 0
setne al
mov byte [esi + 0x3b6], al
cmp dword [edi + 0x17c], 0
setne al
mov byte [esi + 0x3b7], al
cmp dword [edi + 0x180], 0
setne al
mov byte [esi + 0x3b8], al
cmp dword [edi + 0x184], 0
setne al
mov byte [esi + 0x3b9], al
cmp dword [edi + 0x224], 0
setne al
mov byte [esi + 0x3bb], al
cmp dword [edi + 0x128], 0
setne al
mov byte [esi + 0x3bc], al
cmp dword [edi + 0x12c], 0
setne al
mov byte [esi + 0x3bd], al
cmp dword [edi + 0x130], 0
setne al
mov byte [esi + 0x3be], al
cmp dword [edi + 0x1b0], 0
setne al
mov byte [esi + 0x3bf], al
cmp dword [edi + 0x1b4], 0
setne al
mov byte [esi + 0x3c0], al
cmp dword [edi + 0x1b8], 0
setne al
mov byte [esi + 0x3c1], al
cmp dword [edi + 0x1bc], 0
setne al
mov byte [esi + 0x3c2], al
cmp dword [edi + 0x1c0], 0
setne al
mov byte [esi + 0x3c3], al
mov eax, dword [edi + 0x134]
test dword [edi + 0x124], eax
setne al
mov byte [esi + 0x3c4], al
cmp dword [edi + 0x148], 0
setne al
mov byte [esi + 0x3c5], al
mov eax, dword [edi + 0x158]
test dword [edi + 0x148], eax
setne al
mov byte [esi + 0x3c7], al
mov eax, dword [edi + 0x15c]
test dword [edi + 0x148], eax
setne al
mov byte [esi + 0x3c8], al
cmp dword [edi + 0x150], 0
je 0x1006d200
cmp dword [edi + 0x154], 0
je 0x1006d200
mov al, 1
jmp 0x1006d202
xor al, al
mov byte [esi + 0x3c6], al
mov eax, dword [edi + 0x160]
test dword [edi + 0x150], eax
setne al
mov byte [esi + 0x3c9], al
cmp dword [edi + 0x70], 0
jne 0x1006d2b6
cmp dword [ebx + 0xb8], 0
jne 0x1006d2b6
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0xf8], eax
movzx eax, byte [ebx + 0x50]
mov byte [esi + 0xf4], al
movzx eax, byte [ebx + 0x54]
mov byte [esi + 0xf5], al
push dword [ebx + 0x58]
call fcn.1007d440
mov dword [esi + 0xec], eax
push dword [ebx + 0x5c]
call fcn.1007d440
mov edx, dword [esi + 0xf8]
add esp, 8
mov dword [esi + 0xf0], eax
mov ecx, edx
mov ebp, eax
cmp edx, 1
jne 0x1006d291
cmp byte [esi + 0xf4], 8
jne 0x1006d291
cmp byte [esi + 0xf5], 8
je 0x1006d2b6
cmp ecx, 3
jne 0x1006d341
cmp dword [esi + 0xec], 0xff
jne 0x1006d349
cmp ebp, 0xff
jne 0x1006d349
mov byte [esi + 0xfc], 0
mov dword [esi + 0xf8], 0
mov word [esi + 0xf4], 0x808
mov dword [esi + 0xec], 0xff
mov dword [esi + 0xf0], 0xff
cmp dword [esi + 0xc], 1
pop ebp
jne 0x1006d2f4
mov word [esi + 0x39d], 0
cmp dword [ebx + 0xc4], 0
setne al
mov byte [esi + 0x43c], al
mov eax, dword [edi + 0x104]
mov dword [esi + 0x3a8], eax
mov eax, dword [edi + 0x208]
mov dword [esi + 0x3ac], eax
cmp byte [esi + 0xe8], 0
jne 0x1006d35f
cmp dword [esi + 0xf8], 0
jne 0x1006d35f
cmp dword [esi + 0x50], 0
mov eax, 0xa0
mov ecx, 0x40
cmove eax, ecx
jmp 0x1006d364
test ecx, ecx
je 0x1006d2b6
cmp dword [edi + 0x188], 0
je 0x1006d2b6
mov byte [esi + 0xfc], 1
jmp 0x1006d2e4
mov eax, 0x120
mov dword [esi + 0x3f8], eax
movups xmm0, xmmword [edi + 0x1cc]
movups xmmword [esi + 0x404], xmm0
movups xmm0, xmmword [edi + 0x1dc]
movups xmmword [esi + 0x414], xmm0
mov eax, dword [edi + 0x1ec]
mov dword [esi + 0x3f4], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x440], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x444], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x448], eax
mov eax, dword [edi + 0x228]
mov dword [esi + 0x44c], eax
mov eax, dword [edi + 0x22c]
mov dword [esi + 0x450], eax
mov eax, dword [edi + 0x230]
pop edi
mov dword [esi + 0x454], eax
pop esi
pop ebx
ret