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

Disassembly:
sub esp, 0x14c
push ebx
push ebp
mov ebp, dword [esp + 0x158]
lea eax, [esp + 0x38]
push esi
push edi
xorps xmm0, xmm0
mov dword [esp + 0x120], 0
mov edi, dword [ebp + 0xd8]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp]
push eax
movups xmmword [esp + 0x10c], xmm0
mov dword [esp + 0x108], 0
movq qword [esp + 0x11c], xmm0
movups xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x7c], 0
movq qword [esp + 0x100], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], 0x400
mov dword [esp + 0x90], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 0x400
mov dword [esp + 0x74], 0
movups xmmword [esp + 0x144], xmm0
mov dword [esp + 0x15c], 0
movq qword [esp + 0x154], xmm0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xcc], 0x400
mov dword [esp + 0xc8], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe8], 0x400
mov dword [esp + 0xe4], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb0], 0x400
mov dword [esp + 0xac], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0x400
mov dword [esp + 0x58], 0
movzx eax, word [edi + 0xd4]
push eax
push ecx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0
call fcn.00767980
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76afdc
movzx eax, word [edi + 0xd4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x168]
test eax, eax
je 0x76aa44
mov dword [eax], esi
xor eax, eax
xor esi, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x10c]
push eax
mov eax, dword [esp + 0x16c]
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
je 0x76afdc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 1
push 0
lea eax, [esp + 0xf0]
mov dword [esp + 0x3c], 1
push eax
lea eax, [esp + 0x110]
mov dword [esp + 0x38], 1
push eax
push ebp
call fcn.0076c330
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x76afdc
push 0x117
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.0078e9f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76abb0
mov eax, dword [esp + 0x34]
push esi
or dword [eax + 0x13c], 0x8000
push dword [esp + 0x38]
call fcn.0078eae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x76ab8e
push 0x10
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.0078edc0
mov esi, eax
add esp, 0x10
cmp esi, 0xffff86e9
jne 0x76ab8e
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x80]
jbe 0x76ab4b
lea ecx, [esp + 0x78]
push ecx
push eax
push dword [ebp + 8]
call fcn.007679f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76ab8e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x64]
jbe 0x76ab74
lea ecx, [esp + 0x5c]
push ecx
push eax
push dword [ebp + 8]
call fcn.007679f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76ab8e
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], eax
push 6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.0078edc0
add esp, 0x10
mov esi, eax
push dword [esp + 0x34]
call fcn.0078d3c0
add esp, 4
test eax, eax
je 0x76aba3
test esi, esi
cmove esi, eax
mov eax, dword [ebp + 0xd8]
and dword [eax + 0x1c4], 0xffffffef
cmp esi, 0xffff86f4
jne 0x76abc2
mov dword [esp + 0x38], 0
jmp 0x76abe9
test esi, esi
jne 0x76afdc
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x60]
call fcn.007cced0
add esp, 8
add eax, dword [esp + 0x5c]
mov dword [esp + 0x140], eax
push ebp
call fcn.0076c920
mov esi, eax
add esp, 4
test esi, esi
jne 0x76afdc
mov ecx, 1
mov dword [esp + 0x10], ecx
mov eax, ecx
test eax, eax
jne 0x76ac1b
test ecx, ecx
je 0x76af89
lea ebx, [eax + 1]
jmp 0x76ae70
test ecx, ecx
jne 0x76ac24
or ebx, 0xffffffff
jmp 0x76ac53
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x10c]
push eax
push dword [edi + 0x1b0]
push dword [edi + 0x1ac]
push ebx
call fcn.00774e80
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x76ae6e
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x18]
mov edi, dword [edi + 0x1b0]
mov dword [esp + 0x2c], edi
mov edx, dword [edx + 0x1ac]
jne 0x76ace2
mov eax, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
mov dword [esp + 0x98], edi
cmp edi, dword [esp + 0x9c]
jbe 0x76acb6
lea ecx, [esp + 0x94]
push ecx
push edi
push dword [eax + 0x1c]
call fcn.007679f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76afdc
mov eax, dword [esp + 0x98]
mov dword [esp + 0x9c], eax
push edi
push dword [esp + 0x2c]
push dword [esp + 0x9c]
call fcn.0086cdf0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x3c]
push dword [ebp]
call fcn.007680f0
add esp, 0x18
mov esi, eax
jmp 0x76ad75
mov esi, dword [ebp + 0xd8]
mov ecx, dword [esp + 0x44]
movzx eax, word [esi + 0xd4]
cmp eax, ecx
jbe 0x76ad70
mov eax, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x13c], 0x400
mov dword [esp + 0x124], eax
movzx eax, word [esi + 0xd4]
lea esi, [esp + 0x124]
sub eax, ecx
mov dword [esp + 0x128], 0
push esi
mov dword [esp + 0x130], eax
mov eax, dword [ebp]
push edi
push edx
push dword [esp + 0x34]
mov dword [esp + 0x148], 0
mov ecx, dword [eax + 0x12c]
push dword [esp + 0x34]
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x76afdc
mov eax, dword [esp + 0x128]
add dword [esp + 0x44], eax
jmp 0x76ad75
mov esi, 0xffff86e9
test esi, esi
jne 0x76afdc
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1ac]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xb4], edi
cmp edi, dword [esp + 0xb8]
jbe 0x76add4
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esp + 0x20]
push edi
push dword [eax + 0x1c]
call fcn.007679f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76afdc
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
push edi
push eax
push dword [esp + 0xb8]
call fcn.0086cdf0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax + 0x1b0]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xd0], edi
cmp edi, dword [esp + 0xd4]
jbe 0x76ae3c
lea eax, [esp + 0xcc]
push eax
mov eax, dword [esp + 0x20]
push edi
push dword [eax + 0x1c]
call fcn.007679f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x76afdc
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x2c]
push edi
push eax
push dword [esp + 0xd4]
call fcn.0086cdf0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xbc]
mov dword [esp + 0x30], eax
add esp, 0xc
lea eax, [esp + 0xcc]
xor esi, esi
mov dword [esp + 0x28], eax
jmp 0x76af40
je 0x76ae78
mov dword [esp + 0x3c], 0xffff86f4
mov ecx, dword [esp + 0x14]
test ebx, ebx
lea eax, [ecx + 1]
cmove ecx, eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x16c]
mov ebp, ecx
push eax
mov eax, dword [eax]
call eax
xor ecx, ecx
add esp, 0xc
mov edi, eax
test ebx, ebx
mov edx, edi
cmove ecx, dword [esp + 0x10]
neg edx
sbb edx, edx
xor eax, eax
and ecx, edx
test ebx, ebx
mov dword [esp + 0x10], ecx
mov edx, ecx
cmove eax, dword [esp + 0x20]
neg edi
sbb edi, edi
and eax, edi
mov dword [esp + 0x20], eax
mov edi, eax
je 0x76af39
cmp dword [esp + 0x38], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ecx
je 0x76af39
lea eax, [esp + 0x140]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], edi
push eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x18], edx
push eax
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x2c]
call fcn.00774e80
add esp, 0x14
test eax, eax
js 0x76af35
xor ecx, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edi
jmp 0x76af39
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x160]
mov edi, dword [esp + 0x18]
test ebx, ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
jg 0x76ac07
push ebp
call fcn.0076c770
mov esi, eax
add esp, 4
cmp esi, 0xffff86f4
jne 0x76af78
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x30], eax
xor esi, esi
jmp 0x76ac07
test esi, esi
jne 0x76afdc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
jmp 0x76ac07
cmp dword [esp + 0x24], 0
je 0x76afd1
push 0xe
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x9c]
push eax
push ebp
call fcn.0078f6f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x76afdc
mov ecx, dword [esp + 0x168]
test ecx, ecx
je 0x76afbf
mov eax, dword [esp + 0x14]
add dword [ecx], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x20], 0
jne 0x76aa83
push dword [esp + 0x94]
mov ebx, dword [esp + 0xec]
push ebx
call fcn.00767960
push dword [esp + 0x48]
push ebx
call fcn.00767960
push dword [esp + 0xc0]
push ebx
call fcn.00767960
push dword [esp + 0xe4]
push ebx
call fcn.00767960
push dword [esp + 0x98]
push ebx
call fcn.00767960
push dword [esp + 0x84]
push ebx
call fcn.00767960
mov eax, dword [esp + 0x6c]
add esp, 0x30
test esi, esi
cmovne eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret