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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x10160380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov ecx, 0x101a157e
push edi
mov dword [ebp - 0x124], ebx
call fcn.10138266
mov ecx, ebx
call fcn.10028340
mov ecx, ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.100267e0
mov edi, dword [ebx + 0x54]
xor esi, esi
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x13c], edi
lea eax, [esi + 8]
mov dword [ebp - 0x148], edx
test edi, edi
jle 0x100270d7
cmp edi, 8
mov eax, edi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x100270d5
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x100270b6
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call edx
mov edx, dword [ebp - 0x148]
add esp, 4
mov dword [ebp - 0x140], eax
mov eax, 8
jmp 0x100270d7
mov eax, ecx
mov ebx, dword [ebx + 0x3c]
mov dword [ebp - 0x11c], ebx
test ebx, ebx
jle 0x10027113
cmp ebx, 8
mov ecx, ebx
cmovl ecx, eax
test ecx, ecx
jle 0x10027113
mov eax, dword [0x10190058]
test eax, eax
je 0x100270ff
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [ebp - 0x130], eax
mov esi, eax
imul ecx, edi, 0xc4
mov edi, dword [ebp - 0x140]
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + ebx*2]
shl eax, 3
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x124]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x134], eax
cmp dword [ecx + 0x54], 0
jle 0x10027281
xor eax, eax
lea ebx, [edi + 0xa4]
mov dword [ebp - 0x114], eax
mov edi, dword [ecx + 0x5c]
xor edx, edx
add edi, eax
mov dword [ebx - 4], 0xffffffff
mov dword [ebp - 0x120], edi
cmp dword [ecx + 0x3c], edx
jle 0x100272eb
mov esi, dword [ebp - 0x120]
or edi, 0xffffffff
mov eax, edi
cmp edi, 0xffffffff
jne 0x100271bd
mov ecx, dword [ecx + 0x44]
or edi, edi
mov eax, dword [esi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100271af
mov dword [ebx - 4], edx
mov edi, edx
mov ecx, dword [ebp - 0x124]
inc edx
mov eax, edi
cmp edx, dword [ecx + 0x3c]
jl 0x10027196
mov esi, dword [ebp - 0x130]
cmp eax, 0xffffffff
je 0x100272eb
mov edi, dword [ebp - 0x120]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
call fcn.1001c760
mov edx, dword [edi]
lea ecx, [ebx - 0xa4]
push eax
call fcn.1001ca30
add esp, 4
test eax, eax
je 0x100272eb
mov eax, dword [ebx - 4]
mov edx, 0x1015a378
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x30]
test eax, eax
mov dword [ebp - 0x120], ecx
cmovne edx, eax
mov dword [ebx - 8], edx
cmp word [edx], 0
je 0x10027238
movzx eax, word [edx + 2]
test ax, ax
je 0x10027232
mov ecx, eax
cmp dword [ebx], ecx
cmovge ecx, dword [ebx]
add edx, 4
mov dword [ebx], ecx
cmp word [edx], 0
jne 0x10027217
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x120]
inc dword [esi + ecx*8]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x114]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add eax, 0x78
mov dword [esi + edx*8 + 4], ecx
add ebx, 0xc4
mov edx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x124]
inc edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], eax
cmp edx, dword [ecx + 0x54]
jl 0x10027170
mov eax, dword [ebp - 0x13c]
xor edi, edi
mov dword [ebp - 0x114], edi
test eax, eax
jle 0x100275fc
mov edx, dword [ebp - 0x140]
add edx, 0xa8
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x118], edx
nop
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 - 0x120], ebx
mov dword [ebp - 0x10c], eax
cmp edi, eax
jle 0x1002731d
test eax, eax
je 0x100272f2
cdq
sub eax, edx
mov edx, dword [ebp - 0x118]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x10c]
jmp 0x100272f7
xor bl, bl
jmp 0x100282d7
mov ecx, 8
add edx, 4
mov eax, edi
cmp ecx, edi
mov dword [ebp - 0x10c], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001b0c0
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x10c]
jmp 0x10027320
lea eax, [edx + 4]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [edx + 0xc]
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebx*8 + 0xc]
add esp, 0xc
add ecx, esi
mov dword [ebp - 0x12c], ecx
cmp dword [ecx], 0
jne 0x100273ad
mov edi, dword [esi + ebx*8 + 4]
mov eax, dword [ecx + 4]
add edi, 0x20
sar edi, 5
mov dword [ebp - 0x10c], eax
cmp edi, eax
jle 0x10027396
test eax, eax
je 0x10027375
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x10c]
jmp 0x1002737a
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx*8 + 0xc]
push eax
add ecx, esi
call fcn.1001b0c0
mov ecx, dword [ebp - 0x12c]
lea eax, [edi*4]
mov dword [ecx], edi
push eax
push 0
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x118]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x110], eax
cmp word [eax], 0
je 0x10027486
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10027480
movzx edi, word [eax]
cmp edi, ecx
ja 0x10027467
nop dword [eax + eax]
mov eax, dword [ebp - 0x120]
mov ecx, edi
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov esi, edi
mov ecx, dword [ebp - 0x130]
sar esi, 5
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], ebx
jne 0x10027458
lea ecx, [edx - 0xa8]
mov edx, edi
call fcn.1001cf20
mov edx, dword [ebp - 0x118]
test eax, eax
je 0x10027458
inc dword [edx]
mov ecx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x130]
inc dword [eax + ecx*8 + 8]
mov eax, dword [edx + 0xc]
or dword [eax + esi*4], ebx
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + ecx*8 + 0x14]
or dword [eax + esi*4], ebx
inc dword [ebp - 0x114]
mov eax, dword [ebp - 0x110]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x100273f0
mov eax, dword [ebp - 0x110]
add eax, 4
mov dword [ebp - 0x110], eax
cmp word [eax], 0
jne 0x100273d0
mov esi, dword [ebp - 0x130]
add edx, 0xc4
sub dword [ebp - 0x138], 1
mov dword [ebp - 0x118], edx
jne 0x100272b0
mov esi, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
add esi, 0xb8
mov ebx, ecx
mov dword [ebp - 0x118], ecx
nop dword [eax]
push dword [esi - 0x10]
mov ecx, esi
call fcn.1001b0c0
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x120], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x128], eax
cmp edx, eax
jae 0x100275a4
xor ecx, ecx
mov dword [ebp - 0x110], ecx
nop
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x10027580
xor edx, edx
mov edi, 1
mov dword [ebp - 0x138], edx
nop dword [eax]
test edi, eax
je 0x1002756c
mov ebx, dword [esi]
and ecx, 0xffffffe0
add ecx, edx
mov dword [ebp - 0x10c], ecx
mov ecx, dword [esi + 4]
cmp ebx, ecx
jne 0x10027550
inc ebx
test ecx, ecx
je 0x10027538
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002753d
mov eax, 8
cmp eax, ebx
mov ecx, esi
cmovg ebx, eax
push ebx
call fcn.1001b0c0
mov edx, dword [ebp - 0x138]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov ebx, dword [ebp - 0x10c]
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x110]
inc edx
rol edi, 1
mov dword [ebp - 0x138], edx
cmp edx, 0x20
jl 0x10027510
mov edx, dword [ebp - 0x120]
add edx, 4
add ecx, 0x20
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x110], ecx
cmp edx, dword [ebp - 0x128]
jb 0x100274f0
mov ebx, dword [ebp - 0x118]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100275d9
mov eax, dword [0x10190058]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100275c8
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x134]
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub ebx, 1
mov dword [ebp - 0x118], ebx
jne 0x100274c0
mov esi, dword [ebp - 0x130]
mov edi, dword [ebp - 0x114]
jmp 0x100275fe
xor edi, edi
mov eax, dword [ebp - 0x11c]
test eax, eax
jle 0x1002765a
lea ebx, [esi + 0x14]
mov esi, dword [ebp - 0x134]
mov ecx, dword [ebx]
test ecx, ecx
je 0x10027646
mov eax, dword [0x10190058]
mov dword [ebx - 4], 0
mov dword [ebx - 8], 0
test eax, eax
je 0x10027634
dec dword [eax + 0x374]
push ecx
call esi
mov eax, dword [ebp - 0x11c]
add esp, 4
mov dword [ebx], 0
add ebx, 0x18
sub eax, 1
mov dword [ebp - 0x11c], eax
jne 0x10027611
mov esi, dword [ebp - 0x130]
test esi, esi
je 0x10027681
mov eax, dword [0x10190058]
test eax, eax
je 0x1002766d
dec dword [eax + 0x374]
push esi
call dword [ebp - 0x134]
add esp, 4
mov dword [ebp - 0x130], 0
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x120], esi
test edi, edi
jle 0x10027706
cmp edi, 8
mov eax, edi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1002770e
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x100276b6
inc dword [ecx + 0x374]
mov esi, dword [ebp - 0x148]
shl eax, 4
push eax
call esi
mov edx, dword [0x10190058]
add esp, 4
mov ebx, eax
cmp edi, 8
mov ecx, edi
mov dword [ebp - 0x118], ebx
mov eax, 8
cmovl ecx, eax
test edx, edx
je 0x100276ea
inc dword [edx + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x120], esi
jmp 0x1002770e
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov eax, edi
shl eax, 4
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x13c]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x110], edx
add esp, 0xc
mov dword [ebp - 0x114], eax
xor esi, esi
test ecx, ecx
jle 0x10027a0d
mov ebx, dword [ebp - 0x140]
xor edi, edi
mov dword [ebp - 0x11c], edi
add ebx, 0x98
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x100279eb
mov ecx, dword [ebp - 0x120]
shl eax, 4
add eax, dword [ebp - 0x118]
mov dword [ebx - 4], eax
lea eax, [esi*8]
sub eax, esi
add dword [ebp - 0x114], edx
add esi, edx
mov dword [ebp - 0x12c], esi
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x124]
mov dword [ebx], ecx
mov esi, dword [eax + 0x5c]
mov eax, dword [esi + edi + 0x10]
add esi, edi
mov dword [ebx - 0x1c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebx - 0x14], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx - 0x18], 0
mov dword [ebx - 0x10], eax
mov dword [ebx - 0xc], ecx
mov al, byte [esi + 0x14]
mov byte [ebx - 8], al
mov al, byte [esi + 0x18]
mov byte [ebx - 7], al
movss xmm2, dword [esi + 0x10]
comiss xmm2, dword [0x1015bbec]
mov dword [ebp - 0x128], esi
jbe 0x10027856
mov edi, dword [ebx - 0x7c]
mov eax, 0x100
mov esi, dword [ebx - 0x94]
cwde
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 5]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
movsx edx, dx
mov esi, dword [ebp - 0x128]
mov edi, dword [ebp - 0x11c]
add cx, ax
movsx eax, cx
sub edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x138], xmm2
jmp 0x10027890
mov edx, dword [ebx - 0x84]
mov eax, dword [ebx - 0x94]
movss xmm1, dword [0x1015c064]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [ebp - 0x138], xmm1
mov eax, dword [ebp - 0x124]
movss xmm0, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [eax + 0x18]
xor eax, eax
mov dword [ebp - 0x160], ecx
movss dword [ebp - 0x144], xmm0
mov dword [ebp - 0x128], eax
cmp dword [ebx + 0x20], eax
jle 0x100279df
xor edi, edi
lea ecx, [ebx - 0x98]
mov edx, dword [ebx + 0x28]
mov edx, dword [edx + eax*4]
call fcn.1001cf20
movd xmm3, dword [esi + 0x18]
lea ecx, [ebp - 0x150]
movd xmm2, dword [esi + 0x14]
mov edx, eax
push ecx
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x14c]
push ecx
cvtdq2ps xmm3, xmm3
lea ecx, [ebp - 0x158]
push ecx
sub esp, 8
lea ecx, [ebx - 0x98]
cvtdq2ps xmm2, xmm2
mulss xmm3, dword [ebp - 0x138]
mulss xmm2, dword [ebp - 0x138]
call fcn.1001f590
mov eax, dword [esi + 0x14]
add esp, 0x18
sub eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x160]
dec eax
add eax, dword [ebp - 0x15c]
add eax, edx
dec edx
movd xmm0, eax
mov eax, dword [ebx - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x154]
cvttss2si ecx, xmm0
mov word [edi + eax + 4], cx
mov ecx, dword [ebp - 0x150]
sub ecx, dword [ebp - 0x14c]
mov eax, dword [esi + 0x18]
add ecx, edx
add eax, ecx
mov edx, dword [ebp - 0x110]
movd xmm0, eax
mov eax, dword [ebx - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x144]
cvttss2si ecx, xmm0
mov word [edi + eax + 6], cx
mov eax, dword [ebx - 4]
movzx ecx, word [edi + eax + 6]
movzx eax, word [edi + eax + 4]
add edi, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
add edx, ecx
lea ecx, [ebx - 0x98]
mov dword [ebp - 0x110], edx
cmp eax, dword [ebx + 0x20]
jl 0x100278d2
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x114]
jmp 0x100279f1
mov esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x110]
add edi, 0x78
add ebx, 0xc4
sub dword [ebp - 0x10c], 1
mov dword [ebp - 0x11c], edi
jne 0x10027771
movd xmm0, edx
cvtdq2ps xmm0, xmm0
call fcn.1001b990
mov ebx, dword [ebp - 0x124]
cvttss2si ecx, xmm0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x28], 0
inc ecx
test eax, eax
jg 0x10027a6d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1015bff8]
jb 0x10027a49
mov eax, 0x1000
jmp 0x10027a6d
comiss xmm0, dword [0x1015bff4]
jb 0x10027a59
mov eax, 0x800
jmp 0x10027a6d
comiss xmm0, dword [0x1015bfdc]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x18c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov esi, dword [ebx + 0x24]
mov dword [ebp - 0x10c], eax
mov eax, dword [0x10190058]
mov dword [ebp - 0x144], esi
test eax, eax
je 0x10027aa4
inc dword [eax + 0x374]
push 0x30
call dword [ebp - 0x148]
sub esi, dword [ebp - 0x10c]
mov edi, eax
mov eax, dword [0x10190058]
add esp, 4
mov dword [ebp - 0x114], edi
test eax, eax
je 0x10027acc
inc dword [eax + 0x374]
lea eax, [esi*8]
push eax
call dword [ebp - 0x148]
add esp, 4
test edi, edi
je 0x10027b5b
test eax, eax
je 0x10027b49
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x144]
push esi
push eax
mov dword [ebp - 0x164], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x178], ecx
mov ecx, edi
mov dword [ebp - 0x17c], edx
mov edx, esi
push eax
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x174], 0
call fcn.1001ba20
add esp, 0xc
jmp 0x10027b85
mov eax, dword [0x10190058]
test eax, eax
je 0x10027b58
dec dword [eax + 0x374]
push edi
jmp 0x10027b70
test eax, eax
je 0x10027b79
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x10027b6f
dec dword [ecx + 0x374]
push eax
call dword [ebp - 0x134]
add esp, 4
mov edi, dword [ebp - 0x188]
mov dword [ebp - 0x114], edi
mov edx, edi
mov ecx, ebx
call fcn.100283c0
mov esi, dword [ebp - 0x13c]
test esi, esi
jle 0x10027c13
mov esi, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
add esi, 0xa8
mov dword [ebp - 0x10c], ecx
mov eax, dword [esi]
test eax, eax
je 0x10027bfe
mov edx, dword [esi - 0x14]
mov ecx, edi
push eax
call fcn.1001bf70
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x10027bf8
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x10027bf0
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [ebx + 0x28], ecx
cmovge ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10027bd0
mov edi, dword [ebp - 0x114]
add esi, 0xc4
sub dword [ebp - 0x10c], 1
jne 0x10027bb4
mov esi, dword [ebp - 0x13c]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x28]
jne 0x10027c41
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 [ebx + 0x24]
inc eax
movss xmm1, dword [0x1015bd40]
movaps xmm2, xmm1
mov dword [ebx + 0x28], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x10190058]
movss dword [ebx + 0x2c], xmm2
divss xmm1, xmm0
movss dword [ebx + 0x30], xmm1
test eax, eax
je 0x10027c85
inc dword [eax + 0x374]
push ecx
call dword [ebp - 0x148]
mov ecx, dword [ebx + 0x28]
add esp, 4
imul ecx, dword [ebx + 0x24]
mov dword [ebx + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebp - 0x168], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x180], eax
test esi, esi
jle 0x10027e6e
mov edi, dword [ebp - 0x140]
xor eax, eax
mov dword [ebp - 0x12c], eax
mov ecx, esi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x128], esi
nop dword [eax + eax]
mov esi, dword [ebx + 0x5c]
add esi, eax
cmp dword [edi + 0xa8], 0
je 0x10027e3e
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
mov edx, edi
push ecx
push eax
lea ecx, [ebp - 0x18c]
call fcn.100227a0
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1015bd40]
movss dword [ebp - 0x144], xmm1
lahf
test ah, 0x44
jnp 0x10027e28
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1015c4b0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10138520
movss xmm1, dword [ebp - 0x144]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x108], dl
inc esi
cmp esi, 0x100
jb 0x10027d30
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [ebp - 0x11c], eax
cmp dword [edi + 0xa8], eax
jle 0x10027e28
lea ebx, [ecx + 4]
cmp dword [ebx + 8], 0
je 0x10027e0c
mov ecx, dword [ebp - 0x124]
movzx edx, word [ebx + 6]
movzx edi, word [ebx + 2]
movzx esi, word [ebx]
mov eax, dword [ecx + 0x24]
imul edx, eax
mov dword [ebp - 0x10c], eax
movzx eax, word [ebx + 4]
add edx, eax
add edx, dword [ecx + 0x1c]
test edi, edi
je 0x10027e00
mov eax, dword [ebp - 0x10c]
nop
xor ecx, ecx
test esi, esi
je 0x10027df9
nop word [eax + eax]
movzx eax, byte [edx + ecx]
mov al, byte [ebp + eax - 0x108]
mov byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x10027de0
mov eax, dword [ebp - 0x10c]
dec edi
add edx, eax
test edi, edi
jg 0x10027dd0
mov edi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x11c]
inc eax
add ebx, 0x10
mov dword [ebp - 0x11c], eax
cmp eax, dword [edi + 0xa8]
jl 0x10027d95
mov ebx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
mov dword [edi + 0x94], 0
add eax, 0x78
add edi, 0xc4
sub ecx, 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x128], ecx
jne 0x10027ce0
mov edi, dword [ebp - 0x188]
mov esi, dword [ebp - 0x13c]
cmp dword [ebp - 0x164], 0
je 0x10027e86
mov eax, dword [0x10190058]
test eax, eax
je 0x10027e86
dec dword [eax + 0x374]
push dword [ebp - 0x164]
call dword [ebp - 0x134]
add esp, 4
test edi, edi
je 0x10027ea8
mov eax, dword [0x10190058]
test eax, eax
je 0x10027ea8
dec dword [eax + 0x374]
push edi
mov edi, dword [ebp - 0x134]
call edi
mov ecx, dword [ebp - 0x118]
add esp, 4
test ecx, ecx
je 0x10027edd
mov eax, dword [0x10190058]
test eax, eax
je 0x10027ecd
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [ebp - 0x118], 0
test esi, esi
jle 0x10028286
mov esi, dword [ebp - 0x140]
xor eax, eax
mov ecx, dword [ebp - 0x13c]
add esi, 4
movss xmm2, dword [0x1015bce4]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x138], ecx
jmp 0x10027f18
mov ebx, dword [ebp - 0x124]
cmp dword [esi + 0xa4], 0
je 0x10028204
mov edi, dword [esi + 0x18]
mov ebx, dword [ebx + 0x5c]
mov esi, dword [esi]
add ebx, eax
mov eax, dword [ebx + 0x74]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 5]
mov dword [ebp - 0x12c], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
movss xmm1, dword [ebx + 0x10]
add cx, ax
movsx eax, cx
movzx ecx, byte [edi + esi + 4]
mov dword [ebp - 0x10c], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov edi, dword [ebp - 0x12c]
add dx, cx
movsx eax, dx
mov dword [ebp - 0x144], eax
sub eax, dword [ebp - 0x10c]
cmp byte [ebx + 0x3c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x14c], xmm1
jne 0x1002804a
mov ecx, edi
call fcn.10028840
movd xmm1, dword [ebp - 0x144]
xorps xmm3, xmm3
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm1, xmm1
mov dword [edi + 0x10], eax
xor eax, eax
mov edx, dword [ebp - 0x124]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], edx
movss xmm2, dword [0x1015bce4]
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x14c]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [ebp - 0x10c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x14c]
cvtdq2ps xmm0, xmm0
seta al
lea eax, [eax*2 - 1]
movss dword [edi + 0x4c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x50], xmm0
jmp 0x10028050
mov edx, dword [ebp - 0x124]
movss xmm0, dword [edi + 0x4c]
xor ecx, ecx
inc word [edi + 0x40]
addss xmm0, xmm2
mov esi, dword [ebp - 0x128]
movss xmm1, dword [ebx + 0x28]
movss dword [ebp - 0x150], xmm1
mov dword [ebp - 0x10c], ecx
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 0x2c]
movss dword [ebp - 0x144], xmm0
cmp dword [esi + 0xa4], ecx
jle 0x100281fe
xor edi, edi
nop
mov eax, dword [esi + 0xbc]
movss xmm7, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x14c], eax
movss xmm0, dword [ecx + edi + 0x10]
comiss xmm7, xmm0
ja 0x100280da
movss xmm7, dword [ebx + 0x38]
movaps xmm6, xmm1
minss xmm7, xmm0
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x100280fa
cmp byte [ebx + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x100280f6
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [edx + 0x24]
sub esp, 0x1c
movss xmm3, dword [0x1015bd40]
movss xmm2, dword [0x1015bd40]
movzx eax, word [ecx + edi]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + edi + 2]
divss xmm3, xmm0
movd xmm0, dword [edx + 0x28]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
movzx eax, word [ecx + edi + 4]
divss xmm2, xmm0
movd xmm1, eax
movzx eax, word [ecx + edi + 6]
movss dword [esp + 0x18], xmm7
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
mulss xmm0, xmm2
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 0x144]
addss xmm0, dword [ecx + edi + 0x18]
mulss xmm1, xmm3
mulss xmm5, xmm3
movss xmm3, dword [ebp - 0x144]
addss xmm3, dword [ecx + edi + 0xc]
mulss xmm4, xmm2
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
movaps xmm0, xmm6
addss xmm0, dword [ecx + edi + 0x14]
addss xmm6, dword [ecx + edi + 8]
mov ecx, dword [ebp - 0x12c]
movss dword [esp], xmm0
push dword [ebp - 0x14c]
movaps xmm2, xmm6
call fcn.10028ca0
mov ecx, dword [ebp - 0x10c]
add edi, 0x1c
movss xmm1, dword [ebp - 0x150]
inc ecx
movss xmm2, dword [0x1015bce4]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x10c], ecx
cmp ecx, dword [esi + 0xa4]
jl 0x100280a0
mov eax, dword [ebp - 0x11c]
add esi, 0xc4
add eax, 0x78
sub dword [ebp - 0x138], 1
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x11c], eax
jne 0x10027f12
mov esi, dword [ebp - 0x140]
add esi, 0xb4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10028256
mov eax, dword [0x10190058]
test eax, eax
je 0x10028248
dec dword [eax + 0x374]
mov edi, dword [ebp - 0x134]
push ecx
call edi
add esp, 4
jmp 0x1002825c
mov edi, dword [ebp - 0x134]
mov ecx, dword [esi]
test ecx, ecx
je 0x10028277
mov eax, dword [0x10190058]
test eax, eax
je 0x10028271
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
add esi, 0xc4
sub dword [ebp - 0x13c], 1
jne 0x10028232
mov ecx, dword [ebp - 0x124]
call fcn.100284e0
mov ecx, dword [ebp - 0x120]
mov bl, 1
test ecx, ecx
je 0x100282b2
mov eax, dword [0x10190058]
test eax, eax
je 0x100282ac
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x100282d1
mov eax, dword [0x10190058]
test eax, eax
je 0x100282cb
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov esi, dword [ebp - 0x130]
test esi, esi
je 0x100282f8
mov eax, dword [0x10190058]
test eax, eax
je 0x100282ea
dec dword [eax + 0x374]
push esi
mov esi, dword [ebp - 0x134]
call esi
add esp, 4
jmp 0x100282fe
mov esi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x1002831e
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x10028318
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100dfe28
mov esp, ebp
pop ebp
ret