Function at 0x10076bf0
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 0x101a70ec
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x10242040]
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 - 0x180], ecx
mov ecx, esi
call fcn.100737a0
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.10071770
xor edx, edx
mov byte [ebp - 0x149], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x1bc], edx
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x1b4], esi
mov eax, dword [ebp - 0x150]
lea edx, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x184], ecx
test ecx, ecx
jle 0x10076d12
cmp ecx, edx
mov edi, ecx
cmovl edi, edx
test edi, edi
jle 0x10076d12
imul ecx, edi, 0x54
call fcn.10057ab0
mov ecx, dword [ebp - 0x184]
lea edx, [esi + 8]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1c4], edi
mov eax, dword [eax + 0x34]
xor edi, edi
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x164], eax
test eax, eax
jle 0x10076d6a
cmp eax, 8
mov edi, eax
cmovl edi, edx
test edi, edi
jle 0x10076d68
lea ecx, [edi + edi*2]
shl ecx, 3
call fcn.10057ab0
mov ecx, dword [ebp - 0x184]
mov esi, eax
mov dword [ebp - 0x1b8], edi
mov edi, eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x160], esi
jmp 0x10076d6a
xor edi, edi
mov dword [ebp - 0x1bc], eax
imul eax, ecx, 0x54
push eax
push 0
push dword [ebp - 0x178]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x164]
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, 0x10334aa4
push 0x15
push str.Initializing_fonts...
call fcn.100183d0
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x184]
mov edi, dword [ebp - 0x150]
lea eax, [ecx + edx*4]
mov ecx, 0x10335b44
add eax, dword [edi + 0x4c]
mov dword [ebp - 0x160], eax
call fcn.100206e0
lea ecx, [ebp - 0x160]
mov edx, eax
call fcn.1002ee80
xchg dword [edx], eax
cmp dword [edi + 0x4c], 0
mov dword [ebp - 0x17c], 0
jle 0x10076f63
mov ecx, 0x10335b40
call fcn.100206e0
mov edi, dword [ebp - 0x178]
xor ecx, ecx
add edi, 0x34
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x158], edi
nop
lock inc dword [eax]
mov eax, dword [ebp - 0x150]
xor edx, edx
mov eax, dword [eax + 0x54]
add eax, ecx
mov dword [edi - 4], 0xffffffff
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x15c], eax
cmp dword [ecx + 0x34], edx
jle 0x1007719b
mov esi, dword [ebp - 0x158]
or edi, 0xffffffff
mov ecx, edi
cmp edi, 0xffffffff
jne 0x10076e88
mov ecx, dword [ebp - 0x150]
or edi, edi
mov eax, dword [eax + 0x74]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x10076e74
mov dword [esi - 4], edx
mov edi, edx
mov eax, dword [ebp - 0x150]
inc edx
mov ecx, edi
cmp edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x15c]
jl 0x10076e55
mov esi, dword [ebp - 0x188]
cmp ecx, 0xffffffff
je 0x1007719b
push dword [ebx + 8]
mov edi, dword [ebp - 0x158]
push eax
push dword [ebp - 0x180]
lea ecx, [edi - 0x34]
call fcn.10076160
test al, al
je 0x1007719b
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x40]
mov edx, dword [edx + 0x30]
shr eax, 8
and al, 1
or byte [ebp - 0x149], al
mov eax, dword [edi - 4]
lea ecx, [eax + eax*2]
mov dword [ebp - 0x15c], ecx
test edx, edx
jne 0x10076ee5
call fcn.10073930
mov edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x10076f11
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x10076f0b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10076ef0
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x15c]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
mov eax, dword [ebp - 0x17c]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
inc eax
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x194]
add ecx, 0x78
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x158], edi
cmp eax, dword [edx + 0x4c]
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x194], ecx
jl 0x10076e20
xor esi, esi
mov dword [ebp - 0x168], esi
mov esi, dword [ebp - 0x184]
test esi, esi
jle 0x10077329
mov ecx, 0x10335b40
call fcn.100206e0
mov edx, dword [ebp - 0x178]
add edx, 0x38
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x15c], 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.10066a40
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 0x10077013
mov eax, dword [eax + edi*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10066a40
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 0x10077101
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10077101
movzx edi, word [eax]
cmp edi, ecx
ja 0x100770e8
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 - 0x160], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100770cf
mov eax, dword [ebp - 0x154]
push edi
push dword [eax - 0x20]
call fcn.1014d5b0
mov edx, dword [ebp - 0x154]
add esp, 8
test eax, eax
je 0x100770d5
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 - 0x160]
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 0x10077050
mov eax, dword [ebp - 0x170]
add eax, 4
mov dword [ebp - 0x170], eax
cmp word [eax], 0
jne 0x10077030
mov eax, dword [ebp - 0x180]
add edx, 0x54
sub dword [ebp - 0x15c], 1
mov dword [ebp - 0x154], edx
jne 0x10076fa0
mov ecx, 0x10335b40
call fcn.100206e0
mov esi, dword [ebp - 0x178]
mov edx, dword [ebp - 0x184]
add esi, 0x4c
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x17c], edx
lock inc dword [eax]
mov eax, dword [esi - 0x14]
lea edi, [esi + 4]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x15c], edi
cmp eax, dword [esi]
jle 0x100771a7
mov ecx, eax
shl ecx, 5
call fcn.10057ab0
mov edx, dword [edi]
mov dword [ebp - 0x160], eax
test edx, edx
je 0x1007718f
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi]
add esp, 0xc
call fcn.10057ad0
mov eax, dword [ebp - 0x160]
mov dword [edi], eax
mov eax, dword [ebp - 0x180]
mov dword [esi], eax
jmp 0x100771ad
mov byte [ebp - 0x149], 0
jmp 0x10077e9b
mov dword [ebp - 0x15c], edi
mov eax, dword [ebp - 0x15c]
mov ecx, dword [esi - 0x10]
mov edi, dword [esi - 8]
mov edx, edi
mov dword [ebp - 0x180], edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x15c], edi
lea eax, [eax + ecx*4]
mov dword [ebp - 0x190], eax
cmp edi, eax
jae 0x100772ea
nop dword [eax + eax]
mov eax, dword [edx]
mov dword [ebp - 0x160], eax
test eax, eax
je 0x100772d5
xor edi, edi
mov dword [ebp - 0x158], edi
nop dword [eax + eax]
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x160], eax
je 0x100772c5
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [ebp - 0x180]
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 0x100772a5
lea edi, [eax + 1]
test ecx, ecx
je 0x10077253
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10077258
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1007729f
mov ecx, edi
shl ecx, 5
call fcn.10057ab0
mov edx, dword [esi + 4]
mov dword [ebp - 0x1a4], eax
test edx, edx
je 0x10077297
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.10057ad0
mov eax, dword [ebp - 0x1a4]
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 - 0x15c]
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 0x10077200
add edx, 4
mov dword [ebp - 0x15c], edx
cmp edx, dword [ebp - 0x190]
jb 0x100771e0
mov ecx, dword [esi - 8]
test ecx, ecx
je 0x1007730b
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
call fcn.10057ad0
mov dword [esi - 8], 0
mov eax, dword [ebp - 0x18c]
add esi, 0x54
sub dword [ebp - 0x17c], 1
jne 0x10077142
mov esi, dword [ebp - 0x168]
jmp 0x1007732b
xor esi, esi
cmp dword [ebp - 0x164], 0
jle 0x10077376
mov edi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x164]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x10077368
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10057ad0
mov eax, dword [ebp - 0x164]
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x164], eax
jne 0x10077343
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x100773a9
mov ecx, eax
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
call fcn.10057ad0
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 - 0x15c], eax
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 6
test esi, esi
jle 0x10077400
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10077400
mov ecx, edi
shl ecx, 4
call fcn.10057ab0
mov dword [ebp - 0x15c], 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.10057ab0
mov ecx, 0x20
mov esi, eax
call fcn.10057ab0
movss xmm0, dword [0x1022c720]
mov edx, 1
mov edi, 8
mov dword [ebp - 0x164], 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 - 0x174], esi
cmp dword [ebp - 0x184], esi
jle 0x10077784
mov ecx, 0x10335b40
call fcn.100206e0
mov edi, dword [ebp - 0x178]
xor edx, edx
mov ecx, dword [ebp - 0x184]
add edi, 0x28
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x18c], ecx
nop dword [eax + 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 0x10077757
mov eax, dword [ebp - 0x174]
add dword [ebp - 0x174], edx
shl eax, 4
add eax, dword [ebp - 0x15c]
mov dword [edi], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10077522
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x14a], 1
call fcn.100720a0
jmp 0x10077529
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 0x10077751
xor ecx, ecx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x194], ecx
lea eax, [edi - 0x28]
mov esi, dword [edi + 0x28]
add esi, ecx
mov ecx, eax
push dword [esi + 0x18]
call fcn.10076390
test eax, eax
je 0x10077714
push esi
lea ecx, [edi - 0x28]
call fcn.100763f0
mov dword [ebp - 0x190], eax
test eax, eax
je 0x10077714
mov eax, dword [esi + 4]
imul eax, dword [esi]
mov edx, dword [ebp - 0x168]
shl eax, 2
mov dword [ebp - 0x1a4], eax
lea ecx, [eax + edx]
cmp ecx, 0x40000
jle 0x1007767e
xor eax, eax
mov ecx, 0x40000
mov dword [ebp - 0x168], eax
call fcn.10057ab0
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x19c]
cmp eax, ecx
jne 0x10077654
lea edi, [eax + 1]
test ecx, ecx
je 0x100775ed
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100775f2
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1007764e
lea ecx, [edi*4]
call fcn.10057ab0
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
test ecx, ecx
je 0x1007763c
mov edx, dword [ebp - 0x19c]
shl edx, 2
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x164]
add esp, 0xc
call fcn.10057ad0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1ac], edi
mov edi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x180]
mov dword [edx + ecx*4], eax
inc ecx
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x1b0], ecx
jmp 0x10077684
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, dword [ebp - 0x1a4]
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 - 0x190]
call fcn.10076480
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 [edi + eax + 4], cx
movzx ecx, word [esi + 4]
mov edi, dword [ebp - 0x158]
add cx, dx
mov edx, dword [ebp - 0x154]
mov esi, dword [ebp - 0x170]
mov eax, dword [edi]
mov word [edx + eax + 6], cx
mov eax, dword [edi]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
imul ecx, eax
add esi, ecx
mov dword [ebp - 0x170], esi
jmp 0x10077720
mov esi, dword [ebp - 0x170]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x17c]
add edx, 0x10
mov ecx, dword [ebp - 0x194]
inc eax
add ecx, 0x20
mov dword [ebp - 0x17c], eax
cmp eax, dword [edi + 0x20]
lea eax, [edi - 0x28]
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x154], edx
jl 0x10077561
mov eax, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x16c]
add edi, 0x54
movss xmm0, dword [0x1022c720]
add edx, 0x78
sub dword [ebp - 0x18c], 1
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x16c], edx
jne 0x100774d0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
call fcn.1002ffd0
mov edi, dword [ebp - 0x150]
cvttss2si eax, xmm0
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x100777e4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1022c9c4]
jb 0x100777c0
mov esi, 0x1000
jmp 0x100777e4
comiss xmm0, dword [0x1022c9c0]
jb 0x100777d0
mov esi, 0x800
jmp 0x100777e4
comiss xmm0, dword [0x1022c9ac]
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 0x1007783d
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10077837
lea ecx, [edi*8]
call fcn.10057ab0
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.10076950
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.100732b0
mov edx, dword [ebp - 0x184]
test edx, edx
jle 0x100778fa
mov ecx, 0x10335b40
call fcn.100206e0
mov esi, dword [ebp - 0x178]
mov dword [ebp - 0x18c], eax
add esi, 0x38
mov dword [ebp - 0x16c], edx
lock inc dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x100778e8
mov edx, dword [esi - 0x10]
push ecx
lea ecx, [ebp - 0x148]
call fcn.10076ab0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100778e2
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x100778da
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 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 0x100778b4
mov eax, dword [ebp - 0x18c]
add esi, 0x54
sub dword [ebp - 0x16c], 1
jne 0x10077891
mov edi, dword [ebp - 0x150]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x10077927
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 [0x1022c720]
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 0x10077976
shl esi, 2
mov ecx, esi
call fcn.10057ab0
mov dword [edi + 0x18], eax
jmp 0x10077980
mov ecx, esi
call fcn.10057ab0
mov dword [edi + 0x14], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x184]
xor al, al
add esp, 0xc
mov byte [ebp - 0x14a], al
test edx, edx
jle 0x10077daa
mov eax, dword [ebp - 0x178]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x160], edx
nop
cmp dword [eax + 0x30], 0
je 0x10077d83
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 - 0x18c], ecx
mov ecx, edi
movss dword [esp], xmm0
push esi
call fcn.10073260
mov eax, dword [ebp - 0x18c]
add esp, 8
movss xmm3, dword [esi + 0x28]
movss dword [ebp - 0x170], xmm3
mov dword [ebp - 0x1a4], 0
movss xmm0, dword [eax + 0x48]
addss xmm0, dword [0x1022c6cc]
cvttss2si eax, xmm0
movd xmm2, eax
mov eax, dword [ebp - 0x17c]
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 - 0x158], xmm2
jle 0x10077d70
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x194], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x10077a81
cmp word [eax + 6], 0
je 0x10077d34
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 [0x1022c720]
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 - 0x190], 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 - 0x18c]
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 - 0x190]
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.10073f20
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x10077bba
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 - 0x190], 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 0x10077c81
add eax, edx
cmp dword [edi + 4], 0
mov dword [ebp - 0x174], eax
jle 0x10077d1e
lea edx, [ecx*4]
mov dword [ebp - 0x198], edx
xor edx, edx
test ecx, ecx
jle 0x10077c52
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 0x10077c30
mov eax, dword [ebp - 0x174]
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x16c]
add eax, dword [ebp - 0x190]
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 0x10077c23
jmp 0x10077d1e
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 0x10077d1e
mov eax, dword [ebp - 0x190]
shl eax, 2
mov dword [ebp - 0x190], eax
lea eax, [ecx*4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x154]
nop
xor esi, esi
test ecx, ecx
jle 0x10077cf4
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 0x10077cd2
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x174]
mov esi, dword [ebp - 0x16c]
add edx, dword [ebp - 0x190]
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 0x10077cc0
mov esi, dword [ebp - 0x168]
movss xmm3, dword [ebp - 0x170]
movss xmm2, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x17c]
inc ecx
add dword [ebp - 0x194], 0x20
add dword [ebp - 0x1a0], 0x10
mov edx, dword [ebp - 0x194]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [ebp - 0x1a0]
jl 0x10077a65
mov edi, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x180]
mov edx, dword [ebp - 0x160]
mov dword [eax + 0x20], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x160], edx
jne 0x100779c0
mov al, byte [ebp - 0x14a]
mov byte [edi + 0x12], al
xor esi, esi
mov edi, dword [ebp - 0x19c]
test edi, edi
jle 0x10077dd3
nop dword [eax]
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + esi*4]
call fcn.10057ad0
inc esi
cmp esi, edi
jl 0x10077dc0
mov edi, dword [ebp - 0x184]
test edi, edi
jle 0x10077e19
mov esi, dword [ebp - 0x178]
add esi, 0x44
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10077df6
call fcn.10057ad0
mov byte [ebp - 4], 0xa
mov ecx, dword [esi]
test ecx, ecx
je 0x10077e05
call fcn.10057ad0
lea ecx, [esi - 0x44]
mov byte [ebp - 4], 8
call fcn.10076240
add esi, 0x54
sub edi, 1
jne 0x10077de6
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x10077e4c
mov ecx, esi
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
call fcn.10057ad0
xor esi, esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x1c0], esi
mov ecx, dword [ebp - 0x150]
call fcn.100737f0
mov byte [ebp - 0x149], 1
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
je 0x10077e71
call fcn.10057ad0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x10077e86
mov ecx, eax
call fcn.10057ad0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x10077e9b
mov ecx, eax
call fcn.10057ad0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x10077eb0
mov ecx, eax
call fcn.10057ad0
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x10077ec8
mov ecx, eax
call fcn.10057ad0
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.1014ba4f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret