Function at 0x10076390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101acf1c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x10249010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x184], ecx
mov ecx, esi
call fcn.10073040
mov ecx, esi
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.10071040
xor ecx, ecx
mov byte [ebp - 0x149], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 4], ecx
xor edi, edi
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x1b4], edi
mov byte [ebp - 4], 1
lea ecx, [edi + 8]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x18c], eax
test eax, eax
jle 0x100764ac
cmp eax, ecx
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x100764a6
imul ecx, esi, 0x54
call fcn.10057800
mov dword [ebp - 0x178], eax
lea ecx, [edi + 8]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x1c4], esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x1c8], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x100764f6
cmp eax, 8
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x100764f0
lea ecx, [esi + esi*2]
shl ecx, 3
call fcn.10057800
mov edi, eax
mov dword [ebp - 0x1b8], esi
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x1b4], edi
mov esi, dword [ebp - 0x150]
imul ecx, dword [ebp - 0x18c], 0x54
mov dword [ebp - 0x1bc], eax
push ecx
push 0
push dword [ebp - 0x178]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x160]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x1039dd0c
push 0x15
push str.Initializing_fonts...
call fcn.10018260
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x18c]
lea eax, [ecx + edx*4]
mov ecx, 0x1039edd4
add eax, dword [esi + 0x4c]
mov dword [ebp - 0x15c], eax
call fcn.100203b0
lea ecx, [ebp - 0x15c]
mov edx, eax
call fcn.1002e4b0
xchg dword [edx], eax
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x180], 0
jle 0x100766f3
mov ecx, 0x1039edd0
call fcn.100203b0
mov esi, dword [ebp - 0x178]
xor ecx, ecx
add esi, 0x34
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x158], esi
nop dword [eax]
lock inc dword [eax]
mov eax, dword [ebp - 0x150]
xor edx, edx
mov eax, dword [eax + 0x54]
add eax, ecx
mov dword [esi - 4], 0xffffffff
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x164], eax
cmp dword [ecx + 0x34], edx
jle 0x100769b3
mov edi, dword [ebp - 0x158]
or esi, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jne 0x10076618
mov ecx, dword [ebp - 0x150]
or esi, esi
mov eax, dword [eax + 0x74]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x10076604
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [ebp - 0x150]
inc edx
mov ecx, esi
cmp edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x164]
jl 0x100765e5
mov edi, dword [ebp - 0x188]
cmp ecx, 0xffffffff
je 0x100769b3
push dword [ebx + 8]
mov esi, dword [ebp - 0x158]
push eax
push dword [ebp - 0x184]
lea ecx, [esi - 0x34]
call fcn.100758e0
test al, al
je 0x100769b3
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x40]
mov edx, dword [edx + 0x30]
shr eax, 8
and al, 1
or byte [ebp - 0x149], al
mov eax, dword [esi - 4]
lea ecx, [eax + eax*2]
mov dword [ebp - 0x164], ecx
test edx, edx
jne 0x10076675
call fcn.100731d0
mov edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100766a1
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1007669b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x10076680
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x164]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x180]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
inc eax
mov dword [edi + edx*8 + 4], ecx
add esi, 0x54
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x17c]
add ecx, 0x78
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x158], esi
cmp eax, dword [edx + 0x4c]
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x17c], ecx
jl 0x100765b0
xor esi, esi
mov dword [ebp - 0x168], esi
mov esi, dword [ebp - 0x18c]
test esi, esi
jle 0x10076a9b
mov ecx, 0x1039edd0
call fcn.100203b0
mov edx, dword [ebp - 0x178]
add edx, 0x38
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x164], esi
nop
lock inc dword [eax]
mov ecx, dword [edx - 8]
lea esi, [edx + 4]
mov eax, dword [edx - 4]
add eax, 0x20
sar eax, 5
lea edi, [ecx + ecx*2]
mov ecx, esi
push eax
mov dword [ebp - 0x158], edi
call fcn.10066870
mov eax, dword [esi]
shl eax, 2
push eax
mov eax, dword [ebp - 0x154]
push 0
push dword [eax + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x188]
add esp, 0xc
cmp dword [eax + edi*8 + 0xc], 0
lea esi, [eax + edi*8]
jne 0x100767a3
mov eax, dword [eax + edi*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10066870
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x154]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x170], eax
cmp word [eax], 0
je 0x10076891
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10076891
movzx edi, word [eax]
cmp edi, ecx
ja 0x10076878
nop dword [eax + eax]
mov eax, dword [ebp - 0x158]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x188]
sar esi, 5
mov dword [ebp - 0x15c], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1007685f
mov eax, dword [ebp - 0x154]
push edi
push dword [eax - 0x20]
call fcn.101532e0
mov edx, dword [ebp - 0x154]
add esp, 8
test eax, eax
je 0x10076865
inc dword [edx]
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x188]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x188]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x158]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x168]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x170]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100767e0
mov eax, dword [ebp - 0x170]
add eax, 4
mov dword [ebp - 0x170], eax
cmp word [eax], 0
jne 0x100767c0
mov eax, dword [ebp - 0x184]
add edx, 0x54
sub dword [ebp - 0x164], 1
mov dword [ebp - 0x154], edx
jne 0x10076730
mov ecx, 0x1039edd0
call fcn.100203b0
mov esi, dword [ebp - 0x178]
mov edx, dword [ebp - 0x18c]
add esi, 0x4c
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x17c], edx
lock inc dword [eax]
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x184], eax
cmp eax, dword [esi]
jle 0x10076923
mov ecx, eax
shl ecx, 5
call fcn.10057800
mov edx, dword [esi + 4]
mov dword [ebp - 0x15c], eax
test edx, edx
je 0x10076918
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 4]
add esp, 0xc
call fcn.10057820
mov eax, dword [ebp - 0x15c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x184]
mov dword [esi], eax
mov edx, dword [esi - 8]
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x180], edx
lea eax, [edx + ecx*4]
mov dword [ebp - 0x1a4], eax
cmp edx, eax
jae 0x10076a56
mov eax, dword [edx]
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x10076a41
xor edi, edi
mov dword [ebp - 0x158], edi
nop
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x15c], eax
je 0x10076a31
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [ebp - 0x164]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
add eax, edi
movzx eax, ax
movups xmmword [ebp - 0x1f8], xmm0
mov dword [ebp - 0x1f0], eax
mov eax, dword [esi - 4]
cmp eax, ecx
jne 0x10076a11
lea edi, [eax + 1]
test ecx, ecx
je 0x100769bf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100769c4
mov byte [ebp - 0x149], 0
jmp 0x10077611
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10076a0b
mov ecx, edi
shl ecx, 5
call fcn.10057800
mov edx, dword [esi + 4]
mov dword [ebp - 0x184], eax
test edx, edx
je 0x10076a03
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 4]
add esp, 0xc
call fcn.10057820
mov eax, dword [ebp - 0x184]
mov dword [esi + 4], eax
xorps xmm0, xmm0
mov dword [esi], edi
mov edi, dword [ebp - 0x158]
mov eax, dword [esi - 4]
mov edx, dword [ebp - 0x180]
shl eax, 5
add eax, dword [esi + 4]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1f8]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 4]
inc edi
mov dword [ebp - 0x158], edi
cmp edi, 0x20
jb 0x10076960
add edx, 4
mov dword [ebp - 0x180], edx
cmp edx, dword [ebp - 0x1a4]
jb 0x10076946
mov ecx, dword [esi - 8]
test ecx, ecx
je 0x10076a77
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
call fcn.10057820
mov dword [esi - 8], 0
mov eax, dword [ebp - 0x190]
add esi, 0x54
sub dword [ebp - 0x17c], 1
jne 0x100768d2
mov edi, dword [ebp - 0x188]
mov esi, dword [ebp - 0x168]
jmp 0x10076a9d
xor esi, esi
cmp dword [ebp - 0x160], 0
jle 0x10076af0
lea eax, [edi + 0x14]
mov dword [ebp - 0x15c], eax
mov edi, eax
mov eax, dword [ebp - 0x160]
mov ecx, dword [edi]
test ecx, ecx
je 0x10076adc
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10057820
mov eax, dword [ebp - 0x160]
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x160], eax
jne 0x10076ab7
mov edi, dword [ebp - 0x188]
test edi, edi
je 0x10076b1d
mov ecx, edi
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
call fcn.10057820
xor eax, eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x1b4], eax
xor eax, eax
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 6
test esi, esi
jle 0x10076b74
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10076b74
mov ecx, edi
shl ecx, 4
call fcn.10057800
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x1e8], esi
shl esi, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1a8], eax
mov ecx, 0x40000
mov byte [ebp - 4], 7
call fcn.10057800
mov ecx, 0x20
mov esi, eax
call fcn.10057800
movss xmm0, dword [0x10232db8]
mov edx, 1
mov edi, 8
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x1a8], eax
mov dword [eax], esi
xor esi, esi
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x158], esi
cmp dword [ebp - 0x18c], esi
jle 0x10076ef2
mov ecx, 0x1039edd0
call fcn.100203b0
mov edi, dword [ebp - 0x178]
xor edx, edx
mov ecx, dword [ebp - 0x18c]
add edi, 0x28
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x190], ecx
nop dword [eax]
lock inc dword [eax]
mov ecx, dword [ebp - 0x150]
mov ecx, dword [ecx + 0x54]
add ecx, edx
mov edx, dword [edi + 0x10]
test edx, edx
je 0x10076ec5
mov eax, dword [ebp - 0x158]
add dword [ebp - 0x158], edx
shl eax, 4
add eax, dword [ebp - 0x164]
mov dword [edi], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10076c92
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x14a], 1
call fcn.10071970
jmp 0x10076c99
mov byte [ebp - 0x14a], 0
cmp dword [edi + 0x20], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x17c], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x198], eax
jle 0x10076ebf
xor ecx, ecx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x1a0], ecx
nop
mov esi, dword [edi + 0x28]
add esi, ecx
lea ecx, [edi - 0x28]
push dword [esi + 0x18]
call fcn.10075b10
test eax, eax
je 0x10076e85
push esi
lea ecx, [edi - 0x28]
call fcn.10075b70
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x10076e85
mov edi, dword [esi]
imul edi, dword [esi + 4]
mov edx, dword [ebp - 0x168]
shl edi, 2
mov dword [ebp - 0x180], edi
lea eax, [edi + edx]
cmp eax, 0x40000
jle 0x10076ded
xor eax, eax
mov ecx, 0x40000
mov dword [ebp - 0x168], eax
call fcn.10057800
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x19c]
cmp eax, ecx
jne 0x10076dc3
lea edi, [eax + 1]
test ecx, ecx
je 0x10076d5c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10076d61
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10076dbd
lea ecx, [edi*4]
call fcn.10057800
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x15c], eax
test ecx, ecx
je 0x10076dab
mov edx, dword [ebp - 0x19c]
shl edx, 2
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x160]
add esp, 0xc
call fcn.10057820
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1ac], edi
mov edi, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x184]
mov dword [edx + ecx*4], eax
inc ecx
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x1b0], ecx
jmp 0x10076df3
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, edi
mov dword [ebp - 0x168], edx
xor edx, edx
cmp byte [ebp - 0x14a], dl
mov dword [esi + 0x1c], ecx
cmove eax, edx
push eax
push dword [esi]
push ecx
push dword [ebp - 0x1a4]
call fcn.10075c00
mov edi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x198]
movzx ecx, word [esi]
movzx edx, ax
mov eax, dword [edi]
add cx, dx
mov edi, dword [ebp - 0x154]
mov word [eax + edi + 4], cx
movzx ecx, word [esi + 4]
mov edi, dword [ebp - 0x174]
add cx, dx
mov edx, dword [ebp - 0x154]
mov esi, dword [ebp - 0x170]
mov eax, dword [edi]
mov word [eax + edx + 6], cx
mov eax, dword [edi]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
imul ecx, eax
add esi, ecx
mov dword [ebp - 0x170], esi
jmp 0x10076e91
mov esi, dword [ebp - 0x170]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x17c]
add edx, 0x10
mov ecx, dword [ebp - 0x1a0]
inc eax
add ecx, 0x20
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x154], edx
cmp eax, dword [edi + 0x20]
jl 0x10076cd0
mov eax, dword [ebp - 0x194]
mov edx, dword [ebp - 0x16c]
add edi, 0x54
movss xmm0, dword [0x10232db8]
add edx, 0x78
sub dword [ebp - 0x190], 1
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x16c], edx
jne 0x10076c40
movd xmm0, esi
cvtdq2ps xmm0, xmm0
call fcn.1002f5d0
mov edi, dword [ebp - 0x150]
cvttss2si eax, xmm0
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x10076f52
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10233068]
jb 0x10076f2e
mov esi, 0x1000
jmp 0x10076f52
comiss xmm0, dword [0x10233064]
jb 0x10076f3e
mov esi, 0x800
jmp 0x10076f52
comiss xmm0, dword [0x10233050]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x1c], esi
xor eax, eax
sub esi, dword [edi + 0xc]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x10076fab
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10076fa5
lea ecx, [edi*8]
call fcn.10057800
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d0], edi
mov edi, dword [ebp - 0x150]
mov edx, dword [edi + 0x1c]
push esi
push eax
push ecx
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x1d4], esi
call fcn.100760e0
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.10072b50
mov edx, dword [ebp - 0x18c]
test edx, edx
jle 0x10077069
mov ecx, 0x1039edd0
call fcn.100203b0
mov esi, dword [ebp - 0x178]
mov dword [ebp - 0x190], eax
add esi, 0x38
mov dword [ebp - 0x16c], edx
nop
lock inc dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x10077057
mov edx, dword [esi - 0x10]
push ecx
lea ecx, [ebp - 0x148]
call fcn.10076250
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x10077051
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x10077049
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10077023
mov eax, dword [ebp - 0x190]
add esi, 0x54
sub dword [ebp - 0x16c], 1
jne 0x10077000
mov edi, dword [ebp - 0x150]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x10077096
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 [0x10232db8]
lea esi, [eax + 1]
mov eax, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [edi + 0x20], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [ebp - 0x149], 0
divss xmm1, xmm0
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
je 0x100770e5
shl esi, 2
mov ecx, esi
call fcn.10057800
mov dword [edi + 0x18], eax
jmp 0x100770ef
mov ecx, esi
call fcn.10057800
mov dword [edi + 0x14], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x18c]
xor al, al
add esp, 0xc
mov byte [ebp - 0x14a], al
test edx, edx
jle 0x1007751a
mov eax, dword [ebp - 0x178]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x15c], edx
nop
cmp dword [eax + 0x30], 0
je 0x100774f3
mov esi, dword [edi + 0x54]
movss xmm0, dword [eax]
add esi, ecx
movss xmm3, dword [eax - 4]
mov dword [ebp - 0x1d8], esi
mov ecx, dword [esi + 0x74]
mov edx, ecx
push ecx
mov dword [ebp - 0x190], ecx
mov ecx, edi
movss dword [esp], xmm0
push esi
call fcn.10072b00
mov eax, dword [ebp - 0x190]
add esp, 8
movss xmm3, dword [esi + 0x28]
movss dword [ebp - 0x158], xmm3
mov dword [ebp - 0x1a4], 0
movss xmm0, dword [eax + 0x48]
addss xmm0, dword [0x10232d64]
cvttss2si eax, xmm0
movd xmm2, eax
mov eax, dword [ebp - 0x180]
cvtdq2ps xmm2, xmm2
cmp dword [eax + 0x30], 0
addss xmm2, dword [esi + 0x2c]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x168], esi
movss dword [ebp - 0x170], xmm2
jle 0x100774e0
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x17c], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x100771f1
cmp word [eax + 6], 0
je 0x100774a4
movzx edx, word [eax + 8]
sub esp, 0x20
mov ecx, dword [edi + 4]
add edx, esi
movd xmm0, dword [edi + 0xc]
movzx esi, word [eax + 0xa]
add esi, dword [ebp - 0x168]
movd xmm1, dword [edi + 8]
mov eax, dword [edi]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x16c], esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x174], edx
cvtdq2ps xmm1, xmm1
addss xmm0, xmm2
movd xmm6, ecx
movss xmm2, dword [0x10232db8]
addss xmm1, xmm3
cvtdq2ps xmm6, xmm6
movd xmm7, eax
add eax, edx
addss xmm6, xmm0
movss dword [ebp - 0x198], xmm0
movd xmm0, dword [esi + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm7, xmm7
movss dword [ebp - 0x194], xmm1
addss xmm7, xmm1
movd xmm3, eax
movaps xmm1, xmm2
movd xmm5, edx
divss xmm1, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x16c]
cvtdq2ps xmm0, xmm0
lea eax, [ecx + esi]
cvtdq2ps xmm3, xmm3
divss xmm2, xmm0
movss xmm0, dword [edi + 0x10]
cvtdq2ps xmm5, xmm5
mulss xmm3, xmm1
mulss xmm5, xmm1
movd xmm1, eax
movzx eax, word [edi + 0x18]
movd xmm4, esi
mov esi, dword [ebp - 0x190]
mov ecx, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm4, xmm4
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ebp - 0x198]
mulss xmm1, xmm2
mulss xmm4, xmm2
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm3
movss xmm3, dword [ebp - 0x194]
movss dword [esp + 0x10], xmm4
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
push eax
push dword [ebp - 0x1d8]
call fcn.100737e0
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x1007732a
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x14a], 1
mov edx, dword [ebp - 0x150]
mov esi, dword [edi + 0x1c]
mov ecx, dword [edi]
mov dword [ebp - 0x154], esi
mov eax, dword [edx + 0x1c]
mov edx, eax
imul edx, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x16c], 0
mov eax, dword [esi + 0x14]
add edx, dword [ebp - 0x174]
mov esi, dword [ebp - 0x154]
test eax, eax
je 0x100773f1
add eax, edx
cmp dword [edi + 4], 0
mov dword [ebp - 0x174], eax
jle 0x1007748e
lea edx, [ecx*4]
mov dword [ebp - 0x198], edx
xor edx, edx
test ecx, ecx
jle 0x100773c2
add esi, 3
nop dword [eax]
mov ecx, dword [ebp - 0x174]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [edi]
cmp edx, ecx
jl 0x100773a0
mov eax, dword [ebp - 0x174]
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x16c]
add eax, dword [ebp - 0x194]
inc edx
add esi, dword [ebp - 0x198]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x154], esi
cmp edx, dword [edi + 4]
jl 0x10077393
jmp 0x1007748e
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0x18]
lea edx, [eax + edx*4]
mov dword [ebp - 0x174], edx
jle 0x1007748e
mov eax, dword [ebp - 0x194]
shl eax, 2
mov dword [ebp - 0x194], eax
lea eax, [ecx*4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x154]
nop
xor esi, esi
test ecx, ecx
jle 0x10077464
sub eax, dword [ebp - 0x174]
mov dword [ebp - 0x198], eax
mov eax, dword [eax + edx]
lea edx, [edx + 4]
mov dword [edx - 4], eax
inc esi
mov ecx, dword [edi]
mov eax, dword [ebp - 0x198]
cmp esi, ecx
jl 0x10077442
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x174]
mov esi, dword [ebp - 0x16c]
add edx, dword [ebp - 0x194]
inc esi
add eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x154], eax
cmp esi, dword [edi + 4]
jl 0x10077430
mov esi, dword [ebp - 0x168]
movss xmm3, dword [ebp - 0x158]
movss xmm2, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x180]
inc ecx
add dword [ebp - 0x17c], 0x20
add dword [ebp - 0x1a0], 0x10
mov edx, dword [ebp - 0x17c]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [ebp - 0x1a0]
jl 0x100771d5
mov edi, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x15c]
mov dword [eax + 0x20], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x15c], edx
jne 0x10077130
mov al, byte [ebp - 0x14a]
mov byte [edi + 0x12], al
xor esi, esi
mov edi, dword [ebp - 0x19c]
test edi, edi
jle 0x10077543
nop dword [eax]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + esi*4]
call fcn.10057820
inc esi
cmp esi, edi
jl 0x10077530
mov edi, dword [ebp - 0x18c]
test edi, edi
jle 0x10077589
mov esi, dword [ebp - 0x178]
add esi, 0x44
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10077566
call fcn.10057820
mov byte [ebp - 4], 0xa
mov ecx, dword [esi]
test ecx, ecx
je 0x10077575
call fcn.10057820
lea ecx, [esi - 0x44]
mov byte [ebp - 4], 8
call fcn.100759c0
add esi, 0x54
sub edi, 1
jne 0x10077556
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x100775bc
mov ecx, esi
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
call fcn.10057820
xor esi, esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x1c0], esi
mov ecx, dword [ebp - 0x150]
call fcn.10073090
mov byte [ebp - 0x149], 1
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
je 0x100775e1
call fcn.10057820
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x100775f6
mov ecx, eax
call fcn.10057820
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x1007760b
mov ecx, eax
call fcn.10057820
mov edi, dword [ebp - 0x188]
mov byte [ebp - 4], 0xe
test edi, edi
je 0x10077620
mov ecx, edi
call fcn.10057820
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x10077638
mov ecx, eax
call fcn.10057820
mov al, byte [ebp - 0x149]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015164c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret