Function at 0x1002ff60
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ab23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x30], ebx
cmp dword [ebx + 0x458], 0
jge 0x1002ffad
test byte [ebx + 4], 2
jne 0x1002ff9e
push 0x1b
push 0xd9
jmp 0x1002ffa2
push 2
push 2
call fcn.1002ff00
mov dword [ebx + 0x458], eax
cmp dword [ebx + 0x45c], 0
jge 0x1002ffcd
test byte [ebx + 4], 4
jne 0x1002ffcd
push 0x40
push 0x41
mov ecx, ebx
call fcn.1002ff00
mov dword [ebx + 0x45c], eax
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
test ecx, ecx
je 0x1003001d
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030014
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1003003c
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030033
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x100300b2
cmp eax, ecx
mov edi, eax
cmovl edi, ecx
test edi, edi
jle 0x100300b2
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030092
inc dword [eax + 0x370]
imul eax, edi, 0xc4
push eax
call fcn.10080319
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x100300f7
cmp eax, 8
mov edi, eax
cmovl edi, ecx
test edi, edi
jle 0x100300f7
mov eax, dword [0x100bc128]
test eax, eax
je 0x100300da
inc dword [eax + 0x370]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call fcn.10080319
mov esi, eax
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x50], esi
imul ecx, dword [ebp - 0x28], 0xc4
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
push ecx
push 0
push edi
call fcn.100744f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call fcn.100744f0
add esp, 0xc
mov dword [ebp - 0x20], 0
cmp dword [ebx + 0x4c], 0
jle 0x10030342
xor eax, eax
add edi, 0xa4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x54]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [ebp - 0x24], ecx
cmp dword [ebx + 0x34], edx
jle 0x10030390
or eax, 0xffffffff
nop
cmp eax, 0xffffffff
jne 0x1003018c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1003017a
mov dword [edi - 4], edx
mov eax, edx
jmp 0x1003017d
mov eax, dword [edi - 4]
inc edx
cmp edx, dword [ebx + 0x34]
jl 0x10030160
cmp eax, 0xffffffff
je 0x10030390
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ebx, dword [eax + 0xc]
mov al, byte [edx]
cmp al, 0x31
jne 0x100301b4
cmp byte [edx + 1], 0
jne 0x100302bd
cmp byte [edx + 2], 0
jne 0x100302bd
cmp byte [edx + 3], 0
jmp 0x1003021f
cmp al, 0x74
jne 0x100301ca
cmp byte [edx + 1], 0x79
jne 0x100301ca
cmp byte [edx + 2], 0x70
jne 0x100301ca
cmp byte [edx + 3], 0x31
je 0x10030225
cmp al, 0x4f
jne 0x100301e7
cmp byte [edx + 1], 0x54
jne 0x100302bd
cmp byte [edx + 2], 0x54
jne 0x100302bd
cmp byte [edx + 3], al
jmp 0x1003021f
test al, al
jne 0x10030203
cmp byte [edx + 1], 1
jne 0x100302bd
cmp byte [edx + 2], al
jne 0x100302bd
cmp byte [edx + 3], al
jmp 0x1003021f
cmp al, 0x74
jne 0x100302bd
cmp byte [edx + 1], 0x72
jne 0x1003022e
cmp byte [edx + 2], 0x75
jne 0x100302bd
cmp byte [edx + 3], 0x65
jne 0x100302bd
neg ebx
sbb ebx, ebx
jmp 0x100302c0
cmp byte [edx + 1], 0x74
jne 0x100302bd
cmp byte [edx + 2], 0x63
jne 0x100302bd
cmp byte [edx + 3], 0x66
jne 0x100302bd
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
add eax, ecx
cmp eax, 0x10000
je 0x10030275
cmp eax, 0x20000
jne 0x100302bd
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
add ecx, eax
cmp ebx, ecx
jge 0x100302bd
movzx eax, byte [edx + ebx*4 + 0xc]
lea ecx, [edx + ebx*4]
movzx ebx, byte [ecx + 0xd]
shl eax, 8
add ebx, eax
movzx eax, byte [ecx + 0xe]
shl ebx, 8
add ebx, eax
movzx eax, byte [ecx + 0xf]
shl ebx, 8
add ebx, eax
jmp 0x100302c0
or ebx, 0xffffffff
lea ecx, [edi - 0xa4]
push ebx
call fcn.10026080
test eax, eax
je 0x10030390
mov eax, dword [edi - 4]
mov edx, 0x100a9920
lea ebx, [eax + eax*2]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1003030e
movzx eax, word [edx + 2]
test ax, ax
je 0x1003030e
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x100302f3
inc dword [esi + ebx*8]
mov ecx, dword [edi]
cmp dword [esi + ebx*8 + 4], ecx
mov eax, dword [ebp - 0x1c]
cmovge ecx, dword [esi + ebx*8 + 4]
add eax, 0x78
mov dword [esi + ebx*8 + 4], ecx
add edi, 0xc4
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, dword [ebx + 0x4c]
jl 0x10030141
mov eax, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x38], edi
test eax, eax
jle 0x10030645
mov edx, dword [ebp - 0x2c]
add edx, 0xa8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov eax, dword [edx - 8]
mov edi, dword [edx - 4]
add edi, 0x20
sar edi, 5
lea ebx, [eax + eax*2]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
cmp edi, eax
jle 0x100303af
test eax, eax
je 0x10030397
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x14]
jmp 0x1003039c
xor bl, bl
jmp 0x10031267
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [edx + 4]
push eax
call fcn.10024570
mov edx, dword [ebp - 0x18]
lea eax, [edi*4]
mov dword [edx + 4], edi
push eax
push 0
push dword [edx + 0xc]
call fcn.100744f0
lea ecx, [ebx*8 + 0xc]
add esp, 0xc
add ecx, esi
mov dword [ebp - 0x3c], ecx
cmp dword [ecx], 0
jne 0x10030431
mov edi, dword [esi + ebx*8 + 4]
mov eax, dword [ecx + 4]
add edi, 0x20
sar edi, 5
mov dword [ebp - 0x14], eax
cmp edi, eax
jle 0x1003041a
test eax, eax
je 0x100303fc
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x14]
jmp 0x10030401
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx*8 + 0xc]
push eax
add ecx, esi
call fcn.10024570
mov ecx, dword [ebp - 0x3c]
lea eax, [edi*4]
mov dword [ecx], edi
push eax
push 0
push dword [ecx + 8]
call fcn.100744f0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
test cx, cx
je 0x100304db
nop word [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x100304d8
movzx edi, cx
cmp edi, eax
ja 0x100304c3
mov eax, dword [ebp - 0x20]
mov ecx, edi
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov esi, edi
mov ecx, dword [ebp - 0x34]
sar esi, 5
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], ebx
jne 0x100304b7
lea ecx, [edx - 0xa8]
mov edx, edi
call fcn.10026530
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x100304b7
inc dword [edx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
inc dword [eax + ecx*8 + 8]
mov eax, dword [edx + 0xc]
or dword [eax + esi*4], ebx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ecx*8 + 0x14]
or dword [eax + esi*4], ebx
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x10030464
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
test cx, cx
jne 0x10030450
mov esi, dword [ebp - 0x34]
add edx, 0xc4
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], edx
jne 0x10030361
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add esi, 0xb8
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x10030565
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030517
inc dword [eax + 0x370]
lea eax, [edi*4]
push eax
call fcn.10080319
mov edx, dword [esi + 8]
add esp, 4
mov ebx, eax
test edx, edx
je 0x1003055f
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push ebx
call fcn.10074650
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x10030556
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030556
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x1c], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x3c], eax
cmp edx, eax
jae 0x100305fb
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100305ea
xor edx, edx
mov ebx, 1
mov dword [ebp - 0x20], edx
test eax, ebx
je 0x100305dc
mov eax, dword [esi + 4]
mov edi, ecx
mov ecx, dword [esi]
and edi, 0xffffffe0
add edi, edx
cmp ecx, eax
jne 0x100305ce
inc ecx
test eax, eax
je 0x100305b7
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100305bc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10024570
mov ecx, dword [esi]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
inc edx
rol ebx, 1
mov dword [ebp - 0x20], edx
cmp edx, 0x20
jb 0x10030594
mov edx, dword [ebp - 0x1c]
add edx, 4
add ecx, 0x20
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [ebp - 0x3c]
jb 0x10030581
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x1003062f
mov eax, dword [0x100bc128]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x1003061f
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x18], 1
jne 0x10030500
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x10030690
lea ebx, [esi + 0x14]
nop
mov ecx, dword [ebx]
test ecx, ecx
je 0x10030685
mov eax, dword [0x100bc128]
mov dword [ebx - 4], 0
mov dword [ebx - 8], 0
test eax, eax
je 0x10030673
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebx], 0
add ebx, 0x18
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x10030650
test esi, esi
je 0x100306c2
mov eax, dword [0x100bc128]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
test eax, eax
je 0x100306b1
dec dword [eax + 0x370]
push esi
call fcn.1007998a
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x80], eax
lea eax, [ebx + 8]
test edi, edi
jle 0x1003071e
cmp edi, eax
mov esi, edi
cmovl esi, eax
test esi, esi
jle 0x1003071e
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030700
inc dword [eax + 0x370]
mov eax, esi
shl eax, 4
push eax
call fcn.10080319
mov ebx, eax
mov dword [ebp - 0x60], esi
add esp, 4
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x5c], ebx
mov eax, 8
mov dword [ebp - 0x64], edi
test edi, edi
jle 0x10030761
cmp edi, 8
mov esi, edi
cmovl esi, eax
test esi, esi
jle 0x10030761
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030740
inc dword [eax + 0x370]
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
call fcn.10080319
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], esi
mov ecx, edi
mov dword [ebp - 0x88], edi
shl ecx, 4
push ecx
push 0
push ebx
call fcn.100744f0
add esp, 0xc
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
push 0
push dword [ebp - 0x24]
call fcn.100744f0
mov eax, dword [ebp - 0x28]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x18], edx
add esp, 0xc
mov dword [ebp - 0x10], ecx
xor ebx, ebx
test eax, eax
jle 0x100309d1
mov edi, dword [ebp - 0x2c]
xor esi, esi
add edi, 0x98
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], eax
nop dword [eax]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x100309b3
mov eax, ecx
add dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x24]
xorps xmm4, xmm4
shl eax, 4
add eax, dword [ebp - 0x38]
mov dword [edi - 4], eax
lea eax, [ebx*8]
sub eax, ebx
add ebx, edx
mov dword [ebp - 0x14], ebx
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x30]
mov dword [edi], ecx
mov ebx, dword [eax + 0x54]
mov eax, dword [ebx + esi + 0x10]
add ebx, esi
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov al, byte [ebx + 0x14]
mov byte [edi - 8], al
mov al, byte [ebx + 0x18]
mov byte [edi - 7], al
movss xmm2, dword [ebx + 0x10]
comiss xmm2, xmm4
mov dword [ebp - 0x48], ebx
jbe 0x1003088e
mov ebx, dword [edi - 0x7c]
mov eax, 0x100
mov edi, dword [edi - 0x94]
cwde
movzx ecx, byte [ebx + edi + 4]
movzx edx, byte [ebx + edi + 5]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [ebx + edi + 6]
movsx ecx, cx
imul ecx, eax
movsx esi, dx
movzx edx, byte [ebx + edi + 7]
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp - 0x1c]
divss xmm2, xmm0
movss dword [ebp - 0x3c], xmm2
jmp 0x100308c8
mov ecx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
movss xmm1, dword [0x100b001c]
movzx edx, byte [ecx + eax + 0x13]
movzx eax, byte [ecx + eax + 0x12]
shl eax, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm2
movaps xmm2, xmm1
movss dword [ebp - 0x3c], xmm1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [edi + 0x20], eax
jle 0x100309aa
mov dword [ebp - 0x44], eax
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.10026530
movd xmm1, dword [ebx + 0x18]
lea ecx, [ebp - 0x40]
movd xmm0, dword [ebx + 0x14]
xorps xmm3, xmm3
push ecx
cvtdq2ps xmm1, xmm1
lea ecx, [ebp - 0x70]
mov edx, eax
push ecx
lea ecx, [ebp - 0x4c]
push ecx
cvtdq2ps xmm0, xmm0
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [edi - 0x98]
mulss xmm1, xmm2
mulss xmm0, xmm2
xorps xmm2, xmm2
call fcn.10028d80
movzx ecx, word [ebx + 0x14]
sub cx, word [ebp - 0x6c]
mov esi, dword [ebp - 0x44]
dec cx
add cx, word [ebp - 0x70]
mov eax, dword [ebp - 0x68]
movzx edx, ax
mov eax, dword [edi - 4]
add cx, dx
movss xmm2, dword [ebp - 0x3c]
dec dx
mov word [esi + eax + 4], cx
movzx ecx, word [ebx + 0x18]
sub cx, word [ebp - 0x4c]
add cx, word [ebp - 0x40]
mov eax, dword [edi - 4]
add cx, dx
mov edx, dword [ebp - 0x18]
mov word [esi + eax + 6], cx
mov eax, dword [edi - 4]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
add esi, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
add edx, ecx
mov dword [ebp - 0x18], edx
cmp eax, dword [edi + 0x20]
jl 0x100308e2
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
jmp 0x100309b6
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add edi, 0xc4
add esi, 0x78
sub eax, 1
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
jne 0x100307c0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx + 0xc]
sqrtss xmm0, xmm0
mov dword [ebx + 0x20], 0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x10030a2d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x100affd4]
jb 0x10030a09
mov eax, 0x1000
jmp 0x10030a2d
comiss xmm0, dword [0x100affd0]
jb 0x10030a19
mov eax, 0x800
jmp 0x10030a2d
comiss xmm0, dword [0x100affc8]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.100744f0
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x100bc128]
mov dword [ebp - 0x40], edi
test eax, eax
je 0x10030a5e
inc dword [eax + 0x370]
push 0x30
call fcn.10080319
sub edi, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [0x100bc128]
add esp, 4
mov dword [ebp - 0x18], esi
test eax, eax
je 0x10030a7f
inc dword [eax + 0x370]
lea eax, [edi*8]
push eax
call fcn.10080319
add esp, 4
test esi, esi
je 0x10030b00
test eax, eax
je 0x10030aee
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
push edi
push eax
mov dword [ebp - 0x8c], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa0], ecx
mov ecx, esi
mov dword [ebp - 0xa4], edx
mov edx, edi
push eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x9c], 0
call fcn.10025190
jmp 0x10030b26
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030afd
dec dword [eax + 0x370]
push esi
jmp 0x10030b15
test eax, eax
je 0x10030b1d
mov ecx, dword [0x100bc128]
test ecx, ecx
je 0x10030b14
dec dword [ecx + 0x370]
push eax
call fcn.1007998a
add esp, 4
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [ebx + 0x40]
test edi, edi
jle 0x10030b61
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x10030b61
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030b52
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call fcn.10080319
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call fcn.100744f0
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x40], esi
jle 0x10030ba5
mov edx, dword [ebp - 0x10]
xor ecx, ecx
add edx, 6
mov eax, dword [ebx + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [ebx + 0x48]
movzx eax, word [eax + ecx - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [ebx + 0x40]
jl 0x10030b81
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push edi
call fcn.10025640
test edi, edi
jle 0x10030bfb
mov edx, dword [ebp - 0x10]
xor esi, esi
add edx, 0xa
nop dword [eax]
cmp dword [edx + 2], 0
je 0x10030bf0
mov eax, dword [ebx + 0x48]
movzx ecx, word [edx - 2]
mov word [eax + esi + 4], cx
mov eax, dword [ebx + 0x48]
movzx ecx, word [edx]
mov word [eax + esi + 6], cx
movzx ecx, word [edx - 4]
movzx eax, word [edx]
add ecx, eax
cmp dword [ebx + 0x20], ecx
cmovge ecx, dword [ebx + 0x20]
mov dword [ebx + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x10030bc0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10030c1b
mov ecx, dword [0x100bc128]
test ecx, ecx
je 0x10030c12
dec dword [ecx + 0x370]
push eax
call fcn.1007998a
add esp, 4
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x28]
test edi, edi
jle 0x10030c87
mov esi, dword [ebp - 0x2c]
add esi, 0xa8
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
test eax, eax
je 0x10030c78
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10025640
xor edi, edi
cmp dword [esi], edi
jle 0x10030c78
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x10030c70
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [ebx + 0x20], ecx
cmovge ecx, dword [ebx + 0x20]
mov dword [ebx + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10030c50
add esi, 0xc4
sub dword [ebp - 0x14], 1
jne 0x10030c32
mov edi, dword [ebp - 0x28]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x20]
jne 0x10030cb5
lea ecx, [eax - 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 eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x100afebc]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x1c]
movaps xmm2, xmm1
mov dword [ebx + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
mov eax, dword [0x100bc128]
movss dword [ebx + 0x24], xmm2
movss dword [ebx + 0x28], xmm1
test eax, eax
je 0x10030cfb
inc dword [eax + 0x370]
push ecx
call fcn.10080319
mov ecx, dword [ebx + 0x1c]
add esp, 4
imul ecx, dword [ebx + 0x20]
mov dword [ebx + 0x14], eax
push ecx
push 0
push eax
call fcn.100744f0
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xa8], eax
test edi, edi
jle 0x10030eab
mov edi, dword [ebp - 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x3c], ecx
nop word [eax + eax]
mov esi, dword [ebx + 0x54]
add esi, eax
cmp dword [edi + 0xa8], 0
je 0x10030e85
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
mov edx, edi
push 1
push eax
lea ecx, [ebp - 0xb4]
call fcn.1002b9f0
movss xmm1, dword [esi + 0x44]
ucomiss xmm1, dword [0x100afebc]
movss dword [ebp - 0x40], xmm1
lahf
test ah, 0x44
jnp 0x10030e75
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b0550]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10095dd0
movss xmm1, dword [ebp - 0x40]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x1b8], dl
inc esi
cmp esi, 0x100
jb 0x10030da0
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0xa8], eax
jle 0x10030e75
lea ebx, [ecx + 6]
nop
cmp dword [ebx + 6], 0
je 0x10030e63
mov ecx, dword [ebp - 0x30]
movzx edx, word [ebx + 4]
movzx edi, word [ebx]
movzx esi, word [ebx - 2]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x20], eax
imul edx, dword [ebp - 0x20]
movzx eax, word [ebx + 2]
add edx, dword [ecx + 0x14]
add edx, eax
test edi, edi
je 0x10030e5d
mov eax, dword [ebp - 0x20]
nop
xor ecx, ecx
test esi, esi
je 0x10030e56
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x1b8]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x10030e40
mov eax, dword [ebp - 0x20]
dec edi
add edx, eax
test edi, edi
jg 0x10030e30
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
inc eax
add ebx, 0x10
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi + 0xa8]
jl 0x10030e00
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov dword [edi + 0x94], 0
add eax, 0x78
add edi, 0xc4
sub ecx, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x3c], ecx
jne 0x10030d50
mov esi, dword [ebp - 0xb0]
mov edi, dword [ebp - 0x28]
jmp 0x10030eae
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x8c], 0
je 0x10030ec6
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030ec6
dec dword [eax + 0x370]
push dword [ebp - 0x8c]
call fcn.1007998a
add esp, 4
test esi, esi
je 0x10030ee7
mov eax, dword [0x100bc128]
test eax, eax
je 0x10030ee7
dec dword [eax + 0x370]
push esi
call fcn.1007998a
mov ecx, dword [ebp - 0x38]
add esp, 4
test ecx, ecx
je 0x10030f25
mov eax, dword [0x100bc128]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
test eax, eax
je 0x10030f14
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x5c], ecx
test edi, edi
jle 0x1003121d
mov ecx, dword [ebp - 0x2c]
xor edx, edx
add ecx, 4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov eax, edi
mov dword [ebp - 0x30], edi
cmp dword [ecx + 0xa4], 0
je 0x100311a6
mov edi, dword [ecx + 0x18]
xorps xmm3, xmm3
mov esi, dword [ecx]
mov eax, dword [ebx + 0x54]
add eax, edx
mov dword [ebp - 0x10], eax
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x14], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
movsx edx, dx
mov edi, dword [ebp - 0x14]
add cx, ax
movsx ecx, cx
mov eax, ecx
sub eax, edx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x10]
movd xmm0, eax
mov eax, dword [ebp - 0x10]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x10]
xor eax, eax
divss xmm2, xmm0
comiss xmm1, xmm3
mulss xmm1, xmm2
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
comiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
seta al
cmp byte [ecx + 0x3c], 0
mulss xmm1, xmm2
lea eax, [eax*2 - 1]
movss dword [ebp - 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1003104c
mov ecx, edi
call fcn.10031980
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x40]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], ebx
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
jmp 0x10031055
movzx eax, word [edi + 0x38]
movss xmm0, dword [edi + 0x44]
addss xmm0, dword [0x100afe7c]
inc eax
xor edx, edx
mov word [edi + 0x38], ax
movss xmm7, dword [ecx + 0x28]
movss dword [ebp - 0x4c], xmm7
cvttss2si eax, xmm0
mov dword [ebp - 0x14], edx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x20]
movss dword [ebp - 0x40], xmm6
cmp dword [ecx + 0xa4], edx
jle 0x100311a0
xor esi, esi
nop word [eax + eax]
movd xmm0, dword [ebx + 0x1c]
sub esp, 0x20
movss xmm1, dword [0x100afebc]
mov eax, dword [ecx + 0xbc]
mov ecx, dword [ecx + 0x94]
movss xmm3, dword [0x100afebc]
cvtdq2ps xmm0, xmm0
mov edx, dword [eax + edx*4]
movzx eax, word [esi + ecx]
divss xmm1, xmm0
movd xmm0, dword [ebx + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [esi + ecx + 2]
divss xmm3, xmm0
movss xmm0, dword [esi + ecx + 0x10]
movd xmm4, eax
movzx eax, word [esi + ecx + 4]
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esi + ecx + 0x18]
movd xmm2, eax
movzx eax, word [esi + ecx + 6]
cvtdq2ps xmm2, xmm2
mulss xmm5, xmm1
mulss xmm2, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm4, xmm4
mulss xmm1, xmm3
mulss xmm4, xmm3
movaps xmm3, xmm7
addss xmm3, dword [esi + ecx + 8]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm4
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm0
movaps xmm0, xmm7
addss xmm0, dword [esi + ecx + 0x14]
movss dword [esp + 4], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esi + ecx + 0xc]
mov ecx, edi
movss dword [esp], xmm0
push edx
push dword [ebp - 0x10]
call fcn.10031e00
mov edx, dword [ebp - 0x14]
add esi, 0x1c
mov ecx, dword [ebp - 0x20]
inc edx
movss xmm6, dword [ebp - 0x40]
movss xmm7, dword [ebp - 0x4c]
mov dword [ebp - 0x14], edx
cmp edx, dword [ecx + 0xa4]
jl 0x100310a0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
add ecx, 0xc4
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], eax
jne 0x10030f40
mov esi, dword [ebp - 0x2c]
add esi, 0xb4
nop word [eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100311ef
mov eax, dword [0x100bc128]
test eax, eax
je 0x100311e6
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1003120d
mov eax, dword [0x100bc128]
test eax, eax
je 0x10031204
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov byte [ebp - 4], 7
add esi, 0xc4
sub dword [ebp - 0x28], 1
jne 0x100311d0
mov ecx, ebx
call fcn.100312c0
mov bl, 1
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10031245
mov eax, dword [0x100bc128]
test eax, eax
je 0x1003123c
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x10031264
mov eax, dword [0x100bc128]
test eax, eax
je 0x1003125b
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
add esp, 4
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x10031283
mov eax, dword [0x100bc128]
test eax, eax
je 0x1003127a
dec dword [eax + 0x370]
push esi
call fcn.1007998a
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100312a3
mov ecx, dword [0x100bc128]
test ecx, ecx
je 0x1003129a
dec dword [ecx + 0x370]
push eax
call fcn.1007998a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret