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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x1008800c]
xor eax, esp
mov dword [esp + 0x198], eax
mov eax, ecx
push ebx
push esi
push edi
cmp dword [eax + 0x58], 0
mov dword [esp + 0x10], eax
jge 0x1001c9ba
test byte [eax + 4], 2
lea esi, [eax + 0x40]
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0
mov ecx, esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0x80000000
push eax
mov dword [esp + 0x5c], 0x1b00d9
je 0x1001c9a9
mov dword [esp + 0x5c], 0x20002
call fcn.1001f3d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
dec eax
mov dword [ecx + 0x58], eax
mov eax, ecx
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 0x1001ca17
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001ca07
dec dword [eax + 0x394]
push ecx
call edx
mov eax, dword [esp + 0x14]
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 0x1001ca37
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001ca2d
dec dword [eax + 0x394]
push ecx
call edx
mov eax, dword [esp + 0x14]
add esp, 4
xor ebx, ebx
mov dword [eax + 0x14], 0
xor edi, edi
mov dword [eax + 0x18], 0
xor esi, esi
mov dword [esp + 0x20], ebx
cmp dword [eax + 0x4c], ebx
jle 0x1001cab6
xor ecx, ecx
mov dword [esp + 0x3c], ecx
nop word [eax + eax]
mov eax, dword [eax + 0x54]
mov edx, dword [eax + ecx + 0x30]
test edx, edx
jne 0x1001ca78
mov dword [eax + ecx + 0x30], 0x100848e8
mov edx, 0x100848e8
cmp word [edx], 0
je 0x1001caa5
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1001ca9d
mov ecx, eax
inc edi
movzx eax, word [edx]
inc ebx
add edx, 4
sub ecx, eax
add edi, ecx
cmp word [edx], 0
jne 0x1001ca80
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
inc esi
add ecx, 0x74
mov dword [esp + 0x3c], ecx
cmp esi, dword [eax + 0x4c]
jl 0x1001ca60
mov esi, dword [eax + 0xc]
test esi, esi
jg 0x1001caee
cmp edi, 0xfa0
jle 0x1001cacc
mov esi, 0x1000
jmp 0x1001caee
cmp edi, 0x7d0
jle 0x1001cadb
mov esi, 0x800
jmp 0x1001caee
cmp edi, 0x3e8
mov esi, 0x200
mov ecx, 0x400
cmovg esi, ecx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001cb0e
inc dword [eax + 0x394]
push 0x30
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x10088d30]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, esi
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x1001cb37
inc dword [ecx + 0x394]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x1001d95b
test eax, eax
je 0x1001d02e
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x40]
push edx
push eax
mov dword [esp + 0x80], eax
mov eax, 0x8000
sub eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x8000
mov dword [esp + 0x80], 0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], esi
call fcn.10012850
mov eax, 1
xor edx, edx
mov dword [esp + 0x30], eax
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov esi, dword [eax + 0x40]
mov dword [esp + 0x1c], esi
test esi, esi
jle 0x1001cc08
cmp esi, 8
mov dword [esp + 0x40], 8
mov ecx, esi
cmovl ecx, dword [esp + 0x40]
test ecx, ecx
jle 0x1001cc08
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001cbf1
inc dword [eax + 0x394]
shl ecx, 4
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax + 0x40]
shl ecx, 4
push ecx
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 0x40], 0
jle 0x1001cc5d
mov edx, dword [esp + 0x18]
xor ecx, ecx
add edx, 6
mov ebx, eax
xor esi, esi
mov eax, dword [ebx + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [eax + ecx - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [ebx + 0x48]
movzx eax, word [eax + ecx - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [ebx + 0x40]
jl 0x1001cc31
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
call fcn.10012cd0
add esp, 4
test esi, esi
jle 0x1001ccca
mov edx, dword [esp + 0x18]
xor esi, esi
mov eax, dword [esp + 0x1c]
add edx, 0xa
mov ebx, dword [esp + 0x10]
cmp dword [edx + 2], 0
je 0x1001ccb7
mov ecx, dword [ebx + 0x48]
movzx eax, word [edx - 2]
mov word [ecx + esi + 8], ax
mov ecx, dword [ebx + 0x48]
movzx eax, word [edx]
mov word [ecx + esi + 0xa], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0x20], ecx
cmovge ecx, dword [ebx + 0x20]
mov dword [ebx + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x1001cc83
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001ccec
mov ecx, dword [0x10088d30]
test ecx, ecx
je 0x1001cce2
dec dword [ecx + 0x394]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [0x10088d30]
imul ecx, dword [esi + 0x4c], 0x8c
test eax, eax
je 0x1001cd06
inc dword [eax + 0x394]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x4c], 0
mov dword [esp + 0x3c], 0
jle 0x1001cd81
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ecx
nop dword [eax]
mov edx, dword [esi + 0x54]
mov esi, dword [edx + ecx]
mov edx, dword [edx + ecx + 0xc]
mov ecx, esi
call fcn.10019770
mov edx, esi
mov esi, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.10013650
add esp, 4
test eax, eax
je 0x1001d014
mov eax, dword [esp + 0x3c]
add esi, 0x8c
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x20], esi
add ecx, 0x74
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
cmp eax, dword [esi + 0x4c]
jl 0x1001cd30
mov eax, dword [0x10088d30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
test eax, eax
je 0x1001cda8
inc dword [eax + 0x394]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
mov dword [esp + 0x34], eax
call esi
mov ecx, dword [0x10088d30]
add esp, 4
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x1001cdd8
inc dword [ecx + 0x394]
shl edi, 4
push edi
call esi
mov ecx, dword [0x10088d30]
add esp, 4
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x1001cdf5
inc dword [ecx + 0x394]
lea esi, [ebx + ebx*2]
shl esi, 3
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
mov dword [esp + 0x40], ebx
push dword [esp + 0x30]
push 0
push dword [esp + 0x44]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push 0
push dword [esp + 0x3c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x4c], 0
cmp dword [edx + 0x4c], 0
jle 0x1001d130
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x30], ebx
nop dword [eax + eax]
mov ecx, dword [edx + 0x54]
xor esi, esi
mov edx, dword [ecx + ebx + 0x30]
add ecx, ebx
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], esi
movzx eax, word [edx]
test ax, ax
je 0x1001ceaa
movzx ecx, word [edx + 2]
test cx, cx
je 0x1001ce9e
add edx, 4
movzx eax, ax
sub ecx, eax
inc ebx
add ebx, ecx
inc esi
movzx eax, word [edx]
test ax, ax
jne 0x1001ce81
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
mov dword [edi + 0x88], esi
lea eax, [edx + edx*2]
add edx, esi
lea eax, [ebx + eax*8]
mov dword [esp + 0x50], edx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [edi + 0x84], eax
test esi, esi
jle 0x1001cf47
xor eax, eax
mov dword [esp + 0x18], eax
nop word [eax + 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 [esp + 0x20]
sub ecx, eax
inc ecx
add dword [esp + 0x20], ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x14]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esp + 0x3c]
lea eax, [edx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, 0x18
mov dword [esp + 0x18], eax
cmp ebx, dword [esp + 0x44]
jl 0x1001cee0
mov eax, dword [edi + 0x84]
mov esi, dword [edi + 0x88]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
shl eax, 4
add edx, eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov dword [edi + 0x80], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x7c], edx
mov dword [esp + 0x48], ecx
push edx
mov ecx, dword [eax + 0x18]
mov edx, edi
mov eax, dword [eax + 0x14]
cmp eax, 8
push esi
push dword [esp + 0x20]
cmovbe ebx, eax
mov eax, dword [esp + 0x34]
cmp ecx, 8
mov dword [esp + 0x78], ebx
cmovbe eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], eax
call fcn.10018f90
xor ecx, ecx
xor esi, esi
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ebx
cmp dword [edi + 0x88], ecx
jle 0x1001d081
xor eax, eax
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov edx, dword [edi + 0x84]
xor ebx, ebx
cmp dword [eax + edx + 0xc], ebx
jle 0x1001d065
shl esi, 4
mov dword [esp + 0x24], edx
mov ecx, edi
mov edx, dword [edx + eax + 4]
add edx, ebx
call fcn.10013b60
test eax, eax
jne 0x1001d043
mov eax, dword [edi + 0x7c]
xor ecx, ecx
mov word [eax + esi + 6], cx
mov eax, dword [edi + 0x7c]
mov word [eax + esi + 4], cx
mov eax, dword [edi + 0x84]
jmp 0x1001d047
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
test ecx, ecx
je 0x1001d03d
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d03d
dec dword [eax + 0x394]
push ecx
jmp 0x1001d970
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc ebx
inc dword [esp + 0x18]
add esi, 0x10
mov edx, eax
cmp ebx, dword [eax + ecx + 0xc]
mov eax, ecx
jl 0x1001cfe5
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
inc ecx
add eax, 0x18
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 0x88]
jl 0x1001cfd0
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
mov ecx, eax
mov edx, dword [edi + 0x7c]
push ebx
mov dword [esp + 0x18], eax
call fcn.10012cd0
add esp, 4
test ebx, ebx
jle 0x1001d0ea
mov edx, dword [edi + 0x7c]
xor esi, esi
cmp word [edx + esi + 4], 0
lea eax, [edx + esi]
jne 0x1001d0bc
cmp word [eax + 6], 0
jne 0x1001d0bc
mov dword [eax + 0xc], 0
mov edx, dword [edi + 0x7c]
cmp dword [edx + esi + 0xc], 0
je 0x1001d0e2
movzx eax, word [edx + esi + 6]
movzx ecx, word [edx + esi + 0xa]
add ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
add esi, 0x10
sub ebx, 1
jne 0x1001d0a0
mov eax, dword [esp + 0x4c]
add edi, 0x8c
mov edx, dword [esp + 0x10]
inc eax
mov ebx, dword [esp + 0x30]
add ebx, 0x74
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], ebx
cmp eax, dword [edx + 0x4c]
jge 0x1001d122
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
jmp 0x1001ce60
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
jmp 0x1001d13b
mov esi, dword [esp + 0x38]
mov ebx, 1
mov edi, ebx
test byte [edx + 4], 1
mov eax, dword [edx + 0x20]
jne 0x1001d169
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 [0x10085448]
lea ecx, [eax + 1]
mov eax, dword [edx + 0x1c]
movaps xmm2, xmm1
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
mov eax, dword [0x10088d30]
movss dword [edx + 0x24], xmm2
movss dword [edx + 0x28], xmm1
test eax, eax
je 0x1001d1af
inc dword [eax + 0x394]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [esp + 0x14]
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 [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x24], 0
cmp dword [ecx + 0x4c], 0
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x60], eax
jle 0x1001d380
mov eax, dword [esp + 0x1c]
xor edx, edx
sub eax, 0xffffff80
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov esi, dword [ecx + 0x54]
mov eax, dword [esp + 0x14]
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 [esp + 0x24], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
call fcn.10019290
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x10085448]
movss dword [esp + 0x30], xmm1
lahf
test ah, 0x44
jnp 0x1001d335
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100858d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10060ce0
movss xmm1, dword [esp + 0x30]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xa0], dl
inc esi
cmp esi, 0x100
jb 0x1001d270
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x7c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
shl eax, 4
add eax, ebx
cmp ebx, eax
je 0x1001d335
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
cmp dword [ebx + 0xc], 0
je 0x1001d322
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 [esp + 0x74]
add edx, eax
test edi, edi
je 0x1001d31e
xor ecx, ecx
test esi, esi
je 0x1001d313
nop dword [eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0xa0]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x1001d300
mov ecx, dword [esp + 0x64]
dec edi
add edx, ecx
test edi, edi
jg 0x1001d2f7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ebx, 0x10
mov eax, dword [eax]
shl eax, 4
add eax, dword [edx + 0x7c]
cmp ebx, eax
jne 0x1001d2d4
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
add dword [esp + 0x14], 0x8c
add edx, 0x74
mov dword [eax + 0x7c], 0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
cmp eax, dword [edi + 0x4c]
jge 0x1001d376
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
jmp 0x1001d210
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x58]
jmp 0x1001d386
mov ebx, dword [esp + 0x14]
mov edi, ecx
test esi, esi
je 0x1001d399
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d399
dec dword [eax + 0x394]
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 0x1001d3b8
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d3b8
dec dword [eax + 0x394]
push ebx
call esi
mov ecx, dword [esp + 0x38]
add esp, 4
test ecx, ecx
je 0x1001d3d5
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d3d5
dec dword [eax + 0x394]
push ecx
call esi
add esp, 4
mov dword [esp + 0x38], 0
cmp dword [edi + 0x4c], 0
jle 0x1001d8e6
mov eax, dword [esp + 0x1c]
xor edx, edx
movss xmm3, dword [0x10085410]
add eax, 4
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], eax
mov esi, dword [edi + 0x54]
add esi, edx
mov dword [esp + 0x34], esi
mov al, byte [esi + 0x3c]
mov ebx, dword [esi + 0x70]
mov byte [esp + 0x2f], al
test al, al
je 0x1001d433
mov ecx, ebx
call fcn.1001ddf0
mov al, byte [esi + 0x3c]
movss xmm3, dword [0x10085410]
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x18]
mov edx, dword [eax]
mov eax, 0x100
cwde
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 [esp + 0x24], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 5]
mov esi, dword [esp + 0x34]
add cx, ax
movss xmm1, dword [esi + 0x10]
movsx eax, cx
mov dword [esp + 0x28], eax
sub eax, dword [esp + 0x24]
cmp byte [esp + 0x2f], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x30], xmm1
jne 0x1001d536
mov ecx, ebx
call fcn.1001dd20
movd xmm1, dword [esp + 0x28]
xorps xmm3, xmm3
mov eax, dword [esi + 0x10]
cvtdq2ps xmm1, xmm1
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], edi
comiss xmm1, xmm3
mulss xmm1, dword [esp + 0x30]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [esp + 0x24]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm4, eax
xor eax, eax
comiss xmm1, xmm3
mulss xmm1, dword [esp + 0x30]
seta al
movss xmm3, dword [0x10085410]
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 0x1001d53b
movss xmm4, dword [ebx + 0x48]
inc word [ebx + 0x3e]
addss xmm4, xmm3
movss xmm2, dword [esi + 0x28]
xor edx, edx
movss dword [esp + 0x9c], xmm2
mov dword [esp + 0x4c], edx
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x80], xmm0
cmp dword [eax + 0x84], edx
jle 0x1001d8ba
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x80]
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
cmp dword [eax + 0xc], ecx
jle 0x1001d896
xor edi, edi
mov edx, dword [eax + 0x10]
movzx esi, word [edi + edx]
test si, si
mov esi, dword [esp + 0x34]
jne 0x1001d5cf
cmp word [edi + edx + 4], 0
jne 0x1001d5cf
cmp word [edi + edx + 2], 0
jne 0x1001d5cf
cmp word [edi + edx + 6], 0
je 0x1001d881
mov eax, dword [eax + 4]
add eax, ecx
cmp byte [esi + 0x3c], 0
mov dword [esp + 0x50], eax
je 0x1001d608
movzx ecx, ax
cmp ecx, dword [ebx + 0x28]
jge 0x1001d608
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
je 0x1001d608
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x1001d879
movss xmm0, dword [esi + 0x34]
movss xmm1, dword [edi + edx + 0x10]
comiss xmm0, xmm1
movss dword [esp + 0x28], xmm0
ja 0x1001d62d
movss xmm0, dword [esi + 0x38]
minss xmm0, xmm1
movss dword [esp + 0x28], xmm0
ucomiss xmm1, xmm0
movss dword [esp + 0x24], xmm2
lahf
test ah, 0x44
jnp 0x1001d65f
cmp byte [esi + 0x1c], 0
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1001d655
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movss dword [esp + 0x24], xmm0
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x10]
movss xmm1, dword [0x10085448]
movaps xmm2, xmm1
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [edi + edx]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [edi + edx + 8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + edx + 0xc]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + edx + 0x14]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [edi + edx + 0x18]
movss dword [esp + 0x88], xmm0
movd xmm0, eax
movzx eax, word [edi + edx + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x8c], xmm0
movd xmm0, eax
movzx eax, word [edi + edx + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x90], xmm0
movd xmm0, eax
movzx eax, word [edi + edx + 6]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x94], xmm0
movd xmm0, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1001f320
mov eax, dword [ebx + 0x10]
xorps xmm5, xmm5
movss xmm0, dword [esp + 0x18]
mov esi, dword [ebx + 0x18]
addss xmm0, xmm5
movss xmm3, dword [0x10085410]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x50]
mov word [esi + edx*8 - 0x28], ax
addss xmm0, dword [esp + 0x24]
movss dword [esi + edx*8 - 0x20], xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm0, xmm5
addss xmm0, dword [esp + 0x80]
movss dword [esi + edx*8 - 0x1c], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, xmm5
addss xmm0, dword [esp + 0x24]
movss dword [esi + edx*8 - 0x18], xmm0
movss xmm0, dword [esp + 0x88]
addss xmm0, xmm5
addss xmm0, dword [esp + 0x80]
movss dword [esi + edx*8 - 0x14], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esi + edx*8 - 0x10], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esi + edx*8 - 0xc], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esi + edx*8 - 8], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esi + edx*8 - 4], xmm0
mov eax, dword [ebx + 0x40]
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [eax + 0x20]
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x40]
cmp byte [eax + 0x1c], 0
je 0x1001d81b
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 [esp + 0x9c]
mulss xmm1, xmm0
movss xmm0, dword [esi + edx*8 - 8]
subss xmm0, dword [esi + edx*8 - 0x10]
addss xmm1, dword [0x10085478]
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x1c]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x10085478]
cvttss2si eax, xmm1
imul ecx, eax
add dword [ebx + 0x54], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
inc ecx
add edi, 0x1c
mov dword [esp + 0x20], ecx
cmp ecx, dword [eax + 0xc]
jl 0x1001d5a3
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
inc edx
mov ecx, dword [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
cmp edx, dword [eax + 0x84]
jl 0x1001d586
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
add eax, 0x8c
mov edx, dword [esp + 0x44]
inc ecx
add edx, 0x74
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 0x4c]
jl 0x1001d406
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1001d8fd
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d8fd
dec dword [eax + 0x394]
push ecx
call esi
mov ecx, dword [esp + 0x44]
add esp, 4
test ecx, ecx
je 0x1001d91a
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d91a
dec dword [eax + 0x394]
push ecx
call esi
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x1001d937
mov eax, dword [0x10088d30]
test eax, eax
je 0x1001d937
dec dword [eax + 0x394]
push ecx
call esi
add esp, 4
mov ecx, edi
call fcn.1001d990
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.1005cdd4
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1001d979
mov ecx, dword [0x10088d30]
test ecx, ecx
je 0x1001d96f
dec dword [ecx + 0x394]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x1a4]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005cdd4
mov esp, ebp
pop ebp
ret