Function at 0x10027040
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, 0x101a157a
push edi
mov dword [ebp - 0x124], ebx
call fcn.10137ff6
mov ecx, ebx
call fcn.10028380
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.10026820
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 0x10027117
cmp edi, 8
mov eax, edi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x10027115
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x100270f6
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 0x10027117
mov eax, ecx
mov ebx, dword [ebx + 0x3c]
mov dword [ebp - 0x11c], ebx
test ebx, ebx
jle 0x10027153
cmp ebx, 8
mov ecx, ebx
cmovl ecx, eax
test ecx, ecx
jle 0x10027153
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002713f
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 0x100272c1
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 0x1002732b
mov esi, dword [ebp - 0x120]
or edi, 0xffffffff
mov eax, edi
cmp edi, 0xffffffff
jne 0x100271fd
mov ecx, dword [ecx + 0x44]
or edi, edi
mov eax, dword [esi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100271ef
mov dword [ebx - 4], edx
mov edi, edx
mov ecx, dword [ebp - 0x124]
inc edx
mov eax, edi
cmp edx, dword [ecx + 0x3c]
jl 0x100271d6
mov esi, dword [ebp - 0x130]
cmp eax, 0xffffffff
je 0x1002732b
mov edi, dword [ebp - 0x120]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
call fcn.1001c7a0
mov edx, dword [edi]
lea ecx, [ebx - 0xa4]
push eax
call fcn.1001ca70
add esp, 4
test eax, eax
je 0x1002732b
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 0x10027278
movzx eax, word [edx + 2]
test ax, ax
je 0x10027272
mov ecx, eax
cmp dword [ebx], ecx
cmovge ecx, dword [ebx]
add edx, 4
mov dword [ebx], ecx
cmp word [edx], 0
jne 0x10027257
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 0x100271b0
mov eax, dword [ebp - 0x13c]
xor edi, edi
mov dword [ebp - 0x114], edi
test eax, eax
jle 0x1002763c
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 0x1002735d
test eax, eax
je 0x10027332
cdq
sub eax, edx
mov edx, dword [ebp - 0x118]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x10c]
jmp 0x10027337
xor bl, bl
jmp 0x10028317
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.1001b100
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x10c]
jmp 0x10027360
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 0x100273ed
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 0x100273d6
test eax, eax
je 0x100273b5
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x10c]
jmp 0x100273ba
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx*8 + 0xc]
push eax
add ecx, esi
call fcn.1001b100
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 0x100274c6
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x100274c0
movzx edi, word [eax]
cmp edi, ecx
ja 0x100274a7
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 0x10027498
lea ecx, [edx - 0xa8]
mov edx, edi
call fcn.1001cf60
mov edx, dword [ebp - 0x118]
test eax, eax
je 0x10027498
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 0x10027430
mov eax, dword [ebp - 0x110]
add eax, 4
mov dword [ebp - 0x110], eax
cmp word [eax], 0
jne 0x10027410
mov esi, dword [ebp - 0x130]
add edx, 0xc4
sub dword [ebp - 0x138], 1
mov dword [ebp - 0x118], edx
jne 0x100272f0
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.1001b100
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 0x100275e4
xor ecx, ecx
mov dword [ebp - 0x110], ecx
nop
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x100275c0
xor edx, edx
mov edi, 1
mov dword [ebp - 0x138], edx
nop dword [eax]
test edi, eax
je 0x100275ac
mov ebx, dword [esi]
and ecx, 0xffffffe0
add ecx, edx
mov dword [ebp - 0x10c], ecx
mov ecx, dword [esi + 4]
cmp ebx, ecx
jne 0x10027590
inc ebx
test ecx, ecx
je 0x10027578
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002757d
mov eax, 8
cmp eax, ebx
mov ecx, esi
cmovg ebx, eax
push ebx
call fcn.1001b100
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 0x10027550
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 0x10027530
mov ebx, dword [ebp - 0x118]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x10027619
mov eax, dword [0x1018ff68]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x10027608
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 0x10027500
mov esi, dword [ebp - 0x130]
mov edi, dword [ebp - 0x114]
jmp 0x1002763e
xor edi, edi
mov eax, dword [ebp - 0x11c]
test eax, eax
jle 0x1002769a
lea ebx, [esi + 0x14]
mov esi, dword [ebp - 0x134]
mov ecx, dword [ebx]
test ecx, ecx
je 0x10027686
mov eax, dword [0x1018ff68]
mov dword [ebx - 4], 0
mov dword [ebx - 8], 0
test eax, eax
je 0x10027674
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 0x10027651
mov esi, dword [ebp - 0x130]
test esi, esi
je 0x100276c1
mov eax, dword [0x1018ff68]
test eax, eax
je 0x100276ad
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 0x10027746
cmp edi, 8
mov eax, edi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1002774e
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x100276f6
inc dword [ecx + 0x374]
mov esi, dword [ebp - 0x148]
shl eax, 4
push eax
call esi
mov edx, dword [0x1018ff68]
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 0x1002772a
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 0x1002774e
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 0x10027a4d
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 0x10027a2b
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 [0x1015bbcc]
mov dword [ebp - 0x128], esi
jbe 0x10027896
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 0x100278d0
mov edx, dword [ebx - 0x84]
mov eax, dword [ebx - 0x94]
movss xmm1, dword [0x1015c04c]
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 0x10027a1f
xor edi, edi
lea ecx, [ebx - 0x98]
mov edx, dword [ebx + 0x28]
mov edx, dword [edx + eax*4]
call fcn.1001cf60
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.1001f5d0
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 0x10027912
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x114]
jmp 0x10027a31
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 0x100277b1
movd xmm0, edx
cvtdq2ps xmm0, xmm0
call fcn.1001b9d0
mov ebx, dword [ebp - 0x124]
cvttss2si ecx, xmm0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x28], 0
inc ecx
test eax, eax
jg 0x10027aad
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1015bfe0]
jb 0x10027a89
mov eax, 0x1000
jmp 0x10027aad
comiss xmm0, dword [0x1015bfdc]
jb 0x10027a99
mov eax, 0x800
jmp 0x10027aad
comiss xmm0, dword [0x1015bfc4]
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 [0x1018ff68]
mov dword [ebp - 0x144], esi
test eax, eax
je 0x10027ae4
inc dword [eax + 0x374]
push 0x30
call dword [ebp - 0x148]
sub esi, dword [ebp - 0x10c]
mov edi, eax
mov eax, dword [0x1018ff68]
add esp, 4
mov dword [ebp - 0x114], edi
test eax, eax
je 0x10027b0c
inc dword [eax + 0x374]
lea eax, [esi*8]
push eax
call dword [ebp - 0x148]
add esp, 4
test edi, edi
je 0x10027b9b
test eax, eax
je 0x10027b89
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.1001ba60
add esp, 0xc
jmp 0x10027bc5
mov eax, dword [0x1018ff68]
test eax, eax
je 0x10027b98
dec dword [eax + 0x374]
push edi
jmp 0x10027bb0
test eax, eax
je 0x10027bb9
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x10027baf
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.10028400
mov esi, dword [ebp - 0x13c]
test esi, esi
jle 0x10027c53
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 0x10027c3e
mov edx, dword [esi - 0x14]
mov ecx, edi
push eax
call fcn.1001bfb0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x10027c38
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x10027c30
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 0x10027c10
mov edi, dword [ebp - 0x114]
add esi, 0xc4
sub dword [ebp - 0x10c], 1
jne 0x10027bf4
mov esi, dword [ebp - 0x13c]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x28]
jne 0x10027c81
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 [0x1015bd20]
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 [0x1018ff68]
movss dword [ebx + 0x2c], xmm2
divss xmm1, xmm0
movss dword [ebx + 0x30], xmm1
test eax, eax
je 0x10027cc5
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 0x10027eae
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 0x10027e7e
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
mov edx, edi
push ecx
push eax
lea ecx, [ebp - 0x18c]
call fcn.100227e0
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1015bd20]
movss dword [ebp - 0x144], xmm1
lahf
test ah, 0x44
jnp 0x10027e68
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1015c4a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101382b0
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 0x10027d70
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [ebp - 0x11c], eax
cmp dword [edi + 0xa8], eax
jle 0x10027e68
lea ebx, [ecx + 4]
cmp dword [ebx + 8], 0
je 0x10027e4c
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 0x10027e40
mov eax, dword [ebp - 0x10c]
nop
xor ecx, ecx
test esi, esi
je 0x10027e39
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 0x10027e20
mov eax, dword [ebp - 0x10c]
dec edi
add edx, eax
test edi, edi
jg 0x10027e10
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 0x10027dd5
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 0x10027d20
mov edi, dword [ebp - 0x188]
mov esi, dword [ebp - 0x13c]
cmp dword [ebp - 0x164], 0
je 0x10027ec6
mov eax, dword [0x1018ff68]
test eax, eax
je 0x10027ec6
dec dword [eax + 0x374]
push dword [ebp - 0x164]
call dword [ebp - 0x134]
add esp, 4
test edi, edi
je 0x10027ee8
mov eax, dword [0x1018ff68]
test eax, eax
je 0x10027ee8
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 0x10027f1d
mov eax, dword [0x1018ff68]
test eax, eax
je 0x10027f0d
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [ebp - 0x118], 0
test esi, esi
jle 0x100282c6
mov esi, dword [ebp - 0x140]
xor eax, eax
mov ecx, dword [ebp - 0x13c]
add esi, 4
movss xmm2, dword [0x1015bcc4]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x138], ecx
jmp 0x10027f58
mov ebx, dword [ebp - 0x124]
cmp dword [esi + 0xa4], 0
je 0x10028244
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 0x1002808a
mov ecx, edi
call fcn.10028880
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 [0x1015bcc4]
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 0x10028090
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 0x1002823e
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 0x1002811a
movss xmm7, dword [ebx + 0x38]
movaps xmm6, xmm1
minss xmm7, xmm0
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1002813a
cmp byte [ebx + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x10028136
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [edx + 0x24]
sub esp, 0x1c
movss xmm3, dword [0x1015bd20]
movss xmm2, dword [0x1015bd20]
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.10028ce0
mov ecx, dword [ebp - 0x10c]
add edi, 0x1c
movss xmm1, dword [ebp - 0x150]
inc ecx
movss xmm2, dword [0x1015bcc4]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x10c], ecx
cmp ecx, dword [esi + 0xa4]
jl 0x100280e0
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 0x10027f52
mov esi, dword [ebp - 0x140]
add esi, 0xb4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10028296
mov eax, dword [0x1018ff68]
test eax, eax
je 0x10028288
dec dword [eax + 0x374]
mov edi, dword [ebp - 0x134]
push ecx
call edi
add esp, 4
jmp 0x1002829c
mov edi, dword [ebp - 0x134]
mov ecx, dword [esi]
test ecx, ecx
je 0x100282b7
mov eax, dword [0x1018ff68]
test eax, eax
je 0x100282b1
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
add esi, 0xc4
sub dword [ebp - 0x13c], 1
jne 0x10028272
mov ecx, dword [ebp - 0x124]
call fcn.10028520
mov ecx, dword [ebp - 0x120]
mov bl, 1
test ecx, ecx
je 0x100282f2
mov eax, dword [0x1018ff68]
test eax, eax
je 0x100282ec
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x10028311
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002830b
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov esi, dword [ebp - 0x130]
test esi, esi
je 0x10028338
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002832a
dec dword [eax + 0x374]
push esi
mov esi, dword [ebp - 0x134]
call esi
add esp, 4
jmp 0x1002833e
mov esi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x1002835e
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x10028358
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.100dfbc8
mov esp, ebp
pop ebp
ret