Function at 0x10020220
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x100860c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10c], edi
cmp dword [edi + 0x4c], 0
jg 0x1002025c
push 0x6ab
push 0x10081520
push 0x100819e8
call dword [fcn.1003d258]
add esp, 0xc
cmp dword [edi + 0x58], 0
jge 0x100202ce
test byte [edi + 4], 2
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x19c], 0x80000000
push eax
mov dword [ebp - 0x198], 0x1b00d9
je 0x100202c2
mov dword [ebp - 0x198], 0x20002
call fcn.100230c0
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x58], eax
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1001f810
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x12c], eax
xor esi, esi
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x150], ebx
test eax, eax
jle 0x1002039e
xor edi, edi
cmp esi, eax
jl 0x1002033d
push 0x4ef
push 0x1007e9f0
push 0x10080da8
call dword [fcn.1003d258]
add esp, 0xc
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ecx + 0x54]
mov edx, dword [eax + edi + 0x30]
test edx, edx
jne 0x1002035b
mov dword [eax + edi + 0x30], 0x100820fc
mov edx, 0x100820fc
cmp word [edx], 0
je 0x10020387
movzx ecx, word [edx + 2]
test cx, cx
je 0x10020381
movzx eax, word [edx]
inc ebx
inc dword [ebp - 0x12c]
add edx, 4
sub ecx, eax
add ebx, ecx
cmp word [edx], 0
jne 0x10020361
mov dword [ebp - 0x150], ebx
mov eax, dword [ebp - 0x10c]
inc esi
add edi, 0x74
mov eax, dword [eax + 0x4c]
cmp esi, eax
jl 0x1002033d
mov edi, dword [ebp - 0x10c]
mov esi, dword [edi + 0xc]
test esi, esi
jg 0x100203d6
cmp ebx, 0xfa0
jle 0x100203b4
mov esi, 0x1000
jmp 0x100203d6
cmp ebx, 0x7d0
jle 0x100203c3
mov esi, 0x800
jmp 0x100203d6
cmp ebx, 0x3e8
mov esi, 0x200
mov eax, 0x400
cmovg esi, eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [0x1008694c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0
test eax, eax
je 0x100203f8
inc dword [eax + 0x388]
push 0x30
call dword [fcn.1003d218]
mov edi, eax
mov ebx, esi
sub ebx, dword [ebp - 0x130]
add esp, 4
mov eax, dword [0x1008694c]
mov dword [ebp - 0x118], edi
test eax, eax
je 0x10020422
inc dword [eax + 0x388]
lea eax, [ebx*8]
push eax
call dword [fcn.1003d218]
add esp, 4
mov dword [ebp - 0x134], eax
test edi, edi
je 0x100212ee
test eax, eax
je 0x100212dc
mov ecx, dword [ebp - 0x130]
mov edx, ebx
push ebx
push eax
mov dword [ebp - 0x15c], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x16c], ecx
push eax
mov ecx, edi
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], 0x8000
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x170], esi
call fcn.100161c0
mov esi, dword [ebp - 0x10c]
mov ebx, 1
add esp, 0xc
mov dword [ebp - 0x110], ebx
mov eax, ebx
mov edx, edi
mov ecx, esi
mov dword [ebp - 0x128], eax
call fcn.10021320
imul ecx, dword [esi + 0x4c], 0x8c
mov eax, dword [0x1008694c]
test eax, eax
je 0x100204d9
inc dword [eax + 0x388]
push ecx
call dword [fcn.1003d218]
mov ecx, dword [esi + 0x4c]
add esp, 4
mov edx, eax
xor edi, edi
mov dword [ebp - 0x148], edx
test ecx, ecx
jle 0x100205d5
xor eax, eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x138], eax
cmp edi, ecx
jl 0x10020528
push 0x4ef
push 0x1007e9f0
push 0x10080da8
call dword [fcn.1003d258]
mov eax, dword [ebp - 0x138]
add esp, 0xc
mov esi, dword [esi + 0x54]
add esi, eax
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10020543
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1002055b
cmp eax, dword [ebp - 0x10c]
je 0x1002055b
push 0x6de
push 0x10081520
push 0x10081a20
call dword [fcn.1003d258]
add esp, 0xc
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
call fcn.10017140
mov dword [ebp - 0x114], eax
test eax, eax
jns 0x1002058d
push 0x6e1
push 0x10081520
push 0x10081ac8
call dword [fcn.1003d258]
mov eax, dword [ebp - 0x114]
add esp, 0xc
mov edx, dword [esi]
mov esi, dword [ebp - 0x130]
mov ecx, esi
push eax
call fcn.10017440
add esp, 4
test eax, eax
je 0x10020a4c
mov eax, dword [ebp - 0x138]
add esi, 0x8c
mov dword [ebp - 0x130], esi
inc edi
mov esi, dword [ebp - 0x10c]
add eax, 0x74
mov dword [ebp - 0x138], eax
mov ecx, dword [esi + 0x4c]
cmp edi, ecx
jl 0x10020528
mov eax, dword [0x1008694c]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x124], 0
test eax, eax
je 0x10020602
inc dword [eax + 0x388]
mov esi, dword [ebp - 0x150]
lea edi, [esi*8]
sub edi, esi
shl edi, 2
push edi
call dword [fcn.1003d218]
mov ecx, dword [0x1008694c]
add esp, 4
mov dword [ebp - 0x158], eax
test ecx, ecx
je 0x10020634
inc dword [ecx + 0x388]
mov eax, esi
shl eax, 4
push eax
mov dword [ebp - 0x114], eax
call dword [fcn.1003d218]
mov ecx, dword [0x1008694c]
add esp, 4
mov dword [ebp - 0x13c], eax
test ecx, ecx
je 0x1002065f
inc dword [ecx + 0x388]
mov eax, dword [ebp - 0x12c]
lea esi, [eax + eax*2]
shl esi, 3
push esi
call dword [fcn.1003d218]
add esp, 4
mov dword [ebp - 0x130], eax
push edi
push 0
push dword [ebp - 0x158]
call fcn.1003bffe
add esp, 0xc
push dword [ebp - 0x114]
push 0
push dword [ebp - 0x13c]
call fcn.1003bffe
add esp, 0xc
push esi
push 0
push dword [ebp - 0x130]
call fcn.1003bffe
mov esi, dword [ebp - 0x10c]
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x140], edx
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jle 0x10020a8d
mov edi, dword [ebp - 0x148]
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x144], edi
cmp edx, ecx
jl 0x100206fc
push 0x4ef
push 0x1007e9f0
push 0x10080da8
call dword [fcn.1003d258]
add esp, 0xc
mov ecx, dword [esi + 0x54]
xor esi, esi
add ecx, ebx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x118], esi
mov edx, dword [ecx + 0x30]
movzx eax, word [edx]
mov ebx, eax
test ax, ax
je 0x10020767
mov edi, esi
nop dword [eax + eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1002074f
add edx, 4
mov ecx, eax
movzx eax, bx
inc edi
sub ecx, eax
inc esi
add edi, ecx
movzx ebx, word [edx]
test bx, bx
jne 0x10020730
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], edi
mov edi, dword [ebp - 0x144]
mov dword [ebp - 0x118], esi
mov edx, dword [ebp - 0x124]
mov ebx, dword [ebp - 0x130]
mov dword [edi + 0x88], esi
lea eax, [edx + edx*2]
add edx, esi
lea eax, [ebx + eax*8]
mov dword [ebp - 0x124], edx
xor ebx, ebx
mov dword [edi + 0x84], eax
test esi, esi
jle 0x1002080d
xor eax, eax
mov dword [ebp - 0x134], eax
nop dword [eax + eax]
mov edx, dword [ecx + 0x30]
mov esi, dword [edi + 0x84]
mov edi, dword [ebp - 0x158]
add esi, eax
mov eax, dword [ecx + 0x10]
mov dword [esi], eax
movzx eax, word [edx + ebx*4]
mov dword [esi + 4], eax
movzx eax, word [edx + ebx*4]
movzx ecx, word [edx + ebx*4 + 2]
inc ebx
mov edx, dword [ebp - 0x120]
sub ecx, eax
inc ecx
mov dword [esi + 0xc], ecx
lea eax, [edx*8]
sub eax, edx
add edx, ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x120], edx
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x144]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x134]
add eax, 0x18
mov dword [ebp - 0x134], eax
cmp ebx, dword [ebp - 0x118]
jl 0x100207a0
mov edx, dword [ebp - 0x154]
mov eax, edx
mov ecx, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x138]
add edx, ebx
shl eax, 4
add ecx, eax
mov dword [edi + 0x80], ebx
mov eax, dword [ebp - 0x14c]
mov dword [edi + 0x7c], ecx
mov dword [ebp - 0x154], edx
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x118], eax
cmp eax, 8
jbe 0x10020869
push 0xee2
push 0x10080ff0
push 0x10081474
call dword [fcn.1003d258]
mov ecx, dword [edi + 0x7c]
add esp, 0xc
cmp esi, 8
jbe 0x10020889
push 0xee3
push 0x10080ff0
push 0x10081498
call dword [fcn.1003d258]
mov ecx, dword [edi + 0x7c]
add esp, 0xc
cmp dword [ebp - 0x118], 8
mov edx, edi
mov eax, dword [ebp - 0x110]
cmovbe eax, dword [ebp - 0x118]
cmp esi, 8
push ecx
push dword [edi + 0x88]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x180]
mov eax, dword [ebp - 0x128]
push dword [edi + 0x84]
cmovbe eax, esi
mov dword [ebp - 0x164], eax
call fcn.1001c2e0
add esp, 0xc
mov dword [ebp - 0x110], eax
cmp eax, ebx
je 0x100208f4
push 0x712
push 0x10081520
push 0x10081b58
call dword [fcn.1003d258]
add esp, 0xc
xor edx, edx
xor esi, esi
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x134], esi
cmp dword [edi + 0x88], edx
jle 0x1002098b
xor ecx, ecx
mov dword [ebp - 0x144], ecx
mov eax, dword [edi + 0x84]
xor ebx, ebx
cmp dword [ecx + eax + 0xc], ebx
jle 0x10020973
mov esi, edx
shl esi, 4
mov edx, dword [eax + ecx + 4]
mov ecx, edi
add edx, ebx
call fcn.100179e0
test eax, eax
jne 0x1002094a
mov eax, dword [edi + 0x7c]
xor ecx, ecx
mov word [esi + eax + 6], cx
mov eax, dword [edi + 0x7c]
mov word [esi + eax + 4], cx
mov eax, dword [edi + 0x84]
inc ebx
mov ecx, dword [ebp - 0x144]
add esi, 0x10
mov edx, dword [ebp - 0x118]
inc edx
mov dword [ebp - 0x118], edx
cmp ebx, dword [ecx + eax + 0xc]
jl 0x10020927
mov esi, dword [ebp - 0x134]
inc esi
add ecx, 0x18
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x144], ecx
cmp esi, dword [edi + 0x88]
jl 0x10020914
mov eax, dword [ebp - 0x17c]
mov ecx, eax
mov ebx, dword [ebp - 0x110]
mov edx, dword [edi + 0x7c]
push ebx
mov dword [ebp - 0x118], eax
call fcn.10016790
add esp, 4
test ebx, ebx
jle 0x100209fa
xor edx, edx
mov eax, dword [edi + 0x7c]
cmp word [edx + eax + 4], 0
jne 0x100209cc
cmp word [edx + eax + 6], 0
jne 0x100209cc
mov dword [edx + eax + 0xc], 0
mov eax, dword [edi + 0x7c]
cmp dword [edx + eax + 0xc], 0
je 0x100209f2
movzx ecx, word [edx + eax + 0xa]
mov esi, dword [ebp - 0x10c]
movzx eax, word [edx + eax + 6]
add ecx, eax
cmp dword [esi + 0x20], ecx
cmovge ecx, dword [esi + 0x20]
mov dword [esi + 0x20], ecx
add edx, 0x10
sub ebx, 1
jne 0x100209b1
mov esi, dword [ebp - 0x10c]
add edi, 0x8c
mov edx, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x114]
inc edx
mov eax, dword [ebp - 0x164]
add ebx, 0x74
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x128], eax
cmp edx, ecx
jge 0x10020a7f
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x110], eax
jmp 0x100206e0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x148]
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
test ecx, ecx
je 0x10020a79
mov eax, dword [0x1008694c]
test eax, eax
je 0x10020a79
dec dword [eax + 0x388]
push ecx
jmp 0x10021303
mov esi, dword [ebp - 0x15c]
mov ebx, dword [ebp - 0x168]
jmp 0x10020a93
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x150]
cmp dword [ebp - 0x154], edi
je 0x10020ab9
push 0x729
push 0x10081520
push 0x10081b88
call dword [fcn.1003d258]
add esp, 0xc
cmp dword [ebp - 0x120], edi
mov edi, dword [fcn.1003d258]
je 0x10020adb
push 0x72a
push 0x10081520
push 0x10081bd0
call edi
add esp, 0xc
mov eax, dword [ebp - 0x12c]
cmp dword [ebp - 0x124], eax
je 0x10020afd
push 0x72b
push 0x10081520
push 0x10081c20
call edi
add esp, 0xc
mov edi, dword [ebp - 0x10c]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x10020b31
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
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x10082d18]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1008694c]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x10020b75
inc dword [eax + 0x388]
push ecx
call dword [fcn.1003d218]
mov ecx, dword [edi + 0x20]
add esp, 4
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.1003bffe
mov eax, dword [edi + 0x14]
xor edx, edx
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x114], edx
test ecx, ecx
jle 0x10020dce
mov edi, dword [ebp - 0x148]
sub edi, 0xffffff80
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edi
nop
cmp edx, ecx
jl 0x10020bec
push 0x4ef
push 0x1007e9f0
push 0x10080da8
call dword [fcn.1003d258]
add esp, 0xc
mov eax, dword [ebp - 0x10c]
mov esi, dword [eax + 0x54]
add esi, dword [ebp - 0x124]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x140], eax
cmp eax, 8
jbe 0x10020c30
push 0xee2
push 0x10080ff0
push 0x10081474
call dword [fcn.1003d258]
mov ecx, dword [ebp - 0x110]
add esp, 0xc
cmp ecx, 8
jbe 0x10020c53
push 0xee3
push 0x10080ff0
push 0x10081498
call dword [fcn.1003d258]
mov ecx, dword [ebp - 0x110]
add esp, 0xc
cmp dword [ebp - 0x140], 8
lea edx, [edi - 0x80]
push dword [edi - 4]
cmovbe ebx, dword [ebp - 0x140]
cmp ecx, 8
push dword [edi + 8]
mov eax, dword [ebp - 0x128]
push dword [edi + 4]
cmovbe eax, ecx
mov dword [ebp - 0x168], ebx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x164], eax
call fcn.1001c5f0
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x10082d18]
movss dword [ebp - 0x110], xmm1
lahf
test ah, 0x44
jnp 0x10020d75
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083010]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1003c160
movss xmm1, dword [ebp - 0x110]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x108], dl
inc esi
cmp esi, 0x100
jb 0x10020cb3
mov eax, dword [edi]
mov ebx, dword [edi - 4]
shl eax, 4
add eax, ebx
cmp ebx, eax
je 0x10020d75
mov ecx, dword [ebp - 0x170]
nop
cmp dword [ebx + 0xc], 0
je 0x10020d66
movzx eax, word [ebx + 0xa]
movzx edx, word [ebx + 8]
movzx edi, word [ebx + 6]
movzx esi, word [ebx + 4]
imul eax, ecx
add eax, dword [ebp - 0x160]
add edx, eax
test edi, edi
je 0x10020d60
xor ecx, ecx
test esi, esi
je 0x10020d53
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x108]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x10020d40
mov ecx, dword [ebp - 0x170]
dec edi
add edx, ecx
test edi, edi
jg 0x10020d35
mov edi, dword [ebp - 0x120]
mov eax, dword [edi]
add ebx, 0x10
shl eax, 4
add eax, dword [edi - 4]
cmp ebx, eax
jne 0x10020d10
mov ebx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x114]
add dword [ebp - 0x124], 0x74
inc edx
mov dword [edi - 4], 0
add edi, 0x8c
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x120], edi
cmp edx, ecx
jge 0x10020dc0
mov eax, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x168]
mov dword [ebp - 0x128], eax
jmp 0x10020bd0
mov esi, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x17c]
jmp 0x10020dda
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x10c]
test esi, esi
je 0x10020ded
mov eax, dword [0x1008694c]
test eax, eax
je 0x10020ded
dec dword [eax + 0x388]
push esi
mov esi, dword [fcn.1003d214]
call esi
add esp, 4
test edi, edi
je 0x10020e0c
mov eax, dword [0x1008694c]
test eax, eax
je 0x10020e0c
dec dword [eax + 0x388]
push edi
call esi
mov ecx, dword [ebp - 0x13c]
add esp, 4
test ecx, ecx
je 0x10020e2b
mov eax, dword [0x1008694c]
test eax, eax
je 0x10020e2b
dec dword [eax + 0x388]
push ecx
call esi
mov eax, dword [ebx + 0x4c]
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x140], ecx
test eax, eax
jle 0x10021265
mov esi, dword [ebp - 0x148]
xor edx, edx
add esi, 4
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x128], esi
cmp ecx, eax
jl 0x10020e7d
push 0x4ef
push 0x1007e9f0
push 0x10080da8
call dword [fcn.1003d258]
mov edx, dword [ebp - 0x120]
add esp, 0xc
mov edi, dword [ebx + 0x54]
mov ebx, dword [edi + edx + 0x70]
add edi, edx
mov dword [ebp - 0x13c], ebx
mov al, byte [edi + 0x3c]
mov byte [ebp - 0x119], al
test al, al
je 0x10020ea9
mov ecx, ebx
call fcn.10021b40
mov al, byte [edi + 0x3c]
mov byte [ebp - 0x119], al
mov edx, dword [ebp - 0x128]
mov eax, 0x100
mov esi, dword [esi + 0x18]
cwde
movss xmm1, dword [edi + 0x10]
mov edx, dword [edx]
movzx ecx, byte [esi + edx + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 7]
add cx, ax
movsx eax, cx
movzx ecx, byte [esi + edx + 4]
mov dword [ebp - 0x110], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 5]
add cx, ax
movsx esi, cx
mov eax, esi
sub eax, dword [ebp - 0x110]
cmp byte [ebp - 0x119], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x114], xmm1
jne 0x10020fb0
mov ecx, ebx
call fcn.10021a70
mov eax, dword [edi + 0x10]
xorps xmm3, xmm3
mov dword [ebx], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x44], eax
xor eax, eax
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov dword [ebx + 0x40], edi
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x114]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [ebp - 0x110]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x114]
cvtdq2ps xmm0, xmm0
seta al
lea eax, [eax*2 - 1]
movss dword [ebx + 0x48], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x4c], xmm0
movss xmm0, dword [ebx + 0x48]
xor ecx, ecx
movss xmm2, dword [0x10082ce4]
inc word [ebx + 0x3e]
addss xmm0, xmm2
mov esi, dword [ebp - 0x128]
movss xmm1, dword [edi + 0x28]
movss dword [ebp - 0x134], xmm1
mov dword [ebp - 0x110], ecx
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x2c]
movss dword [ebp - 0x118], xmm0
cmp dword [esi + 0x84], ecx
jle 0x10021226
xor eax, eax
mov dword [ebp - 0x114], eax
nop dword [eax]
mov ebx, dword [esi + 0x80]
add ebx, eax
xor eax, eax
mov dword [ebp - 0x124], eax
cmp dword [ebx + 0xc], eax
jle 0x10021204
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebx + 0x10]
add edx, ecx
cmp word [edx], 0
jne 0x10021055
cmp word [edx + 4], 0
jne 0x10021055
cmp word [edx + 2], 0
jne 0x10021055
cmp word [edx + 6], 0
je 0x100211df
mov esi, dword [ebx + 4]
add esi, eax
cmp byte [edi + 0x3c], 0
je 0x10021096
mov eax, dword [ebp - 0x13c]
movzx ecx, si
cmp ecx, dword [eax + 0x28]
jge 0x10021096
mov eax, dword [eax + 0x30]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
je 0x10021096
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax + 0x18]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x100211d3
movss xmm0, dword [edx + 0x10]
movss xmm7, dword [edi + 0x34]
comiss xmm7, xmm0
ja 0x100210ae
movss xmm7, dword [edi + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x100210da
cmp byte [edi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x100210d6
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [ebp - 0x10c]
sub esp, 0x1c
movss xmm3, dword [0x10082d18]
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebp - 0x12c]
movd xmm0, dword [eax + 0x1c]
movss xmm2, dword [0x10082d18]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm7
divss xmm3, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + 2]
divss xmm2, xmm0
movd xmm4, eax
movzx eax, word [ecx + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
movzx eax, word [ecx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm2
mulss xmm0, xmm2
movss xmm2, dword [ecx + 8]
mulss xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [ebp - 0x118]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [ecx + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x13c]
addss xmm0, xmm4
addss xmm3, dword [ebp - 0x118]
addss xmm0, xmm6
movss dword [esp], xmm0
push esi
call fcn.10021fa0
movss xmm1, dword [ebp - 0x134]
movss xmm2, dword [0x10082ce4]
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x124]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], ecx
cmp eax, dword [ebx + 0xc]
jl 0x10021031
mov ecx, dword [ebp - 0x110]
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x114]
inc ecx
add eax, 0x18
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], eax
cmp ecx, dword [esi + 0x84]
jl 0x10021010
mov ebx, dword [ebp - 0x10c]
add esi, 0x8c
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp - 0x120]
inc ecx
add edx, 0x74
mov dword [ebp - 0x140], ecx
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x128], esi
cmp ecx, eax
jl 0x10020e7d
mov esi, dword [fcn.1003d214]
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x1002127e
mov eax, dword [0x1008694c]
test eax, eax
je 0x1002127e
dec dword [eax + 0x388]
push ecx
call esi
mov ecx, dword [ebp - 0x130]
add esp, 4
test ecx, ecx
je 0x1002129d
mov eax, dword [0x1008694c]
test eax, eax
je 0x1002129d
dec dword [eax + 0x388]
push ecx
call esi
mov ecx, dword [ebp - 0x148]
add esp, 4
test ecx, ecx
je 0x100212bc
mov eax, dword [0x1008694c]
test eax, eax
je 0x100212bc
dec dword [eax + 0x388]
push ecx
call esi
add esp, 4
mov ecx, ebx
call fcn.10021800
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b130
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1008694c]
test eax, eax
je 0x100212eb
dec dword [eax + 0x388]
push edi
jmp 0x10021303
test eax, eax
je 0x1002130c
mov ecx, dword [0x1008694c]
test ecx, ecx
je 0x10021302
dec dword [ecx + 0x388]
push eax
call dword [fcn.1003d214]
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b130
mov esp, ebp
pop ebp
ret