Function at 0x1009aab0
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 0x100eda8c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e0
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 0x13c], esi
cmp dword [esi + 0x58], 0
jge 0x1009ab88
test byte [esi + 4], 2
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x18c], ecx
lea ecx, [esi + 0x40]
mov dword [ebp - 0x198], 0xffffffff
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x1a0], Ordinal_2
push eax
mov dword [ebp - 0x19c], 0x1b00d9
je 0x1009ab7c
mov dword [ebp - 0x19c], 0x20002
call fcn.1009ede0
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x58], eax
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [esi + 0x24], eax
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x28], ecx
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x30], ecx
test eax, eax
je 0x1009abf9
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1009ac09
push eax
call fcn.1008d1f0
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x1ac], edx
xor edi, edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x170], edi
mov ecx, dword [esi + 0x4c]
lea edx, [edi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x144], ecx
test ecx, ecx
jle 0x1009acab
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x124], eax
test eax, eax
jle 0x1009acab
imul eax, eax, 0xc4
push eax
call fcn.1008d1c0
mov ecx, dword [ebp - 0x124]
lea edx, [edi + 8]
mov dword [ebp - 0x1b0], ecx
add esp, 4
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi + 0x34]
xor esi, esi
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x128], eax
test eax, eax
jle 0x1009ad07
cmp eax, 8
mov esi, eax
cmovl esi, edx
test esi, esi
jle 0x1009ad05
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1008d1c0
mov ecx, dword [ebp - 0x144]
mov edi, eax
mov dword [ebp - 0x174], esi
add esp, 4
mov esi, eax
mov dword [ebp - 0x15c], edi
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x124], edi
jmp 0x1009ad07
xor esi, esi
imul ecx, ecx, 0xc4
mov dword [ebp - 0x178], eax
push ecx
push 0
push dword [ebp - 0x14c]
call fcn.100bec20
mov eax, dword [ebp - 0x128]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call fcn.100bec20
mov eax, dword [ebp - 0x13c]
add esp, 0x18
mov dword [ebp - 0x130], 0
cmp dword [eax + 0x4c], 0
jle 0x1009aeb0
mov esi, dword [ebp - 0x14c]
xor edx, edx
add esi, 0xa4
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x120], esi
nop dword [eax]
mov ecx, dword [eax + 0x54]
add ecx, edx
mov dword [esi - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x134], ecx
cmp dword [eax + 0x34], edx
jle 0x1009b136
mov edi, dword [ebp - 0x120]
or esi, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jne 0x1009adc3
mov ecx, dword [eax + 0x3c]
or esi, esi
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1009adb5
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [ebp - 0x13c]
inc edx
mov ecx, esi
cmp edx, dword [eax + 0x34]
jl 0x1009ad96
mov edi, dword [ebp - 0x15c]
cmp ecx, 0xffffffff
je 0x1009b136
mov eax, dword [ebp - 0x134]
push dword [eax + 0xc]
mov esi, dword [eax]
push esi
call fcn.100a59d0
mov ecx, dword [ebp - 0x120]
push eax
add ecx, 0xffffff5c
push esi
push ecx
mov dword [ebp - 0x124], ecx
call fcn.1009fb70
add esp, 0x14
test eax, eax
je 0x1009b136
mov eax, dword [ebp - 0x124]
mov edx, 0x101ad280
mov esi, dword [ebp - 0x120]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x148], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1009ae61
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1009ae5b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1009ae40
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x148]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x13c]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [edi + edx*8 + 4], ecx
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
inc ecx
add edx, 0x78
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x12c], edx
cmp ecx, dword [eax + 0x4c]
jl 0x1009ad70
mov eax, dword [ebp - 0x144]
xor esi, esi
mov dword [ebp - 0x134], esi
test eax, eax
jle 0x1009b235
mov edx, dword [ebp - 0x14c]
add edx, 0xa8
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x11c], edx
nop
mov eax, dword [edx - 8]
lea esi, [edx + 4]
mov ecx, esi
lea edi, [eax + eax*2]
mov eax, dword [edx - 4]
add eax, 0x20
mov dword [ebp - 0x120], edi
sar eax, 5
push eax
call fcn.1007fcf0
mov eax, dword [esi]
shl eax, 2
push eax
mov eax, dword [ebp - 0x11c]
push 0
push dword [eax + 0xc]
call fcn.100bec20
mov eax, dword [ebp - 0x15c]
add esp, 0xc
cmp dword [eax + edi*8 + 0xc], 0
lea esi, [eax + edi*8]
jne 0x1009af50
mov eax, dword [eax + edi*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.1007fcf0
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call fcn.100bec20
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x12c], eax
cmp word [eax], 0
je 0x1009b044
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1009b044
movzx edi, word [eax]
cmp edi, ecx
ja 0x1009b02b
nop dword [eax + eax]
mov eax, dword [ebp - 0x120]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x15c]
sar esi, 5
mov dword [ebp - 0x124], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1009b012
mov eax, dword [ebp - 0x11c]
add eax, 0xffffff58
push edi
push eax
call fcn.100a56d0
mov edx, dword [ebp - 0x11c]
add esp, 8
test eax, eax
je 0x1009b018
inc dword [edx]
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x15c]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x15c]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x120]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x134]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x12c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x1009af90
mov eax, dword [ebp - 0x12c]
add eax, 4
mov dword [ebp - 0x12c], eax
cmp word [eax], 0
jne 0x1009af70
add edx, 0xc4
sub dword [ebp - 0x148], 1
mov dword [ebp - 0x11c], edx
jne 0x1009aee0
mov esi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x144]
add esi, 0xb8
mov dword [ebp - 0x11c], eax
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x1009b0be
lea eax, [edi*4]
push eax
call fcn.1008d1c0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x124], eax
test edx, edx
je 0x1009b0b8
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100be6a0
push dword [esi + 8]
call fcn.1008d1f0
mov eax, dword [ebp - 0x124]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x130], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x160], eax
cmp ecx, eax
jae 0x1009b1f5
xor edx, edx
mov dword [ebp - 0x120], edx
mov eax, dword [ecx]
mov dword [ebp - 0x164], eax
test eax, eax
je 0x1009b1d7
xor ecx, ecx
mov edi, 1
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x12c], edi
test edi, eax
je 0x1009b1b9
mov eax, edx
and eax, 0xffffffe0
add eax, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x140], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1009b197
lea edi, [eax + 1]
test ecx, ecx
je 0x1009b142
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1009b147
mov byte [ebp - 0x135], 0
jmp 0x1009c08b
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1009b191
lea eax, [edi*4]
push eax
call fcn.1008d1c0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x124], eax
test edx, edx
je 0x1009b18b
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100be6a0
push dword [esi + 8]
call fcn.1008d1f0
mov eax, dword [ebp - 0x124]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x12c]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x140]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x120]
inc ecx
rol edi, 1
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x12c], edi
cmp ecx, 0x20
jb 0x1009b106
mov ecx, dword [ebp - 0x130]
add ecx, 4
add edx, 0x20
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x120], edx
cmp ecx, dword [ebp - 0x160]
jb 0x1009b0e3
mov eax, dword [esi - 4]
test eax, eax
je 0x1009b21a
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.1008d1f0
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x11c], 1
jne 0x1009b075
mov esi, dword [ebp - 0x134]
jmp 0x1009b23d
xor esi, esi
mov dword [ebp - 0x134], esi
cmp dword [ebp - 0x128], 0
jle 0x1009b286
mov edi, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x128]
add edi, 0x14
mov eax, dword [edi]
test eax, eax
je 0x1009b278
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.1008d1f0
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub esi, 1
jne 0x1009b255
mov esi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1009b2bb
push eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
call fcn.1008d1f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x170], eax
xor eax, eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 7
mov eax, 8
test esi, esi
jle 0x1009b332
cmp esi, eax
mov edi, esi
cmovl edi, eax
test edi, edi
jle 0x1009b332
mov eax, edi
shl eax, 4
push eax
call fcn.1008d1c0
mov dword [ebp - 0x134], eax
add esp, 4
mov dword [ebp - 0x17c], eax
mov eax, 8
mov dword [ebp - 0x180], edi
xor edi, edi
mov dword [ebp - 0x184], esi
test esi, esi
jle 0x1009b37d
cmp esi, 8
mov edi, esi
cmovl edi, eax
test edi, edi
jle 0x1009b37b
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.1008d1c0
mov dword [ebp - 0x1bc], edi
add esp, 4
mov dword [ebp - 0x148], eax
mov edi, eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x160], eax
jmp 0x1009b37d
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x1c0], esi
shl ecx, 4
push ecx
push 0
push dword [ebp - 0x134]
call fcn.100bec20
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push edi
call fcn.100bec20
mov edx, dword [ebp - 0x144]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x11c], eax
add esp, 0x18
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
test edx, edx
jle 0x1009b678
mov esi, dword [ebp - 0x14c]
xor edi, edi
add esi, 0x98
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], edx
mov edx, dword [esi + 0x10]
test edx, edx
je 0x1009b656
mov eax, dword [ebp - 0x12c]
add dword [ebp - 0x12c], edx
add dword [ebp - 0x128], edx
shl eax, 4
add eax, dword [ebp - 0x134]
mov dword [esi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x148]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x13c]
mov dword [esi], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [edx + edi + 0x10]
add edx, edi
mov dword [esi - 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esi - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi - 0x18], 0
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [esi - 8], al
mov al, byte [edx + 0x18]
mov byte [esi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x100ef7f4]
mov dword [ebp - 0x164], edx
jbe 0x1009b4d5
mov edi, dword [esi - 0x94]
mov eax, pe_nt_image_headers32
mov edx, dword [esi - 0x7c]
cwde
movzx ecx, byte [edx + edi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi + 7]
movzx edx, byte [edx + edi + 5]
add cx, ax
movsx esi, cx
mov ecx, dword [ebp - 0x120]
mov eax, dword [ecx - 0x7c]
movzx ecx, byte [eax + edi + 4]
mov eax, pe_nt_image_headers32
mov edi, dword [ebp - 0x130]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub eax, esi
mov esi, dword [ebp - 0x120]
movd xmm0, eax
jmp 0x1009b4fb
mov ecx, dword [esi - 0x84]
mov eax, dword [esi - 0x94]
xorps xmm1, xmmword [0x100f00c0]
movzx edx, byte [ecx + eax + 0x13]
movzx eax, byte [ecx + eax + 0x12]
shl eax, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x13c]
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov eax, dword [eax + 0x10]
divss xmm1, xmm0
movss dword [ebp - 0x140], xmm1
cmp dword [esi + 0x20], ecx
jle 0x1009b64a
movzx eax, ax
lea edx, [esi - 0x98]
xor edi, edi
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x150], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x28]
push dword [eax + ecx*4]
push edx
call fcn.100a56d0
add esp, 8
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x1a4]
push ecx
mov ecx, dword [ebp - 0x164]
sub esp, 0x10
movd xmm0, dword [ecx + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, dword [ecx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
push eax
lea eax, [esi - 0x98]
push eax
call fcn.100a5a60
mov ecx, dword [ebp - 0x160]
lea edi, [edi + 0x10]
sub ecx, dword [ebp - 0x1a4]
add esp, 0x28
add ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x164]
dec cx
mov eax, dword [esi - 4]
movss xmm1, dword [ebp - 0x140]
add cx, word [edx + 0x14]
mov word [eax + edi - 0xc], cx
mov ecx, dword [ebp - 0x168]
sub ecx, dword [ebp - 0x16c]
add ecx, dword [ebp - 0x150]
mov eax, dword [esi - 4]
dec cx
add cx, word [edx + 0x18]
lea edx, [esi - 0x98]
mov word [eax + edi - 0xa], cx
mov eax, dword [esi - 4]
movzx ecx, word [eax + edi - 0xa]
movzx eax, word [eax + edi - 0xc]
imul ecx, eax
mov eax, dword [ebp - 0x11c]
add eax, ecx
mov ecx, dword [ebp - 0x120]
inc ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], ecx
cmp ecx, dword [esi + 0x20]
jl 0x1009b540
mov edi, dword [ebp - 0x130]
jmp 0x1009b650
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x128]
add esi, 0xc4
add edi, 0x78
sub dword [ebp - 0x124], 1
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x130], edi
jne 0x1009b3f2
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1009b691
sqrtsd xmm0, xmm0
jmp 0x1009b696
call fcn.100c9480
mov edi, dword [ebp - 0x13c]
cvtsd2ss xmm0, xmm0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x1009b6ee
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101ad2b0]
jb 0x1009b6ca
mov eax, 0x1000
jmp 0x1009b6ee
comiss xmm0, dword [0x101ad2ac]
jb 0x1009b6da
mov eax, 0x800
jmp 0x1009b6ee
comiss xmm0, dword [0x101ad2a8]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x1ec]
push 0
push eax
call fcn.100bec20
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x140], eax
mov eax, dword [edi + 0x1c]
push 0x30
mov dword [ebp - 0x124], eax
call fcn.1008d1c0
mov esi, eax
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x140]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x150], eax
lea ecx, [eax*8]
push ecx
call fcn.1008d1c0
add esp, 0x14
test esi, esi
je 0x1009b7b3
test eax, eax
je 0x1009b7b0
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1dc], ecx
mov ecx, dword [ebp - 0x150]
push ecx
push eax
mov dword [ebp - 0x1c4], eax
mov eax, 0x8000
sub eax, edx
mov dword [ebp - 0x1e8], esi
push eax
push ecx
push esi
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x1d4], 0
call fcn.100a5370
add esp, 0x14
jmp 0x1009b7cc
push esi
jmp 0x1009b7b8
test eax, eax
je 0x1009b7c0
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x11c], eax
xor eax, eax
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x150], eax
mov esi, dword [edi + 0x40]
mov byte [ebp - 4], 8
mov dword [ebp - 0x128], esi
test esi, esi
jle 0x1009b822
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x1009b822
shl ecx, 4
push ecx
call fcn.1008d1c0
add esp, 4
mov dword [ebp - 0x120], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call fcn.100bec20
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x1009b870
mov edx, dword [ebp - 0x120]
xor ecx, ecx
add edx, 6
xor esi, esi
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x1009b846
mov esi, dword [ebp - 0x128]
push esi
push dword [ebp - 0x120]
push dword [ebp - 0x11c]
call fcn.100a54e0
add esp, 0xc
test esi, esi
jle 0x1009b8e7
mov edx, dword [ebp - 0x120]
xor esi, esi
mov eax, dword [ebp - 0x128]
add edx, 0xa
nop word [eax + eax]
cmp dword [edx + 2], 0
je 0x1009b8d6
mov eax, dword [edi + 0x48]
movzx ecx, word [edx - 2]
mov word [esi + eax + 8], cx
mov eax, dword [edi + 0x48]
movzx ecx, word [edx]
mov word [esi + eax + 0xa], cx
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x128]
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [ebp - 0x128], eax
jne 0x1009b8a0
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 9
test eax, eax
je 0x1009b8fe
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [ebp - 0x144]
mov byte [ebp - 4], 7
test eax, eax
jle 0x1009b983
mov esi, dword [ebp - 0x14c]
add esi, 0xa8
mov dword [ebp - 0x124], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x1009b96e
push eax
push dword [esi - 0x14]
push dword [ebp - 0x11c]
call fcn.100a54e0
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x1009b96e
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x1009b966
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x13c]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1009b940
add esi, 0xc4
sub dword [ebp - 0x124], 1
jne 0x1009b920
mov edi, dword [ebp - 0x13c]
test byte [edi + 4], 1
mov esi, dword [edi + 0x20]
jne 0x1009b9b1
lea ecx, [esi - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov esi, ecx
sar esi, 0x10
or esi, ecx
mov edx, dword [edi + 0x1c]
inc esi
movss xmm1, dword [0x100ef7fc]
movaps xmm2, xmm1
mov dword [edi + 0x20], esi
movd xmm0, edx
cvtdq2ps xmm0, xmm0
imul edx, esi
divss xmm2, xmm0
push edx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x154], xmm2
divss xmm1, xmm0
mov eax, dword [ebp - 0x154]
mov dword [edi + 0x24], eax
movss dword [ebp - 0x150], xmm1
mov ecx, dword [ebp - 0x150]
mov dword [edi + 0x28], ecx
call fcn.1008d1c0
mov ecx, dword [edi + 0x20]
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.100bec20
mov eax, dword [edi + 0x14]
add esp, 0x10
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x1c8], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1e0], eax
test edx, edx
jle 0x1009bc10
mov ecx, dword [ebp - 0x14c]
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], edx
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x1009bbe0
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
push 1
push eax
push ecx
lea eax, [ebp - 0x1ec]
push eax
call fcn.100a5fb0
movss xmm1, dword [esi + 0x44]
add esp, 0x14
ucomiss xmm1, dword [0x100ef7fc]
movss dword [ebp - 0x150], xmm1
lahf
test ah, 0x44
jnp 0x1009bbc4
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ef790]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.100bd460
movss xmm1, dword [ebp - 0x150]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x1009baa2
mov ecx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x12c], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1009bbca
lea ecx, [edx + 6]
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], ecx
nop dword [eax]
cmp dword [ecx + 6], 0
je 0x1009bba8
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 4]
movzx edi, word [ecx]
movzx esi, word [ecx - 2]
mov dword [ebp - 0x130], eax
movzx eax, word [ecx + 2]
imul edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x13c]
add edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x128]
add edx, eax
test edi, edi
je 0x1009bb96
mov eax, dword [ebp - 0x130]
xor ecx, ecx
test esi, esi
je 0x1009bb89
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x118]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x1009bb70
mov eax, dword [ebp - 0x130]
dec edi
add edx, eax
test edi, edi
jg 0x1009bb64
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x13c]
inc eax
add ecx, 0x10
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
cmp eax, dword [edx + 0xa8]
jl 0x1009bb20
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
mov edx, dword [ebp - 0x140]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], edx
jne 0x1009ba54
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x1c4]
call fcn.1008d1f0
push dword [ebp - 0x11c]
call fcn.1008d1f0
mov eax, dword [ebp - 0x134]
add esp, 8
test eax, eax
je 0x1009bc5e
push eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 0
call fcn.1008d1f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x144]
test edx, edx
jle 0x1009c04d
mov esi, dword [ebp - 0x14c]
xor ecx, ecx
add esi, 4
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x140], esi
mov eax, edx
mov dword [ebp - 0x11c], edx
nop dword [eax + eax]
cmp dword [esi + 0xa4], 0
je 0x1009bfcb
mov eax, dword [edi + 0x54]
xorps xmm4, xmm4
mov edi, dword [esi + 0x18]
add eax, ecx
mov esi, dword [esi]
mov dword [ebp - 0x120], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov dword [ebp - 0x130], eax
mov eax, pe_nt_image_headers32
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx eax, dx
movzx edx, byte [edi + esi + 5]
mov dword [ebp - 0x150], eax
mov eax, pe_nt_image_headers32
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx ecx, dx
mov edx, dword [ebp - 0x150]
mov eax, ecx
sub eax, edx
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
mov ecx, dword [ebp - 0x120]
movd xmm0, eax
mov eax, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [eax + 0x10]
xor eax, eax
divss xmm3, xmm0
comiss xmm2, xmm4
movaps xmm0, xmm3
mulss xmm0, xmm2
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si esi, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0x130]
comiss xmm1, xmm4
mulss xmm3, xmm1
seta al
cmp byte [ecx + 0x3c], 0
lea eax, [eax*2 - 1]
movd xmm0, eax
lea eax, [edx + 0x4c]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x150], eax
addss xmm0, xmm3
cvttss2si edi, xmm0
jne 0x1009bdc9
mov ecx, edx
call fcn.1009a440
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x120]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x13c]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x150]
mov dword [edx + 0x3c], ecx
movss dword [eax], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x50], xmm0
movss xmm0, dword [eax]
movss xmm2, dword [0x100f0110]
inc word [edx + 0x40]
addss xmm0, xmm2
mov esi, dword [ebp - 0x140]
xor edx, edx
movss xmm1, dword [ecx + 0x28]
mov edi, dword [ebp - 0x13c]
movss dword [ebp - 0x168], xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x124], edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ecx + 0x2c]
movss dword [ebp - 0x150], xmm0
cmp dword [esi + 0xa4], edx
jle 0x1009bfbf
mov dword [ebp - 0x128], edx
nop dword [eax + eax]
mov eax, dword [esi + 0xbc]
movss xmm7, dword [ecx + 0x34]
mov eax, dword [eax + edx*4]
mov edx, dword [esi + 0x94]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x128]
movss xmm0, dword [eax + edx + 0x10]
comiss xmm7, xmm0
ja 0x1009be64
movss xmm7, dword [ecx + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x1009be90
cmp byte [ecx + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x1009be8c
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [edi + 0x1c]
sub esp, 0x24
movss xmm2, dword [0x100ef7fc]
mov ecx, dword [ebp - 0x128]
cvtdq2ps xmm0, xmm0
movzx eax, word [ecx + edx]
movss xmm3, dword [0x100ef7fc]
divss xmm2, xmm0
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + edx + 2]
divss xmm3, xmm0
movd xmm4, eax
movzx eax, word [ecx + edx + 4]
movss dword [esp + 0x20], xmm7
cvtdq2ps xmm5, xmm5
movd xmm1, eax
movzx eax, word [ecx + edx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
xorps xmm2, xmm2
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ecx + edx + 0x18]
addss xmm0, xmm2
movss dword [esp + 0x18], xmm1
cvtdq2ps xmm4, xmm4
addss xmm0, dword [ebp - 0x150]
mulss xmm4, xmm3
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x10], xmm5
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx + edx + 0x14]
addss xmm0, xmm2
addss xmm0, xmm6
movss dword [esp + 8], xmm0
movss xmm0, dword [ecx + edx + 0xc]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x150]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + edx + 8]
mov ecx, dword [ebp - 0x130]
addss xmm0, xmm2
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [ebp - 0x16c]
call fcn.100982b0
mov edx, dword [ebp - 0x124]
add dword [ebp - 0x128], 0x1c
inc edx
movss xmm1, dword [ebp - 0x168]
movss xmm2, dword [0x100f0110]
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
cmp edx, dword [esi + 0xa4]
jl 0x1009be30
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x12c]
add esi, 0xc4
add ecx, 0x78
sub eax, 1
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x11c], eax
jne 0x1009bc90
mov edx, dword [ebp - 0x144]
test edx, edx
jle 0x1009c04d
mov esi, dword [ebp - 0x14c]
add esi, 0xb4
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1009c01f
push eax
call fcn.1008d1f0
mov edx, dword [ebp - 0x144]
add esp, 4
mov eax, dword [esi]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1009c038
push eax
call fcn.1008d1f0
mov edx, dword [ebp - 0x144]
add esp, 4
add esi, 0xc4
mov byte [ebp - 4], 7
sub edx, 1
mov dword [ebp - 0x144], edx
jne 0x1009c005
push edi
call fcn.1009a7f0
add esp, 4
mov byte [ebp - 0x135], 1
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1009c074
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1009c08b
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1009c0a2
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 4], 0xf
test eax, eax
je 0x1009c0bc
push eax
call fcn.1008d1f0
add esp, 4
mov al, byte [ebp - 0x135]
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.100bd02b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret