Function at 0x10076750
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 0x101a6dfc
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 - 0x190], ecx
mov ecx, esi
call fcn.100732a0
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.10071260
xor edx, edx
mov byte [ebp - 0x149], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x174], 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 - 0x184], 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 - 0x180], ecx
test ecx, ecx
jle 0x10076872
cmp ecx, edx
mov edi, ecx
cmovl edi, edx
test edi, edi
jle 0x10076872
imul ecx, edi, 0x54
call fcn.100575c0
mov ecx, dword [ebp - 0x180]
lea edx, [esi + 8]
mov dword [ebp - 0x174], 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 - 0x160], eax
test eax, eax
jle 0x100768ca
cmp eax, 8
mov edi, eax
cmovl edi, edx
test edi, edi
jle 0x100768c8
lea ecx, [edi + edi*2]
shl ecx, 3
call fcn.100575c0
mov ecx, dword [ebp - 0x180]
mov esi, eax
mov dword [ebp - 0x1b8], edi
mov edi, eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x15c], esi
jmp 0x100768ca
xor edi, edi
mov dword [ebp - 0x1bc], eax
imul eax, ecx, 0x54
push eax
push 0
push dword [ebp - 0x174]
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, 0x10334aa4
push 0x15
push str.Initializing_fonts...
call fcn.100183e0
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x180]
mov edi, dword [ebp - 0x150]
lea eax, [ecx + edx*4]
mov ecx, 0x10335b48
add eax, dword [edi + 0x4c]
mov dword [ebp - 0x15c], eax
call fcn.10020730
lea ecx, [ebp - 0x15c]
mov edx, eax
call fcn.1002eeb0
xchg dword [edx], eax
cmp dword [edi + 0x4c], 0
mov dword [ebp - 0x178], 0
jle 0x10076ac3
mov ecx, 0x10335b4c
call fcn.10020730
mov edi, dword [ebp - 0x174]
xor ecx, ecx
add edi, 0x34
mov dword [ebp - 0x15c], 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 - 0x164], eax
cmp dword [ecx + 0x34], edx
jle 0x10076d83
mov esi, dword [ebp - 0x158]
or edi, 0xffffffff
mov ecx, edi
cmp edi, 0xffffffff
jne 0x100769e8
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 0x100769d4
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 - 0x164]
jl 0x100769b5
mov esi, dword [ebp - 0x184]
cmp ecx, 0xffffffff
je 0x10076d83
push dword [ebx + 8]
mov edi, dword [ebp - 0x158]
push eax
push dword [ebp - 0x190]
lea ecx, [edi - 0x34]
call fcn.10075ca0
test al, al
je 0x10076d83
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 [edi - 4]
lea ecx, [eax + eax*2]
mov dword [ebp - 0x164], ecx
test edx, edx
jne 0x10076a45
call fcn.10073430
mov edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x10076a71
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x10076a6b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10076a50
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x164]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
mov eax, dword [ebp - 0x178]
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 - 0x178], eax
mov dword [ebp - 0x158], edi
cmp eax, dword [edx + 0x4c]
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x194], ecx
jl 0x10076980
xor esi, esi
mov dword [ebp - 0x168], esi
mov esi, dword [ebp - 0x180]
test esi, esi
jle 0x10076e65
mov ecx, 0x10335b4c
call fcn.10020730
mov edx, dword [ebp - 0x174]
add edx, 0x38
mov dword [ebp - 0x190], 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.10066520
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 - 0x184]
add esp, 0xc
cmp dword [eax + edi*8 + 0xc], 0
lea esi, [eax + edi*8]
jne 0x10076b73
mov eax, dword [eax + edi*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10066520
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 - 0x16c], eax
cmp word [eax], 0
je 0x10076c61
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10076c61
movzx edi, word [eax]
cmp edi, ecx
ja 0x10076c48
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 - 0x184]
sar esi, 5
mov dword [ebp - 0x15c], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x10076c2f
mov eax, dword [ebp - 0x154]
push edi
push dword [eax - 0x20]
call fcn.1014d330
mov edx, dword [ebp - 0x154]
add esp, 8
test eax, eax
je 0x10076c35
inc dword [edx]
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x184]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x184]
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 - 0x16c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10076bb0
mov eax, dword [ebp - 0x16c]
add eax, 4
mov dword [ebp - 0x16c], eax
cmp word [eax], 0
jne 0x10076b90
mov eax, dword [ebp - 0x190]
add edx, 0x54
sub dword [ebp - 0x164], 1
mov dword [ebp - 0x154], edx
jne 0x10076b00
mov ecx, 0x10335b4c
call fcn.10020730
mov esi, dword [ebp - 0x174]
mov edx, dword [ebp - 0x180]
add esi, 0x4c
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x178], edx
lock inc dword [eax]
mov edi, dword [esi - 0x14]
cmp edi, dword [esi]
jle 0x10076ce7
mov ecx, edi
shl ecx, 5
call fcn.100575c0
mov edx, dword [esi + 4]
mov dword [ebp - 0x15c], eax
test edx, edx
je 0x10076ce2
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.100575e0
mov eax, dword [ebp - 0x15c]
mov dword [esi + 4], eax
mov dword [esi], edi
mov ecx, dword [esi - 8]
mov edx, ecx
mov eax, dword [esi - 0x10]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x164], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18c], eax
cmp ecx, eax
jae 0x10076e26
nop dword [eax]
mov eax, dword [edx]
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x10076e11
xor edi, edi
mov dword [ebp - 0x158], edi
nop dword [eax + eax]
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x15c], eax
je 0x10076e01
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [ebp - 0x190]
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 0x10076de1
lea edi, [eax + 1]
test ecx, ecx
je 0x10076d8f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10076d94
mov byte [ebp - 0x149], 0
jmp 0x100779db
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10076ddb
mov ecx, edi
shl ecx, 5
call fcn.100575c0
mov edx, dword [esi + 4]
mov dword [ebp - 0x1a4], eax
test edx, edx
je 0x10076dd3
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.100575e0
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 - 0x164]
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 0x10076d30
add edx, 4
mov dword [ebp - 0x164], edx
cmp edx, dword [ebp - 0x18c]
jb 0x10076d10
mov ecx, dword [esi - 8]
test ecx, ecx
je 0x10076e47
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
call fcn.100575e0
mov dword [esi - 8], 0
mov eax, dword [ebp - 0x188]
add esi, 0x54
sub dword [ebp - 0x178], 1
jne 0x10076ca2
mov esi, dword [ebp - 0x168]
jmp 0x10076e67
xor esi, esi
cmp dword [ebp - 0x160], 0
jle 0x10076eb3
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x160]
add edi, 0x14
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x10076ea5
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.100575e0
mov eax, dword [ebp - 0x160]
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x160], eax
jne 0x10076e80
mov eax, dword [ebp - 0x184]
test eax, eax
je 0x10076ee6
mov ecx, eax
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
call fcn.100575e0
xor eax, eax
mov dword [ebp - 0x184], 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 0x10076f3d
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10076f3d
mov ecx, edi
shl ecx, 4
call fcn.100575c0
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.100575c0
mov ecx, 0x20
mov esi, eax
call fcn.100575c0
movss xmm0, dword [0x1022c018]
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 - 0x16c], esi
mov dword [ebp - 0x170], esi
cmp dword [ebp - 0x180], esi
jle 0x100772b9
mov ecx, 0x10335b4c
call fcn.10020730
mov edi, dword [ebp - 0x174]
xor edx, edx
mov ecx, dword [ebp - 0x180]
add edi, 0x28
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x188], ecx
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 0x1007728c
mov eax, dword [ebp - 0x170]
add dword [ebp - 0x170], 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 0x10077057
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x14a], 1
call fcn.10071b90
jmp 0x1007705e
mov byte [ebp - 0x14a], 0
cmp dword [edi + 0x20], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x178], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x198], eax
jle 0x10077286
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.10075ed0
test eax, eax
je 0x10077249
push esi
lea ecx, [edi - 0x28]
call fcn.10075f30
mov dword [ebp - 0x18c], eax
test eax, eax
je 0x10077249
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 0x100771b3
xor eax, eax
mov ecx, 0x40000
mov dword [ebp - 0x168], eax
call fcn.100575c0
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x19c]
cmp eax, ecx
jne 0x10077189
lea edi, [eax + 1]
test ecx, ecx
je 0x10077122
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10077127
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10077183
lea ecx, [edi*4]
call fcn.100575c0
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x15c], eax
test ecx, ecx
je 0x10077171
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.100575e0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], 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 - 0x160]
mov eax, dword [ebp - 0x190]
mov dword [edx + ecx*4], eax
inc ecx
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x1b0], ecx
jmp 0x100771b9
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, 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 - 0x18c]
call fcn.10075fc0
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 - 0x16c]
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 - 0x16c], esi
jmp 0x10077255
mov esi, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x178]
add edx, 0x10
mov ecx, dword [ebp - 0x194]
inc eax
add ecx, 0x20
mov dword [ebp - 0x178], eax
cmp eax, dword [edi + 0x20]
lea eax, [edi - 0x28]
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x154], edx
jl 0x10077096
mov eax, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x17c]
add edi, 0x54
movss xmm0, dword [0x1022c018]
add edx, 0x78
sub dword [ebp - 0x188], 1
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x17c], edx
jne 0x10077005
movd xmm0, esi
cvtdq2ps xmm0, xmm0
call fcn.10030000
mov edi, dword [ebp - 0x150]
cvttss2si eax, xmm0
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x10077319
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1022c2ac]
jb 0x100772f5
mov esi, 0x1000
jmp 0x10077319
comiss xmm0, dword [0x1022c2a8]
jb 0x10077305
mov esi, 0x800
jmp 0x10077319
comiss xmm0, dword [0x1022c294]
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 0x10077372
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x1007736c
lea ecx, [edi*8]
call fcn.100575c0
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.100764b0
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.10072da0
mov edx, dword [ebp - 0x180]
test edx, edx
jle 0x10077436
mov ecx, 0x10335b4c
call fcn.10020730
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x198], eax
add esi, 0x38
mov dword [ebp - 0x188], edx
lock inc dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x1007741e
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x148]
push eax
call fcn.10076610
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1007741e
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x10077416
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 0x100773f0
mov eax, dword [ebp - 0x198]
add esi, 0x54
sub dword [ebp - 0x188], 1
jne 0x100773c6
mov edi, dword [ebp - 0x150]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x10077463
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 [0x1022c018]
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 0x100774b2
shl esi, 2
mov ecx, esi
call fcn.100575c0
mov dword [edi + 0x18], eax
jmp 0x100774bc
mov ecx, esi
call fcn.100575c0
mov dword [edi + 0x14], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x180]
xor al, al
add esp, 0xc
mov byte [ebp - 0x14a], al
test edx, edx
jle 0x100778ea
mov eax, dword [ebp - 0x174]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x15c], edx
nop dword [eax + eax]
cmp dword [eax + 0x30], 0
je 0x100778c3
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 - 0x188], ecx
mov ecx, edi
movss dword [esp], xmm0
push esi
call fcn.10072d50
mov eax, dword [ebp - 0x188]
add esp, 8
movss xmm3, dword [esi + 0x28]
movss dword [ebp - 0x16c], xmm3
mov dword [ebp - 0x1a4], 0
movss xmm0, dword [eax + 0x48]
addss xmm0, dword [0x1022bfc4]
cvttss2si eax, xmm0
movd xmm2, eax
mov eax, dword [ebp - 0x178]
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 0x100778b0
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 0x100775c1
cmp word [eax + 6], 0
je 0x10077874
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 - 0x17c], esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x170], edx
cvtdq2ps xmm1, xmm1
addss xmm0, xmm2
movd xmm6, ecx
movss xmm2, dword [0x1022c018]
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 - 0x18c], 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 - 0x17c]
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 - 0x188]
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 - 0x18c]
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.10073a50
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x100776fa
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 - 0x17c]
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x17c], 0
mov eax, dword [esi + 0x14]
add edx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x154]
test eax, eax
je 0x100777c1
add eax, edx
cmp dword [edi + 4], 0
mov dword [ebp - 0x170], eax
jle 0x1007785e
lea edx, [ecx*4]
mov dword [ebp - 0x198], edx
xor edx, edx
test ecx, ecx
jle 0x10077792
add esi, 3
nop dword [eax]
mov ecx, dword [ebp - 0x170]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [edi]
cmp edx, ecx
jl 0x10077770
mov eax, dword [ebp - 0x170]
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x17c]
add eax, dword [ebp - 0x18c]
inc edx
add esi, dword [ebp - 0x198]
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x154], esi
cmp edx, dword [edi + 4]
jl 0x10077763
jmp 0x1007785e
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0x18]
lea edx, [eax + edx*4]
mov dword [ebp - 0x170], edx
jle 0x1007785e
mov eax, dword [ebp - 0x18c]
shl eax, 2
mov dword [ebp - 0x18c], eax
lea eax, [ecx*4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x154]
nop
xor esi, esi
test ecx, ecx
jle 0x10077834
sub eax, dword [ebp - 0x170]
mov dword [ebp - 0x198], eax
mov eax, dword [edx + eax]
lea edx, [edx + 4]
mov dword [edx - 4], eax
inc esi
mov ecx, dword [edi]
mov eax, dword [ebp - 0x198]
cmp esi, ecx
jl 0x10077812
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x17c]
add edx, dword [ebp - 0x18c]
inc esi
add eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x154], eax
cmp esi, dword [edi + 4]
jl 0x10077800
mov esi, dword [ebp - 0x168]
movss xmm3, dword [ebp - 0x16c]
movss xmm2, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x178]
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 0x100775a5
mov edi, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x15c]
mov dword [eax + 0x20], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x15c], edx
jne 0x10077500
mov al, byte [ebp - 0x14a]
mov byte [edi + 0x12], al
xor esi, esi
mov edi, dword [ebp - 0x19c]
test edi, edi
jle 0x10077913
nop dword [eax]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + esi*4]
call fcn.100575e0
inc esi
cmp esi, edi
jl 0x10077900
mov edi, dword [ebp - 0x180]
test edi, edi
jle 0x10077959
mov esi, dword [ebp - 0x174]
add esi, 0x44
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10077936
call fcn.100575e0
mov byte [ebp - 4], 0xa
mov ecx, dword [esi]
test ecx, ecx
je 0x10077945
call fcn.100575e0
lea ecx, [esi - 0x44]
mov byte [ebp - 4], 8
call fcn.10075d80
add esi, 0x54
sub edi, 1
jne 0x10077926
mov esi, dword [ebp - 0x174]
test esi, esi
je 0x1007798c
mov ecx, esi
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
call fcn.100575e0
xor esi, esi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x1c0], esi
mov ecx, dword [ebp - 0x150]
call fcn.100732f0
mov byte [ebp - 0x149], 1
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
je 0x100779b1
call fcn.100575e0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x100779c6
mov ecx, eax
call fcn.100575e0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x100779db
mov ecx, eax
call fcn.100575e0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x184]
test eax, eax
je 0x100779f0
mov ecx, eax
call fcn.100575e0
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x10077a08
mov ecx, eax
call fcn.100575e0
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.1014b7c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret