Function at 0x1003ecb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x1004f014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
push esi
push edi
cmp dword [eax + 0x58], 0
mov dword [ebp - 0x10c], eax
jge 0x1003ed49
test byte [eax + 4], 2
lea esi, [eax + 0x40]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x15c], 0
mov ecx, esi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x168], 0x80000000
push eax
mov dword [ebp - 0x164], 0x1b00d9
je 0x1003ed36
mov dword [ebp - 0x164], 0x20002
call fcn.10041570
mov edi, dword [ebp - 0x10c]
mov eax, dword [esi]
dec eax
mov dword [edi + 0x58], eax
mov eax, edi
mov ecx, dword [eax + 0x14]
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [eax + 8], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
test ecx, ecx
je 0x1003ed9f
dec dword [0x1004f6c0]
push ecx
call edx
mov eax, dword [ebp - 0x10c]
add esp, 4
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1003edb8
dec dword [0x1004f6c0]
push ecx
call edx
mov eax, dword [ebp - 0x10c]
add esp, 4
xor ebx, ebx
mov dword [eax + 0x14], 0
xor esi, esi
mov dword [eax + 0x18], 0
xor edi, edi
mov dword [ebp - 0x110], esi
cmp dword [eax + 0x4c], ebx
jle 0x1003ee3c
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
nop
mov eax, dword [eax + 0x54]
mov edx, dword [eax + ecx + 0x30]
test edx, edx
jne 0x1003edf8
mov dword [eax + ecx + 0x30], 0x1004caa8
mov edx, 0x1004caa8
cmp word [edx], 0
je 0x1003ee27
nop
movzx ecx, word [edx + 2]
test cx, cx
je 0x1003ee1b
movzx eax, word [edx]
inc ebx
add edx, 4
sub ecx, eax
add ebx, ecx
inc esi
cmp word [edx], 0
jne 0x1003ee00
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x110], esi
mov eax, dword [ebp - 0x10c]
inc edi
add ecx, 0x74
mov dword [ebp - 0x12c], ecx
cmp edi, dword [eax + 0x4c]
jl 0x1003ede0
mov edi, dword [eax + 0xc]
test edi, edi
jg 0x1003ee74
cmp ebx, 0xfa0
jle 0x1003ee52
mov edi, 0x1000
jmp 0x1003ee74
cmp ebx, 0x7d0
jle 0x1003ee61
mov edi, 0x800
jmp 0x1003ee74
cmp ebx, 0x3e8
mov edi, 0x200
mov ecx, 0x400
cmovg edi, ecx
inc dword [0x1004f6c0]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], 0
mov eax, dword [eax + 0x10]
push 0x30
mov dword [ebp - 0x120], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
inc dword [0x1004f6c0]
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, edi
sub eax, dword [ebp - 0x120]
mov dword [ebp - 0x11c], eax
lea ecx, [eax*8]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x130], eax
test ecx, ecx
je 0x1003fde7
test eax, eax
je 0x1003fdde
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x160], edx
mov edx, dword [ebp - 0x11c]
push edx
push eax
mov dword [ebp - 0x150], eax
mov eax, 0x8000
sub eax, dword [ebp - 0x120]
push eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], 0x8000
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x164], edi
call fcn.10034770
mov edi, dword [ebp - 0x10c]
mov eax, 1
xor ecx, ecx
mov dword [ebp - 0x11c], eax
add esp, 0xc
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x114], ecx
mov edi, dword [edi + 0x40]
mov edx, edi
mov dword [ebp - 0x120], edi
test edi, edi
jle 0x1003efa1
mov edx, 8
mov eax, edi
cmp edi, edx
cmovl eax, edx
mov edx, edi
test eax, eax
jle 0x1003efa1
inc dword [0x1004f6c0]
shl eax, 4
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
add esp, 4
mov edx, dword [eax + 0x40]
shl edx, 4
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x10c]
add esp, 0xc
cmp dword [eax + 0x40], 0
jle 0x1003f000
mov edx, dword [ebp - 0x114]
xor ecx, ecx
add edx, 6
mov edi, eax
xor esi, esi
nop dword [eax + eax]
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 0x1003efd0
mov esi, dword [ebp - 0x110]
mov edi, dword [ebp - 0x120]
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x118]
push edi
call fcn.10034bf0
add esp, 4
test edi, edi
jle 0x1003f07d
mov edx, dword [ebp - 0x114]
xor edi, edi
mov eax, dword [ebp - 0x120]
add edx, 0xa
mov esi, dword [ebp - 0x10c]
cmp dword [edx + 2], 0
je 0x1003f066
mov ecx, dword [esi + 0x48]
movzx eax, word [edx - 2]
mov word [edi + ecx + 8], ax
mov ecx, dword [esi + 0x48]
movzx eax, word [edx]
mov word [edi + ecx + 0xa], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x120]
cmp dword [esi + 0x20], ecx
cmovge ecx, dword [esi + 0x20]
mov dword [esi + 0x20], ecx
add edi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [ebp - 0x120], eax
jne 0x1003f030
mov esi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x1003f097
dec dword [0x1004f6c0]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x10c]
inc dword [0x1004f6c0]
imul eax, dword [eax + 0x4c], 0x8c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0x10c]
xor edi, edi
add esp, 4
mov edx, eax
mov dword [ebp - 0x120], edx
cmp dword [ecx + 0x4c], edi
jle 0x1003f130
xor eax, eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x12c], eax
mov edx, dword [ecx + 0x54]
mov esi, dword [edx + eax]
mov ecx, esi
mov edx, dword [edx + eax + 0xc]
call fcn.1003b7e0
mov edx, esi
mov esi, dword [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.10035570
add esp, 4
test eax, eax
je 0x1003f401
mov ecx, dword [ebp - 0x10c]
inc edi
mov eax, dword [ebp - 0x12c]
add esi, 0x8c
add eax, 0x74
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x12c], eax
cmp edi, dword [ecx + 0x4c]
jl 0x1003f0d7
mov esi, dword [ebp - 0x110]
inc dword [0x1004f6c0]
lea edi, [ebx*8]
sub edi, ebx
mov dword [ebp - 0x114], 0
shl edi, 2
push edi
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x14c], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
inc dword [0x1004f6c0]
add esp, 4
shl ebx, 4
mov dword [ebp - 0x13c], eax
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
inc dword [0x1004f6c0]
lea esi, [esi + esi*2]
add esp, 4
shl esi, 3
mov dword [ebp - 0x138], eax
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x12c], eax
push edi
push 0
push dword [ebp - 0x13c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push ebx
push 0
push dword [ebp - 0x138]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push 0
push dword [ebp - 0x12c]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x10c]
add esp, 0xc
mov dword [ebp - 0x148], 0
cmp dword [edx + 0x4c], 0
jle 0x1003f54c
mov edi, dword [ebp - 0x120]
xor ebx, ebx
mov dword [ebp - 0x130], ebx
mov ecx, dword [edx + 0x54]
xor esi, esi
mov edx, dword [ecx + ebx + 0x30]
add ecx, ebx
xor ebx, ebx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x140], esi
movzx eax, word [edx]
test ax, ax
je 0x1003f256
movzx ecx, word [edx + 2]
test cx, cx
je 0x1003f244
add edx, 4
movzx eax, ax
sub ecx, eax
inc ebx
add ebx, ecx
inc esi
movzx eax, word [edx]
test ax, ax
jne 0x1003f227
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x140], esi
mov edx, dword [ebp - 0x14c]
mov ebx, dword [ebp - 0x12c]
mov dword [edi + 0x88], esi
lea eax, [edx + edx*2]
add edx, esi
lea eax, [ebx + eax*8]
mov dword [ebp - 0x14c], edx
xor ebx, ebx
mov dword [ebp - 0x110], eax
mov dword [edi + 0x84], eax
test esi, esi
jle 0x1003f30b
xor eax, eax
mov dword [ebp - 0x110], eax
mov edx, dword [ecx + 0x30]
mov esi, dword [edi + 0x84]
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 - 0x114]
sub ecx, eax
inc ecx
add dword [ebp - 0x114], ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x118]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [ebp - 0x13c]
lea eax, [edx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x110]
add eax, 0x18
mov dword [ebp - 0x110], eax
cmp ebx, dword [ebp - 0x140]
jl 0x1003f294
mov eax, dword [edi + 0x84]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x144]
mov eax, ecx
mov edx, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x11c]
shl eax, 4
add edx, eax
mov eax, dword [ebp - 0x134]
add ecx, eax
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x118]
mov dword [edi + 0x7c], edx
mov dword [ebp - 0x144], ecx
push edx
mov ecx, dword [eax + 0x18]
mov edx, edi
mov eax, dword [eax + 0x14]
cmp eax, 8
push esi
push dword [ebp - 0x110]
cmovbe ebx, eax
mov eax, dword [ebp - 0x124]
cmp ecx, 8
mov dword [ebp - 0x15c], ebx
cmovbe eax, ecx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x158], eax
call fcn.1003ae20
xor ecx, ecx
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x118], esi
mov ebx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x124], ebx
cmp dword [edi + 0x88], ecx
jle 0x1003f476
xor eax, eax
mov dword [ebp - 0x110], eax
nop dword [eax]
mov edx, dword [edi + 0x84]
xor ebx, ebx
cmp dword [eax + edx + 0xc], ebx
jle 0x1003f454
shl esi, 4
nop word [eax + eax]
mov dword [ebp - 0x11c], edx
mov ecx, edi
mov edx, dword [edx + eax + 4]
add edx, ebx
call fcn.10035a80
test eax, eax
jne 0x1003f428
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]
jmp 0x1003f42e
mov eax, dword [ebp - 0x10c]
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x1003fdf1
jmp 0x1003fdeb
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x110]
inc ebx
inc dword [ebp - 0x118]
add esi, 0x10
mov edx, eax
cmp ebx, dword [eax + ecx + 0xc]
mov eax, ecx
jl 0x1003f3d0
mov esi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x134]
inc ecx
add eax, 0x18
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x110], eax
cmp ecx, dword [edi + 0x88]
jl 0x1003f3b0
mov ebx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x170]
mov ecx, eax
mov edx, dword [edi + 0x7c]
push ebx
mov dword [ebp - 0x118], eax
call fcn.10034bf0
add esp, 4
test ebx, ebx
jle 0x1003f4ee
mov edx, dword [edi + 0x7c]
xor esi, esi
nop dword [eax]
cmp word [edx + esi + 4], 0
lea eax, [edx + esi]
jne 0x1003f4bc
cmp word [eax + 6], 0
jne 0x1003f4bc
mov dword [eax + 0xc], 0
mov edx, dword [edi + 0x7c]
cmp dword [edx + esi + 0xc], 0
je 0x1003f4e6
movzx eax, word [edx + esi + 6]
movzx ecx, word [edx + esi + 0xa]
add ecx, eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [ebp - 0x10c]
mov dword [eax + 0x20], ecx
add esi, 0x10
sub ebx, 1
jne 0x1003f4a0
mov eax, dword [ebp - 0x148]
add edi, 0x8c
mov edx, dword [ebp - 0x10c]
inc eax
mov ebx, dword [ebp - 0x130]
add ebx, 0x74
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x130], ebx
cmp eax, dword [edx + 0x4c]
jge 0x1003f538
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x11c], eax
jmp 0x1003f200
mov esi, dword [ebp - 0x150]
mov edi, dword [ebp - 0x158]
mov ebx, dword [ebp - 0x15c]
jmp 0x1003f559
mov esi, dword [ebp - 0x130]
mov ebx, 1
mov edi, ebx
test byte [edx + 4], 1
mov eax, dword [edx + 0x20]
jne 0x1003f587
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 [0x1004cb50]
lea ecx, [eax + 1]
mov eax, dword [edx + 0x1c]
movaps xmm2, xmm1
inc dword [0x1004f6c0]
mov dword [edx + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
push ecx
movss dword [edx + 0x24], xmm2
movss dword [edx + 0x28], xmm1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [ebp - 0x10c]
add esp, 4
mov ecx, dword [edx + 0x20]
imul ecx, dword [edx + 0x1c]
mov dword [edx + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x10c]
add esp, 0xc
mov dword [ebp - 0x11c], 0
cmp dword [ecx + 0x4c], 0
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x168], eax
jle 0x1003f7d8
mov eax, dword [ebp - 0x120]
xor edx, edx
sub eax, 0xffffff80
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x110], eax
nop dword [eax]
mov esi, dword [ecx + 0x54]
mov eax, dword [ebp - 0x110]
add esi, edx
cmp dword [esi + 0x14], 8
lea ecx, [eax - 0x80]
push dword [eax - 4]
cmovbe ebx, dword [esi + 0x14]
mov edx, ecx
cmp dword [esi + 0x18], 8
push dword [eax + 8]
cmovbe edi, dword [esi + 0x18]
push dword [eax + 4]
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], edi
call fcn.1003b120
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1004cb50]
movss dword [ebp - 0x130], xmm1
lahf
test ah, 0x44
jnp 0x1003f77b
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004d2d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.100455d0
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 0x1003f6a0
mov eax, dword [ebp - 0x114]
mov ebx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
shl eax, 4
add eax, ebx
cmp ebx, eax
je 0x1003f77b
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x114]
nop
cmp dword [ebx + 0xc], 0
je 0x1003f766
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 - 0x154]
add edx, eax
test edi, edi
je 0x1003f760
xor ecx, ecx
test esi, esi
je 0x1003f753
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 0x1003f740
mov ecx, dword [ebp - 0x164]
dec edi
add edx, ecx
test edi, edi
jg 0x1003f735
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x110]
add ebx, 0x10
mov eax, dword [eax]
shl eax, 4
add eax, dword [edx + 0x7c]
cmp ebx, eax
jne 0x1003f710
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x124]
add dword [ebp - 0x110], 0x8c
add edx, 0x74
mov dword [eax + 0x7c], 0
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], eax
cmp eax, dword [ecx + 0x4c]
jge 0x1003f7ca
mov edi, dword [ebp - 0x158]
mov ebx, dword [ebp - 0x15c]
jmp 0x1003f630
mov esi, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x170]
jmp 0x1003f7de
mov ebx, dword [ebp - 0x118]
test esi, esi
je 0x1003f7e8
dec dword [0x1004f6c0]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
add esp, 4
test ebx, ebx
je 0x1003f7fe
dec dword [0x1004f6c0]
push ebx
call esi
mov eax, dword [ebp - 0x138]
add esp, 4
test eax, eax
je 0x1003f814
dec dword [0x1004f6c0]
push eax
call esi
mov ebx, dword [ebp - 0x10c]
add esp, 4
mov dword [ebp - 0x134], 0
cmp dword [ebx + 0x4c], 0
jle 0x1003fd82
mov edi, dword [ebp - 0x120]
xor edx, edx
movss xmm3, dword [0x1004cb20]
add edi, 4
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x118], edi
mov esi, dword [ebx + 0x54]
mov ebx, dword [esi + edx + 0x70]
add esi, edx
mov dword [ebp - 0x138], esi
mov al, byte [esi + 0x3c]
mov byte [ebp - 0x125], al
test al, al
je 0x1003f887
mov ecx, ebx
call fcn.10040270
mov al, byte [esi + 0x3c]
movss xmm3, dword [0x1004cb20]
mov byte [ebp - 0x125], al
mov esi, dword [ebp - 0x118]
mov eax, 0x100
mov edi, dword [edi + 0x18]
cwde
mov esi, dword [esi]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
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 esi, dword [ebp - 0x138]
mov dword [ebp - 0x11c], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [esi + 0x10]
imul ecx, eax
add dx, cx
movsx edi, dx
mov eax, edi
sub eax, dword [ebp - 0x11c]
cmp byte [ebp - 0x125], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x124], xmm1
jne 0x1003f99e
mov ecx, ebx
call fcn.100401b0
mov eax, dword [esi + 0x10]
xorps xmm3, xmm3
mov dword [ebx], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x44], eax
xor eax, eax
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mov dword [ebx + 0x40], esi
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x124]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [ebp - 0x11c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm4, eax
xor eax, eax
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x124]
seta al
movss xmm3, dword [0x1004cb20]
cvtdq2ps xmm4, xmm4
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x48], xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x4c], xmm0
jmp 0x1003f9a3
movss xmm4, dword [ebx + 0x48]
inc word [ebx + 0x3e]
addss xmm4, xmm3
mov edi, dword [ebp - 0x118]
xor edx, edx
movss xmm2, dword [esi + 0x28]
movss dword [ebp - 0x198], xmm2
mov dword [ebp - 0x148], edx
cvttss2si eax, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x17c], xmm0
cmp dword [edi + 0x84], edx
jle 0x1003fd45
xor ecx, ecx
mov dword [ebp - 0x144], ecx
mov eax, dword [edi + 0x80]
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x110], ecx
cmp dword [eax + 0xc], ecx
jle 0x1003fd23
xor edi, edi
mov edx, dword [eax + 0x10]
movzx esi, word [edx + edi]
test si, si
mov esi, dword [ebp - 0x138]
jne 0x1003fa41
cmp word [edx + edi + 4], 0
jne 0x1003fa41
cmp word [edx + edi + 2], 0
jne 0x1003fa41
cmp word [edx + edi + 6], 0
je 0x1003fd04
mov eax, dword [eax + 4]
add eax, ecx
cmp byte [esi + 0x3c], 0
mov dword [ebp - 0x14c], eax
je 0x1003fa7c
movzx ecx, ax
cmp ecx, dword [ebx + 0x28]
jge 0x1003fa7c
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
je 0x1003fa7c
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x1003fcf8
movss xmm0, dword [esi + 0x34]
movss xmm1, dword [edx + edi + 0x10]
comiss xmm0, xmm1
movss dword [ebp - 0x124], xmm0
ja 0x1003faa5
movss xmm0, dword [esi + 0x38]
minss xmm0, xmm1
movss dword [ebp - 0x124], xmm0
ucomiss xmm1, xmm0
movss dword [ebp - 0x11c], xmm2
lahf
test ah, 0x44
jnp 0x1003fadb
cmp byte [esi + 0x1c], 0
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1003facf
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movss dword [ebp - 0x11c], xmm0
mov eax, dword [ebp - 0x10c]
lea ecx, [ebx + 0x10]
movss xmm1, dword [0x1004cb50]
movaps xmm2, xmm1
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [edx + edi]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [edx + edi + 8]
movss dword [ebp - 0x114], xmm0
movss xmm0, dword [edx + edi + 0xc]
movss dword [ebp - 0x178], xmm0
movss xmm0, dword [edx + edi + 0x14]
movss dword [ebp - 0x180], xmm0
movss xmm0, dword [edx + edi + 0x18]
movss dword [ebp - 0x184], xmm0
movd xmm0, eax
movzx eax, word [edx + edi + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x188], xmm0
movd xmm0, eax
movzx eax, word [edx + edi + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x18c], xmm0
movd xmm0, eax
movzx eax, word [edx + edi + 6]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x190], xmm0
movd xmm0, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x194], xmm0
call fcn.10026e60
mov eax, dword [ebx + 0x10]
xorps xmm5, xmm5
movss xmm0, dword [ebp - 0x114]
mov esi, dword [ebx + 0x18]
addss xmm0, xmm5
movss xmm3, dword [0x1004cb20]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x14c]
mov word [esi + edx*8 - 0x28], ax
addss xmm0, dword [ebp - 0x11c]
movss dword [esi + edx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x178]
addss xmm0, xmm5
addss xmm0, dword [ebp - 0x17c]
movss dword [esi + edx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x180]
addss xmm0, xmm5
addss xmm0, dword [ebp - 0x11c]
movss dword [esi + edx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x184]
addss xmm0, xmm5
addss xmm0, dword [ebp - 0x17c]
movss dword [esi + edx*8 - 0x14], xmm0
movss xmm0, dword [ebp - 0x188]
movss dword [esi + edx*8 - 0x10], xmm0
movss xmm0, dword [ebp - 0x18c]
movss dword [esi + edx*8 - 0xc], xmm0
movss xmm0, dword [ebp - 0x190]
movss dword [esi + edx*8 - 8], xmm0
movss xmm0, dword [ebp - 0x194]
movss dword [esi + edx*8 - 4], xmm0
mov eax, dword [ebx + 0x40]
movss xmm0, dword [ebp - 0x124]
addss xmm0, dword [eax + 0x20]
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x40]
cmp byte [eax + 0x1c], 0
je 0x1003fc9b
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x44]
mov byte [ebx + 0x50], 1
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, dword [esi + edx*8 - 0xc]
movd xmm1, dword [eax + 0x20]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x198]
mulss xmm1, xmm0
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x1004cb88]
cvttss2si ecx, xmm1
movss xmm1, dword [esi + edx*8 - 8]
subss xmm1, dword [esi + edx*8 - 0x10]
mulss xmm1, xmm0
addss xmm1, dword [0x1004cb88]
cvttss2si eax, xmm1
imul ecx, eax
add dword [ebx + 0x54], ecx
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x110]
inc ecx
add edi, 0x1c
mov dword [ebp - 0x110], ecx
cmp ecx, dword [eax + 0xc]
jl 0x1003fa13
mov edx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x144]
inc edx
add ecx, 0x18
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], ecx
cmp edx, dword [edi + 0x84]
jl 0x1003f9f2
mov ecx, dword [ebp - 0x134]
add edi, 0x8c
mov ebx, dword [ebp - 0x10c]
inc ecx
mov edx, dword [ebp - 0x140]
add edx, 0x74
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x118], edi
cmp ecx, dword [ebx + 0x4c]
jl 0x1003f853
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x1003fd92
dec dword [0x1004f6c0]
push eax
call esi
mov eax, dword [ebp - 0x12c]
add esp, 4
test eax, eax
je 0x1003fda8
dec dword [0x1004f6c0]
push eax
call esi
mov eax, dword [ebp - 0x120]
add esp, 4
test eax, eax
je 0x1003fdbe
dec dword [0x1004f6c0]
push eax
call esi
add esp, 4
mov ecx, ebx
call fcn.1003fe10
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10044190
mov esp, ebp
pop ebp
ret
dec dword [0x1004f6c0]
push ecx
jmp 0x1003fdf2
test eax, eax
je 0x1003fdfb
dec dword [0x1004f6c0]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044190
mov esp, ebp
pop ebp
ret