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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x100d1400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x134], edi
cmp dword [edi + 0x50], 0
jge 0x10036bf0
lea eax, [ebp - 0x164]
mov dword [ebp - 0x15c], 0xffffffff
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x164], VariantCopy
mov dword [ebp - 0x160], 0x1b00b5
call fcn.10039120
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x50], eax
mov ecx, dword [edi + 0xc]
mov dword [edi], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
test ecx, ecx
je 0x10036c3e
mov eax, dword [0x100d1ec8]
push ecx
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 4
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10036c5c
mov eax, dword [0x100d1ec8]
push ecx
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 4
xor ecx, ecx
mov dword [edi + 0xc], 0
xor esi, esi
mov dword [edi + 0x10], 0
xor ebx, ebx
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x114], ecx
cmp dword [edi + 0x44], ecx
jle 0x10036cf4
xor edx, edx
mov dword [ebp - 0x12c], edx
nop dword [eax]
mov eax, dword [edi + 0x4c]
add eax, edx
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x10036ca8
mov dword [eax + 0x30], 0x100bbb38
mov edx, 0x100bbb38
cmp word [edx], 0
je 0x10036cd9
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x10036ccd
mov ecx, eax
inc ebx
movzx eax, word [edx]
inc esi
add edx, 4
sub ecx, eax
add ebx, ecx
cmp word [edx], 0
jne 0x10036cb0
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x10c], esi
mov edx, dword [ebp - 0x12c]
inc ecx
add edx, 0x64
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x12c], edx
cmp ecx, dword [edi + 0x44]
jl 0x10036c90
mov eax, dword [edi + 4]
mov dword [ebp - 0x11c], eax
test eax, eax
jg 0x10036d38
cmp ebx, 0xfa0
jle 0x10036d10
mov eax, 0x1000
jmp 0x10036d32
cmp ebx, 0x7d0
jle 0x10036d1f
mov eax, 0x800
jmp 0x10036d32
cmp ebx, 0x3e8
mov eax, 0x200
mov ecx, 0x400
cmovg eax, ecx
mov dword [ebp - 0x11c], eax
mov dword [edi + 0x14], eax
xorps xmm0, xmm0
mov eax, dword [edi + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [0x100d1ec8]
mov dword [edi + 0x18], 0
push 0x30
movlpd qword [ebp - 0x170], xmm0
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
movlpd qword [ebp - 0x168], xmm0
movlpd qword [ebp - 0x160], xmm0
movlpd qword [ebp - 0x150], xmm0
call eax
mov ecx, dword [0x100d1ec8]
add esp, 4
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x110]
inc dword [ecx + 0x318]
mov edx, dword [ecx + 0xc0]
mov dword [ebp - 0x128], eax
lea ecx, [eax*8]
push ecx
call edx
mov edx, dword [ebp - 0x114]
add esp, 4
mov ecx, eax
test edx, edx
je 0x10036e28
test ecx, ecx
je 0x10036e25
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x16c], edx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x160], eax
mov eax, 0x8000
sub eax, dword [ebp - 0x110]
push edx
push ecx
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x114]
push eax
mov dword [ebp - 0x164], 0x8000
call fcn.1002c420
add esp, 0xc
jmp 0x10036e43
push edx
jmp 0x10036e2d
test ecx, ecx
je 0x10036e43
push ecx
mov eax, dword [0x100d1ec8]
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 4
mov edx, dword [ebp - 0x16c]
mov eax, 1
mov ecx, edi
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x110], eax
call fcn.10037a00
imul ecx, dword [edi + 0x44], 0x88
mov eax, dword [0x100d1ec8]
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
push ecx
call eax
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [edi + 0x44], 0
mov dword [ebp - 0x114], 0
jle 0x10036f02
xor ecx, ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], ecx
mov edx, dword [edi + 0x4c]
mov esi, dword [edx + ecx]
mov edx, dword [edx + ecx + 0xc]
mov ecx, esi
call fcn.1002d060
mov edx, esi
mov esi, dword [ebp - 0x124]
push eax
mov ecx, esi
call fcn.1002d330
add esp, 4
test eax, eax
je 0x10037207
mov eax, dword [ebp - 0x114]
add esi, 0x88
mov ecx, dword [ebp - 0x12c]
inc eax
add ecx, 0x64
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x124], esi
cmp eax, dword [edi + 0x44]
jl 0x10036ea3
mov esi, dword [ebp - 0x10c]
mov eax, dword [0x100d1ec8]
lea edi, [ebx*8]
sub edi, ebx
mov dword [ebp - 0x13c], 0
shl edi, 2
push edi
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x148], 0
call eax
mov ecx, dword [0x100d1ec8]
add esp, 4
shl ebx, 4
mov dword [ebp - 0x12c], eax
inc dword [ecx + 0x318]
mov ecx, dword [ecx + 0xc0]
push ebx
call ecx
mov ecx, dword [0x100d1ec8]
lea esi, [esi + esi*2]
add esp, 4
shl esi, 3
mov dword [ebp - 0x124], eax
inc dword [ecx + 0x318]
mov ecx, dword [ecx + 0xc0]
push esi
call ecx
add esp, 4
mov dword [ebp - 0x114], eax
push edi
push 0
push dword [ebp - 0x12c]
call fcn.1007d660
add esp, 0xc
push ebx
push 0
push dword [ebp - 0x124]
call fcn.1007d660
add esp, 0xc
push esi
push 0
push dword [ebp - 0x114]
call fcn.1007d660
mov esi, dword [ebp - 0x134]
add esp, 0xc
mov dword [ebp - 0x130], 0
cmp dword [esi + 0x44], 0
jle 0x10037251
mov ebx, dword [ebp - 0x11c]
xor edx, edx
mov dword [ebp - 0x118], edx
nop dword [eax]
mov ecx, dword [esi + 0x4c]
xor edi, edi
add ecx, edx
mov dword [ebp - 0x144], edi
xor esi, esi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x140], esi
mov edx, dword [ecx + 0x30]
movzx eax, word [edx]
mov edi, eax
mov dword [ebp - 0x120], edi
mov edi, esi
test ax, ax
je 0x10037052
movzx eax, ax
movzx ecx, word [edx + 2]
test cx, cx
je 0x10037040
add edx, 4
movzx eax, ax
sub ecx, eax
inc edi
add edi, ecx
inc esi
movzx eax, word [edx]
test ax, ax
jne 0x10037023
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x140], esi
mov edx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x114]
mov dword [ebx + 0x84], esi
lea eax, [edx + edx*2]
add edx, esi
lea eax, [edi + eax*8]
mov dword [ebp - 0x148], edx
xor edi, edi
mov dword [ebp - 0x120], eax
mov dword [ebx + 0x80], eax
test esi, esi
jle 0x10037107
xor eax, eax
mov dword [ebp - 0x120], eax
mov edx, dword [ecx + 0x30]
mov esi, dword [ebx + 0x80]
add esi, eax
mov eax, dword [ecx + 0x10]
mov dword [esi], eax
movzx eax, word [edx + edi*4]
mov dword [esi + 4], eax
movzx eax, word [edx + edi*4]
movzx ecx, word [edx + edi*4 + 2]
inc edi
mov edx, dword [ebp - 0x13c]
sub ecx, eax
inc ecx
add dword [ebp - 0x13c], ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x10c]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [ebp - 0x12c]
lea eax, [edx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x120]
add eax, 0x18
mov dword [ebp - 0x120], eax
cmp edi, dword [ebp - 0x140]
jl 0x10037090
mov eax, dword [ebx + 0x80]
mov esi, dword [ebx + 0x84]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x138]
mov eax, ecx
mov edx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x128]
shl eax, 4
add edx, eax
mov eax, dword [ebp - 0x144]
add ecx, eax
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x78], edx
mov dword [ebp - 0x138], ecx
push edx
cmp dword [eax + 0x14], 8
mov edx, ebx
mov ecx, dword [eax + 0x18]
cmovbe edi, dword [eax + 0x14]
cmp ecx, 8
mov eax, dword [ebp - 0x110]
cmovbe eax, ecx
mov dword [ebp - 0x158], edi
push esi
push dword [ebp - 0x120]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x154], eax
call fcn.10032c30
mov edx, dword [ebx + 0x78]
add esp, 0xc
mov ecx, dword [ebp - 0x16c]
mov esi, eax
push esi
call fcn.1002c8c0
add esp, 4
test esi, esi
jle 0x100371bd
mov edi, dword [ebp - 0x134]
xor edx, edx
mov eax, dword [ebx + 0x78]
cmp dword [eax + edx + 0xc], 0
je 0x100371b5
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [edi + 0x18], ecx
cmovge ecx, dword [edi + 0x18]
mov dword [edi + 0x18], ecx
add edx, 0x10
sub esi, 1
jne 0x10037195
mov eax, dword [ebp - 0x130]
add ebx, 0x88
mov esi, dword [ebp - 0x134]
inc eax
mov edx, dword [ebp - 0x118]
add edx, 0x64
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x118], edx
cmp eax, dword [esi + 0x44]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x110], eax
jge 0x10037249
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x128], eax
jmp 0x10036ff0
mov ecx, dword [ebp - 0x11c]
mov eax, dword [0x100d1ec8]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
test ecx, ecx
je 0x1003722a
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a635
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x158]
jmp 0x10037256
mov ebx, 1
mov ecx, dword [esi + 0x18]
dec ecx
movss xmm1, dword [0x100c2444]
mov eax, ecx
movaps xmm2, xmm1
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, dword [0x100d1ec8]
mov edx, ecx
sar edx, 0x10
or edx, ecx
mov ecx, dword [esi + 0x14]
inc edx
mov dword [esi + 0x18], edx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, edx
divss xmm2, xmm0
push ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1c], xmm2
divss xmm1, xmm0
movss dword [esi + 0x20], xmm1
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [esi + 0x18]
add esp, 4
imul ecx, dword [esi + 0x14]
mov dword [esi + 0xc], eax
push ecx
push 0
push eax
call fcn.1007d660
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp dword [esi + 0x44], 0
mov dword [ebp - 0x150], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x128], 0
jle 0x10037490
mov edi, dword [ebp - 0x11c]
xor ecx, ecx
mov edx, dword [ebp - 0x110]
add edi, 0x7c
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], edi
mov esi, dword [esi + 0x4c]
push dword [edi - 4]
add esi, ecx
lea ecx, [ebp - 0x170]
push dword [edi + 8]
push dword [edi + 4]
cmp dword [esi + 0x14], 8
cmovbe ebx, dword [esi + 0x14]
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x158], ebx
cmovbe edx, dword [esi + 0x18]
mov dword [ebp - 0x154], edx
lea edx, [edi - 0x7c]
call fcn.10032e40
movss xmm1, dword [esi + 0x3c]
add esp, 0xc
ucomiss xmm1, dword [0x100c2444]
movss dword [ebp - 0x130], xmm1
lahf
test ah, 0x44
jnp 0x10037445
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c3270]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.100a1b60
movss xmm1, dword [ebp - 0x130]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x108], dl
inc esi
cmp esi, 0x100
jb 0x10037380
mov eax, dword [edi]
mov ebx, dword [edi - 4]
shl eax, 4
add eax, ebx
cmp ebx, eax
je 0x10037445
mov ecx, dword [ebp - 0x160]
nop dword [eax]
cmp dword [ebx + 0xc], 0
je 0x10037436
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 - 0x150]
add edx, eax
test edi, edi
je 0x10037430
xor ecx, ecx
test esi, esi
je 0x10037423
nop dword [eax + eax]
movzx eax, byte [edx + ecx]
mov al, byte [ebp + eax - 0x108]
mov byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x10037410
mov ecx, dword [ebp - 0x160]
dec edi
add edx, ecx
test edi, edi
jg 0x10037405
mov edi, dword [ebp - 0x10c]
mov eax, dword [edi]
add ebx, 0x10
shl eax, 4
add eax, dword [edi - 4]
cmp ebx, eax
jne 0x100373e0
mov eax, dword [ebp - 0x128]
mov esi, dword [ebp - 0x134]
inc eax
mov ecx, dword [ebp - 0x118]
mov dword [edi - 4], 0
add ecx, 0x64
add edi, 0x88
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], edi
cmp eax, dword [esi + 0x44]
jge 0x10037490
mov edx, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x158]
jmp 0x10037321
cmp dword [ebp - 0x14c], 0
mov eax, dword [0x100d1ec8]
je 0x100374a4
dec dword [eax + 0x318]
push dword [ebp - 0x14c]
mov eax, dword [eax + 0xc4]
call eax
mov eax, dword [0x100d1ec8]
add esp, 4
cmp dword [ebp - 0x16c], 0
je 0x100374c9
dec dword [eax + 0x318]
push dword [ebp - 0x16c]
mov eax, dword [eax + 0xc4]
call eax
mov ecx, dword [ebp - 0x124]
add esp, 4
mov eax, dword [0x100d1ec8]
test ecx, ecx
je 0x100374ef
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
add esp, 4
mov dword [ebp - 0x144], 0
cmp dword [esi + 0x44], 0
jle 0x10037981
mov ecx, dword [ebp - 0x11c]
xor edx, edx
add ecx, 4
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x10c], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [esi + 0x4c]
mov esi, dword [ecx]
add eax, edx
mov dword [ebp - 0x128], eax
mov ebx, dword [eax + 0x60]
mov eax, pe_nt_image_headers32
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
cwde
movsx ecx, cx
imul ecx, eax
mov eax, pe_nt_image_headers32
cwde
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov esi, dword [ebp - 0x128]
movsx edx, dx
mov dword [ebp - 0x120], edx
add cx, ax
movss xmm1, dword [esi + 0x10]
movsx eax, cx
mov dword [ebp - 0x118], eax
sub eax, edx
cmp byte [esi + 0x34], 0
movd xmm0, eax
lea eax, [ebx + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x138], eax
divss xmm1, xmm0
movss dword [ebp - 0x130], xmm1
jne 0x100375f9
mov ecx, ebx
call fcn.10037fa0
movd xmm0, dword [ebp - 0x118]
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x134]
cvtdq2ps xmm0, xmm0
mov dword [ebx], eax
mov eax, dword [ebp - 0x138]
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], edi
mulss xmm0, dword [ebp - 0x130]
movss dword [eax], xmm0
movd xmm0, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x130]
movss dword [ebx + 0x4c], xmm0
inc word [ebx + 0x3e]
xor edx, edx
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x148], xmm0
movss xmm0, dword [eax]
addss xmm0, dword [0x100c23f8]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x130], edx
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x174], xmm0
cmp dword [ecx + 0x80], edx
jle 0x1003794a
xor eax, eax
mov dword [ebp - 0x138], eax
mov ecx, dword [ecx + 0x7c]
xor edi, edi
add ecx, eax
mov dword [ebp - 0x124], ecx
cmp dword [ecx + 0xc], edi
jle 0x10037928
xor eax, eax
mov dword [ebp - 0x110], eax
nop
mov edx, dword [ecx + 0x10]
add edx, eax
cmp word [edx], 0
jne 0x10037694
cmp word [edx + 4], 0
jne 0x10037694
cmp word [edx + 2], 0
jne 0x10037694
cmp word [edx + 6], 0
je 0x10037909
mov eax, dword [ecx + 4]
add eax, edi
movzx esi, ax
mov eax, dword [ebp - 0x128]
cmp byte [eax + 0x34], 0
mov eax, esi
je 0x100376ec
mov dword [ebp - 0x118], eax
cmp eax, dword [ebx + 0x28]
jge 0x100376df
mov eax, dword [ebx + 0x30]
mov ecx, esi
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
mov ecx, dword [ebp - 0x124]
je 0x100376df
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x124]
jmp 0x100376e2
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x10037903
mov eax, esi
movss xmm2, dword [0x100c2444]
mov ecx, dword [ecx + 0x10]
movaps xmm1, xmm2
add ecx, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x134]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [eax + 0x18]
movzx eax, word [ecx]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss xmm0, dword [ecx + 8]
movss dword [ebp - 0x120], xmm0
movss xmm0, dword [ecx + 0xc]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x178], xmm0
movss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x17c], xmm0
movd xmm0, eax
movzx eax, word [ecx + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x180], xmm0
movd xmm0, eax
movzx eax, word [ecx + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x184], xmm0
movd xmm0, eax
movzx eax, word [ecx + 6]
lea ecx, [ebx + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x188], xmm0
movd xmm0, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm2
movss dword [ebp - 0x18c], xmm0
movss xmm0, dword [edx + 0x10]
movss dword [ebp - 0x190], xmm0
call fcn.1002ba00
mov eax, dword [ebx + 0x10]
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x120]
mov edx, dword [ebx + 0x18]
addss xmm0, xmm1
movss xmm3, dword [ebp - 0x180]
lea ecx, [eax + eax*4]
movss xmm4, dword [ebp - 0x184]
mov eax, dword [ebp - 0x118]
movss xmm2, dword [ebp - 0x18c]
addss xmm0, dword [ebp - 0x148]
mov word [edx + ecx*8 - 0x28], ax
movss dword [edx + ecx*8 - 0x10], xmm3
movss dword [edx + ecx*8 - 0xc], xmm4
movss dword [edx + ecx*8 - 4], xmm2
movss dword [edx + ecx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x13c]
addss xmm0, xmm1
addss xmm0, dword [ebp - 0x174]
movss dword [edx + ecx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x178]
addss xmm0, xmm1
addss xmm0, dword [ebp - 0x148]
movss dword [edx + ecx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x17c]
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x188]
movss dword [edx + ecx*8 - 8], xmm1
addss xmm0, dword [ebp - 0x174]
movss dword [edx + ecx*8 - 0x14], xmm0
mov eax, dword [ebx + 0x40]
movss xmm0, dword [ebp - 0x190]
addss xmm0, dword [eax + 0x20]
movss dword [edx + ecx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x40]
cmp byte [eax + 0x1c], 0
je 0x100378bc
addss xmm0, dword [0x100c23f8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + ecx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x44]
subss xmm1, xmm3
subss xmm2, xmm4
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x100c25a0]
mulss xmm2, xmm0
addss xmm2, dword [0x100c25a0]
cvttss2si ecx, xmm1
cvttss2si eax, xmm2
imul ecx, eax
add dword [ebx + 0x50], ecx
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x110]
inc edi
add eax, 0x1c
mov dword [ebp - 0x110], eax
cmp edi, dword [ecx + 0xc]
jl 0x10037670
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x10c]
inc edx
add eax, 0x18
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x138], eax
cmp edx, dword [ecx + 0x80]
jl 0x10037650
mov eax, dword [ebp - 0x144]
add ecx, 0x88
mov esi, dword [ebp - 0x134]
inc eax
mov edx, dword [ebp - 0x140]
add edx, 0x64
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x10c], ecx
cmp eax, dword [esi + 0x44]
jl 0x10037526
mov ecx, dword [ebp - 0x12c]
mov eax, dword [0x100d1ec8]
test ecx, ecx
je 0x10037996
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
mov ecx, dword [ebp - 0x114]
add esp, 4
mov eax, dword [0x100d1ec8]
test ecx, ecx
je 0x100379b7
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov eax, dword [0x100d1ec8]
test ecx, ecx
je 0x100379d8
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
add esp, 4
mov ecx, esi
call fcn.10037b80
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a635
mov esp, ebp
pop ebp
ret