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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1088
call fcn.00bd0e20
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp + 0x54], edx
movzx ecx, byte [eax + 0x24]
mov dword [esp + 0x34], eax
cmp ecx, 0xd
jg 0xa76189
mov eax, 1
shl eax, cl
test al, 0x1e
jne 0xa76c75
test ah, 0x3e
jne 0xa77700
and eax, 0x1e0
cmp eax, 1
sbb esi, esi
not esi
and esi, 3
cmp eax, 1
sbb eax, eax
not eax
and eax, 7
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x73], 0
jmp 0xa7619a
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov byte [esp + 0x73], 0
mov dword [esp + 0x2c], ecx
mov esi, dword [eax + 0x4888]
mov ecx, dword [eax + 0xa0]
mov dword [esp + 0x64], esi
mov esi, eax
mov eax, 0x20
shl eax, cl
mov dword [esp + 0x50], eax
mov eax, dword [esi]
test eax, 0x40000
jne 0xa76be8
and eax, 0x20400
cmp eax, 1
sbb edi, edi
and edi, 0x10
sub edi, 0x20
cmp eax, 1
sbb esi, esi
and esi, 0xfffffff0
add esi, 0x1f
cmp eax, 1
mov dword [esp + 0x24], esi
sbb esi, esi
and esi, 0xfffffff0
add esi, 0x20
mov dword [esp], 0x2f40
call fcn.00a2dc90
test eax, eax
mov ebp, eax
mov dword [esp + 0x28], eax
je 0xa7768e
mov ecx, 0x2f40
xor ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x4880]
mov ecx, dword [ecx + 0x4884]
mov dword [esp + 0x30], eax
shl eax, 4
mov dword [esp + 0x68], ecx
shl ecx, 4
mov ebx, ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx + 0x40]
and edx, edi
test edx, 0x3ff
lea ecx, [edx + esi]
cmove edx, ecx
cmp dword [esp + 0x5c], 3
jne 0xa76f79
mov ecx, ebp
mov ebp, 2
mov dword [ecx + 0xa0], ebp
mov ebp, ecx
mov dword [ecx + 0xbc], ebx
mov dword [ecx + 0xa4], edx
mov dword [ecx + 0xb0], eax
mov ecx, eax
sar ecx, 1
mov dword [ebp + 0xb4], ecx
movzx ecx, byte [esp + 0x73]
mov dword [ebp + 0xa8], edx
mov edx, 1
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x60]
sar ebx, cl
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0xc0], ebx
mov ebx, dword [esp + 0x2c]
sar eax, 1
mov dword [ecx + 0xcc], eax
sar edx, 1
mov dword [ecx + 0xd0], edx
mov dword [ecx + 0x9c], ebx
mov ebx, dword [esp + 0x24]
lea eax, [ebx + eax + 0x40]
and edi, eax
mov eax, dword [esp + 0x34]
add esi, edi
test edi, 0x7ff
cmove edi, esi
mov dword [ecx + 0xc8], edi
mov eax, dword [eax + 0x70]
cmp eax, 0xffffffff
jl 0xa77817
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x80]
xor ebx, ebx
lea edi, [eax + 2]
xor ebp, ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edi
shl edi, 2
lea edx, [esi*4 + 0x1f]
and edx, 0xffffffe0
mov esi, edx
mov dword [esp + 0x24], edx
lea edx, [eax + eax*8]
inc eax
shl edx, 3
neg edx
lea ecx, [edx - 0x90]
mov edx, esi
mov dword [esp + 0x48], ecx
mov ecx, eax
mov dword [esp + 0x6c], eax
mov eax, esi
xor esi, esi
imul eax, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
add eax, edx
mov dword [esp + 0x4c], eax
lea eax, [edi + 0x1c14]
mov dword [esp + 0x40], eax
lea esi, [esi]
lea edi, [edi]
mov edi, dword [esp + 0x40]
mov eax, 0x1c14
mov ebp, esi
mov ecx, dword [esp + 0x28]
sub eax, esi
neg ebp
mov edx, dword [esp + 0x2c]
sub edi, esi
add eax, ecx
add edi, ecx
mov ecx, dword [esp + 0x30]
jmp 0xa763a0
lea ebx, [eax + esi]
add ecx, 4
mov dword [ebx + ebp], edx
mov ebx, dword [esp + 0x24]
mov dword [ecx - 4], eax
add eax, 4
add edx, ebx
cmp eax, edi
jne 0xa763a0
mov edi, dword [esp + 0x3c]
sub esi, 0x48
add dword [esp + 0x38], edi
mov edi, dword [esp + 0x4c]
add dword [esp + 0x2c], edi
mov edi, dword [esp + 0x44]
add dword [esp + 0x30], edi
cmp esi, dword [esp + 0x48]
jne 0xa76370
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
imul eax, esi
add eax, esi
imul ebx, eax
mov eax, dword [esp + 0x38]
mov esi, ebx
lea edi, [eax + 1]
movzx eax, byte [esp + 0x54]
xor edx, edx
mov ebp, 0xffffffff
cmp dword [esp + 0x5c], 3
mov dword [ecx + 0x2eb0], ebp
mov ebp, 0xffffffff
mov dword [ecx + 0x80], edx
mov edx, 0xffffffff
mov byte [ecx + 0x88], al
mov eax, ecx
mov dword [ecx + 4], 0xffffffff
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x20], 0xffffffff
mov dword [ecx + 0x24], 0xffffffff
mov dword [ecx + 0x64], 0xffffffff
mov dword [ecx + 0x78], 0xffffffff
mov dword [ecx + 0x70], 0xffffffff
mov dword [ecx + 0x74], 0xffffffff
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov ecx, 0xffffffff
mov dword [eax + 0x2ea8], ecx
mov ecx, 0xffffffff
mov dword [eax + 0x2eac], ebp
mov dword [eax + 0x2ea0], edx
mov dword [eax + 0x2ea4], ecx
mov dword [eax + 0xad4], eax
je 0xa76c00
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + 0xa0]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
add eax, eax
test edi, edi
mov edi, dword [esp + 0x28]
setne byte [esp + 0x44]
add edx, eax
movzx ecx, byte [esp + 0x44]
mov dword [esp + 0x3c], eax
mov ebp, dword [edi + 0xa4]
imul edx, ebp
lea eax, [edx + 0x80]
test edx, 0x3fe
cmove edx, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x230]
mov dword [edi + 0x160], esi
test eax, eax
setne al
and al, cl
mov byte [esp + 0x24], al
mov eax, edi
je 0xa76ec2
mov ecx, dword [esp + 0x38]
mov edi, ecx
inc edi
mov ebp, edi
mov dword [esp + 0x2c], edi
mov edi, eax
add eax, 0x160
mov dword [esp + ecx*4 + 0x80], eax
lea eax, [edx*4 + 0x1f]
and eax, 0xffffffe0
test ebx, ebx
mov edx, eax
lea eax, [esi + eax]
mov esi, eax
mov dword [esp + 0x30], eax
jne 0xa77720
cmp dword [esp + 0x58], 1
je 0xa7665e
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0xa8]
add eax, edx
imul eax, ecx
test eax, 0x3ff
lea edx, [eax + 0x80]
cmove eax, edx
cmp byte [esp + 0x24], 0
je 0xa76e5e
mov ebp, dword [esp + 0x2c]
mov edi, esi
mov esi, dword [esp + 0x30]
lea eax, [eax*4 + 0x1f]
and eax, 0xffffffe0
lea edx, [edi + 0x164]
mov ecx, ebp
mov dword [edi + 0x164], esi
inc ecx
add esi, eax
test ebx, ebx
mov dword [esp + ebp*4 + 0x80], edx
mov edx, eax
mov dword [esp + 0x30], esi
jne 0xa777b7
cmp dword [esp + 0x58], 3
jne 0xa76eb9
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov edi, dword [esi + 0xc4]
mov ebp, dword [esi + 0xac]
add eax, edi
imul eax, ebp
test eax, 0x3ff
lea edx, [eax + 0x80]
cmove eax, edx
cmp byte [esp + 0x24], 0
je 0xa76f1e
mov edi, dword [esp + 0x30]
lea eax, [eax*4 + 0x1f]
lea edx, [ecx + 1]
and eax, 0xffffffe0
mov ebp, edx
mov dword [esp + 0x2c], edx
lea edx, [esi + 0x168]
mov dword [esi + 0x168], edi
add edi, eax
test ebx, ebx
mov dword [esp + ecx*4 + 0x80], edx
mov edx, eax
mov dword [esp + 0x30], edi
jne 0xa77792
mov ecx, dword [esp + 0x54]
xor edx, edx
mov edi, dword [esp + 0x28]
test ecx, ecx
mov eax, edi
mov dword [edi + 0xad0], edx
je 0xa770bb
mov ebx, dword [esp + 0x30]
add eax, 0xad8
mov ecx, dword [esp + 0x2c]
lea edx, [edi + 0xadc]
mov ebp, dword [esp + 0x64]
mov dword [eax], ebx
mov dword [esp + ecx*4 + 0x80], eax
mov eax, ebp
add eax, 0x1f
and eax, 0xffffffe0
mov esi, eax
mov eax, ebx
add eax, esi
mov ebx, ecx
mov dword [edi + 0xadc], eax
add eax, esi
mov dword [esp + ecx*4 + 0x84], edx
lea edx, [edi + 0xae0]
mov dword [edi + 0xae0], eax
mov dword [esp + ecx*4 + 0x88], edx
mov ecx, ebp
shl ecx, 6
add eax, ecx
lea edx, [edi + 0xae8]
mov dword [edi + 0xae8], eax
mov dword [esp + ebx*4 + 0x8c], edx
lea edx, [ebp*4 + 0x23]
mov ebp, edi
and edx, 0xffffffe0
add ebx, 5
add eax, edx
mov dword [edi + 0x1114], eax
lea edx, [edi + 0x1114]
mov edi, dword [esp + 0x2c]
mov dword [esp + edi*4 + 0x90], edx
mov edx, dword [esp + 0x64]
lea edx, [edx*4 + 0x1f]
and edx, 0xffffffe0
mov edi, edx
lea edx, [eax + edx]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x70]
test eax, eax
je 0xa776af
mov dword [ebp + 0xae4], edx
add edx, ecx
mov ecx, dword [esp + 0x2c]
mov eax, ebp
add eax, 0xae4
mov dword [ebp + 0x1118], edx
add edx, edi
mov edi, dword [esp + 0x28]
mov dword [esp + ebx*4 + 0x80], eax
mov eax, ebp
mov ebx, ecx
add eax, 0x1118
add ebx, 7
mov dword [esp + ecx*4 + 0x98], eax
mov eax, edi
add eax, 0x2128
mov dword [esp + ebx*4 + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x2128], edx
lea eax, [eax*4 + 0x1f]
and eax, 0xffffffe0
mov ecx, eax
lea eax, [edx + eax]
lea edx, [edi + 0x212c]
mov dword [esp + ebx*4 + 0x84], edx
lea edx, [ebx + 3]
mov dword [edi + 0x212c], eax
mov ebp, edx
add eax, ecx
mov dword [esp + 0x2c], edx
lea edx, [edi + 0x2130]
mov dword [edi + 0x2130], eax
mov dword [esp + ebx*4 + 0x88], edx
lea edx, [ecx + eax]
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x220], 2
jle 0xa76816
lea eax, [edi + 0x16c]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x16c], edx
mov dword [esp + ebp*4 + 0x80], eax
mov ebp, dword [edi + 0xbc]
mov eax, dword [edi + 0xa4]
mov edi, dword [esp + 0x34]
add ecx, ebp
imul eax, ecx
mov ecx, dword [edi + 0x3b34]
add eax, eax
shl eax, cl
add eax, 0x1f
and eax, 0xffffffe0
add edx, eax
lea eax, [ebx + 4]
mov dword [esp + 0x2c], eax
mov eax, edi
mov ecx, dword [eax + 0xa0]
test ecx, ecx
je 0xa76847
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [eax + 0xb74], edx
add eax, 0xb74
add edx, esi
mov dword [esp + edi*4 + 0x80], eax
lea eax, [edi + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x258]
test eax, eax
je 0xa76874
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [eax + 0xb78], edx
add eax, 0xb78
add edx, esi
mov dword [esp + edi*4 + 0x80], eax
lea eax, [edi + 1]
mov dword [esp + 0x2c], eax
mov dword [esp], edx
call fcn.00a2dc90
mov esi, dword [esp + 0x28]
test eax, eax
mov dword [esi], eax
je 0xa7768e
mov esi, dword [esp + 0x2c]
lea ebx, [esp + 0x7c]
lea edx, [esp + esi*4 + 0x7c]
mov esi, dword [esp + 0x28]
jmp 0xa768a2
mov eax, dword [esi]
mov ecx, dword [edx]
sub edx, 4
add dword [ecx], eax
cmp ebx, edx
jne 0xa768a0
cmp dword [esp + 0x5c], 3
jne 0xa768f9
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
movzx ecx, byte [esp + 0x73]
mov edi, dword [esp + 0x34]
mov ebp, dword [esi + 0xa8]
mov edx, dword [esi + 0x164]
sar eax, cl
imul eax, ebp
add eax, 0x20
add edx, eax
mov dword [esi + 0xd8], edx
mov edx, dword [edi + 0xa0]
test edx, edx
je 0xa768f9
mov edi, dword [esi + 0x174]
add eax, edi
mov dword [esi + 0xe4], eax
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ebx, dword [edi + 0xbc]
mov eax, dword [edi + 0xa4]
lea ecx, [esi + ebx]
mov esi, dword [esp + 0x34]
imul ecx, eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esi + 0x230]
lea edx, [ecx + 0x80]
test ecx, 0x3ff
cmove ecx, edx
test ebx, ebx
movzx ebx, byte [esp + 0x44]
setne dl
and bl, dl
je 0xa76c95
mov ebp, dword [esp + 0x50]
mov esi, edi
mov edi, dword [edi + 0x160]
imul eax, ebp
mov ebp, dword [esi + 0x170]
add eax, 0x20
lea edx, [edi + eax]
mov dword [esp + 0x30], edx
mov dword [esi + 0xec], edx
lea edx, [ebp + eax]
add eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esi + 0x11c], edx
lea edx, [edi + eax]
mov dword [esi + 0xf0], edx
lea edx, [ebp + eax]
add eax, ecx
mov dword [esi + 0x120], edx
lea edx, [edi + eax]
mov dword [esi + 0xf4], edx
lea edx, [ebp + eax]
add eax, ecx
mov dword [esi + 0x124], edx
lea edx, [edi + eax]
add eax, ebp
mov dword [esi + 0xf8], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x128], eax
mov dword [esi + 0xd4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xe0], edx
cmp dword [esp + 0x58], 1
je 0xa76b3a
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov esi, dword [edi + 0xc0]
mov eax, dword [edi + 0xa8]
add edx, esi
imul edx, eax
test edx, 0x3ff
lea ecx, [edx + 0x80]
cmove edx, ecx
test bl, bl
je 0xa76e27
mov ebp, dword [esp + 0x50]
mov esi, edi
mov edi, dword [edi + 0x164]
imul eax, ebp
mov ebp, dword [esi + 0x174]
add eax, 0x20
lea ecx, [edi + eax]
mov dword [esp + 0x2c], ecx
mov dword [esi + 0xfc], ecx
lea ecx, [ebp + eax]
add eax, edx
mov dword [esp + 0x30], ecx
mov dword [esi + 0x12c], ecx
lea ecx, [edi + eax]
mov dword [esi + 0x100], ecx
lea ecx, [ebp + eax]
add eax, edx
mov dword [esi + 0x130], ecx
lea ecx, [edi + eax]
mov dword [esi + 0x104], ecx
lea ecx, [ebp + eax]
add eax, edx
mov dword [esi + 0x134], ecx
mov ecx, dword [esp + 0x2c]
lea edx, [edi + eax]
add eax, ebp
mov dword [esi + 0x108], edx
mov dword [esi + 0x138], eax
mov dword [esi + 0xd8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xe4], ecx
cmp dword [esp + 0x58], 3
jne 0xa76b3a
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov esi, dword [edi + 0xc4]
mov edx, dword [edi + 0xac]
add eax, esi
imul eax, edx
test eax, 0x3ff
lea ecx, [eax + 0x80]
cmove eax, ecx
test bl, bl
je 0xa76ccc
mov ecx, dword [esp + 0x50]
mov ebx, dword [edi + 0x168]
imul edx, ecx
add edx, 0x20
lea esi, [ebx + edx]
mov dword [edi + 0x10c], esi
mov dword [esp + 0x2c], esi
mov esi, edi
mov edi, dword [edi + 0x178]
lea ecx, [edi + edx]
add edx, eax
mov ebp, ecx
lea ecx, [ebx + edx]
mov dword [esi + 0x110], ecx
lea ecx, [edi + edx]
add edx, eax
add eax, edx
mov dword [esi + 0x140], ecx
lea ecx, [ebx + edx]
mov dword [esi + 0x114], ecx
lea ecx, [edi + edx]
lea edx, [ebx + eax]
add eax, edi
mov dword [esi + 0x148], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x144], ecx
mov dword [esi + 0x118], edx
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe8], ebp
mov ebp, dword [esp + 0x54]
test ebp, ebp
je 0xa76d0a
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0xae8]
mov dword [eax], 0
mov eax, esi
add dword [esi + 0xae8], 4
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x220], 2
jle 0xa76b8b
mov edi, dword [eax + 0xa4]
mov esi, eax
mov edx, dword [esp + 0x50]
mov eax, dword [eax + 0x16c]
imul edx, edi
lea eax, [eax + edx*2 + 0x40]
mov dword [esi + 0x15c], eax
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, esi
add eax, 0x2ebc
mov dword [esp], eax
call fcn.00a4cdb0
test eax, eax
jne 0xa7768e
mov eax, esi
xor edx, edx
add eax, 0x2ed4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a4cea0
test eax, eax
jne 0xa7768e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x9498]
mov dword [esi + 0x2f08], eax
mov eax, dword [esp + 0x28]
add esp, 0x108c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0x3f
mov edi, 0xffffffc0
mov dword [esp + 0x24], esi
mov esi, 0x40
jmp 0xa761ee
movzx ecx, byte [esp + 0x73]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
sar edx, cl
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xc0]
mov dword [ecx + 0x164], ebx
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0xa8]
imul eax, edx
lea edx, [ecx + 0x164]
mov dword [esp + ebp*4 + 0x80], edx
lea edx, [eax + 0x1f]
mov eax, dword [esp + 0x34]
and edx, 0xffffffe0
add esi, edx
mov ebx, dword [eax + 0xa0]
test ebx, ebx
je 0xa776ca
mov eax, ebp
add eax, 2
mov dword [esp + 0x38], eax
lea eax, [ecx + 0x174]
mov dword [ecx + 0x174], esi
add esi, edx
mov dword [esp + edi*4 + 0x80], eax
jmp 0xa764d9
mov eax, 3
mov dword [esp + 0x5c], eax
mov eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x73], 1
jmp 0xa7619a
mov edx, dword [esp + 0x50]
mov ecx, dword [edi + 0x170]
imul eax, edx
mov edx, dword [edi + 0x160]
add eax, 0x20
add edx, eax
add eax, ecx
mov dword [edi + 0xd4], edx
mov dword [edi + 0xec], edx
mov dword [edi + 0xe0], eax
mov dword [edi + 0x11c], eax
jmp 0xa769c6
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
imul edx, eax
lea eax, [edx + 0x20]
mov edx, dword [edi + 0x168]
add edx, eax
mov dword [edi + 0xdc], edx
mov dword [edi + 0x10c], edx
mov edx, dword [edi + 0x178]
add eax, edx
test ebp, ebp
mov dword [edi + 0xe8], eax
mov dword [edi + 0x13c], eax
jne 0xa76b46
mov ebp, dword [esp + 0x34]
mov esi, dword [ebp + 0x3b30]
test esi, esi
je 0xa76b8b
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, esi
mov edx, dword [edi + 0xc8]
shr eax, 0x1f
add eax, esi
sar eax, 1
add eax, 0x40
imul eax, edx
test eax, 0x3ff
lea ecx, [eax + 0x80]
cmove eax, ecx
mov ecx, dword [edi + 0x180]
shl edx, 5
add edx, 0x20
lea esi, [eax + eax]
lea ebx, [ecx + edx]
mov dword [edi + 0x14c], ebx
lea ebx, [eax + edx]
add eax, esi
add ebx, ecx
mov dword [edi + 0x150], ebx
lea ebx, [esi + edx]
add edx, eax
add ebx, ecx
add edx, ecx
mov ecx, dword [ebp + 0x70]
mov dword [edi + 0x154], ebx
mov esi, edi
xor eax, eax
mov dword [edi + 0x158], edx
mov edi, ebp
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov ebp, edi
lea esi, [esi]
lea edi, [edi]
xor ebx, ebx
test ecx, ecx
jns 0xa76ddf
jmp 0xa76fe0
test dl, 4
je 0xa76dbe
mov dword [edi], 0
add edi, 4
test dl, 2
je 0xa76dcb
mov word [edi], 0
add edi, 2
test dl, 1
je 0xa76dd3
mov byte [edi], 0
mov ecx, dword [ebp + 0x70]
inc ebx
cmp ecx, ebx
jl 0xa76fe0
mov edi, dword [ebp + 0x4888]
mov ecx, dword [esi + ebx*4 + 0xaec]
lea edx, [edi*4]
cmp edx, 8
mov edi, ecx
jb 0xa76db0
test cl, 1
jne 0xa770b1
test edi, 2
jne 0xa770a1
test edi, 4
jne 0xa77090
mov ecx, edx
and edx, 3
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0xa76db0
mov edx, dword [esp + 0x50]
mov ecx, dword [edi + 0x174]
imul eax, edx
mov edx, dword [edi + 0x164]
add eax, 0x20
add edx, eax
add eax, ecx
mov dword [edi + 0xd8], edx
mov dword [edi + 0xfc], edx
mov dword [edi + 0xe4], eax
mov dword [edi + 0x12c], eax
jmp 0xa76a85
mov ebp, dword [esp + 0x2c]
add eax, 0x1f
mov edi, dword [esp + 0x30]
and eax, 0xffffffe0
lea edx, [esi + 0x164]
mov ecx, ebp
mov dword [esi + 0x164], edi
inc ecx
add edi, eax
test ebx, ebx
mov dword [esp + ebp*4 + 0x80], edx
mov dword [esp + 0x30], edi
je 0xa765e7
lea edx, [esi + 0x174]
mov dword [esi + 0x174], edi
add edi, eax
mov dword [esp + ecx*4 + 0x80], edx
mov ecx, ebp
add ecx, 2
cmp dword [esp + 0x58], 3
mov dword [esp + 0x30], edi
je 0xa765f2
mov dword [esp + 0x2c], ecx
jmp 0xa7665e
mov ebp, dword [esp + 0x38]
mov edi, ebp
inc edi
mov dword [esp + 0x2c], edi
mov edi, eax
add eax, 0x160
mov dword [esp + ebp*4 + 0x80], eax
lea eax, [edx + 0x1f]
and eax, 0xffffffe0
add esi, eax
test ebx, ebx
mov ecx, esi
mov dword [esp + 0x30], esi
je 0xa76570
mov esi, edi
mov dword [esi + 0x170], ecx
lea edx, [esi + 0x170]
mov esi, dword [esp + 0x2c]
mov dword [esp + esi*4 + 0x80], edx
mov esi, ecx
add esi, eax
lea eax, [ebp + 2]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
jmp 0xa76570
mov edi, esi
mov esi, dword [esp + 0x30]
add eax, 0x1f
lea edx, [ecx + 1]
and eax, 0xffffffe0
mov ebp, edx
mov dword [esp + 0x2c], edx
lea edx, [edi + 0x168]
mov dword [edi + 0x168], esi
add esi, eax
test ebx, ebx
mov dword [esp + ecx*4 + 0x80], edx
mov dword [esp + 0x30], esi
je 0xa7665e
mov dword [edi + 0x178], esi
lea edx, [edi + 0x178]
add esi, eax
lea eax, [ecx + 2]
mov dword [esp + ebp*4 + 0x80], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
jmp 0xa7665e
cmp dword [esp + 0x2c], 9
jne 0xa7768e
mov ecx, dword [esp + 0x28]
mov ebp, 3
mov dword [ecx + 0xa4], edx
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], edx
mov edx, 3
mov dword [esp + 0x58], edx
mov edx, ebx
mov dword [ecx + 0xa0], ebp
mov dword [ecx + 0xb0], eax
mov dword [ecx + 0xbc], ebx
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0xc0], ebx
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xc4], ebx
jmp 0xa762b3
inc dword [esp + 0x24]
xor edx, edx
add esi, 0x44
test ecx, ecx
setne dl
mov edi, dword [esp + 0x24]
cmp edx, edi
jge 0xa76da0
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0xb7c]
mov dword [eax + 0x2140], edi
mov eax, dword [esp + 0x64]
lea edx, [eax + eax + 6]
cmp edx, 8
jae 0xa777da
test dl, 4
jne 0xa7777e
test dl, 2
jne 0xa7776b
test dl, 1
jne 0xa77751
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + 0x2ac]
test ebx, ebx
je 0xa76b8b
mov eax, dword [eax + 0x4888]
lea edx, [eax + eax + 6]
mov eax, dword [esp + 0x28]
cmp edx, 8
mov edi, dword [eax + 0x2148]
jae 0xa77846
test dl, 4
jne 0xa77838
test dl, 2
jne 0xa7782b
test dl, 1
je 0xa76b8b
mov byte [edi], 0
jmp 0xa76b8b
mov dword [edi], 0
sub edx, 4
add edi, 4
jmp 0xa76e1b
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0xa76e0f
mov byte [ecx], 0
inc edi
dec edx
jmp 0xa76e03
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x3b30]
test eax, eax
mov dword [esp + 0x78], eax
je 0xa775f9
mov edx, dword [edi + 0xbc]
mov ebp, dword [edi + 0xc8]
mov esi, dword [esp + 0x30]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
add eax, 0x40
imul eax, ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x180], esi
mov edx, eax
test edx, 0x3ff
lea eax, [eax + 0x80]
cmove edx, eax
mov eax, edi
mov edi, eax
add eax, 0x180
mov dword [esp + ebp*4 + 0x80], eax
lea eax, [edx*4 + 0x1f]
and eax, 0xffffffe0
add esi, eax
mov eax, dword [ecx + 0x70]
lea edx, [edi + 0xaf0]
mov dword [esp + 0x2c], esi
lea ebx, [ebp + 1]
mov ecx, eax
test ecx, ecx
mov esi, ecx
mov dword [esp + 0x74], eax
setne al
movzx eax, al
add eax, 2
mov dword [esp + 0x38], eax
lea edi, [ecx + ecx]
mov eax, 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], eax
nop
test esi, esi
js 0xa774b0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + 0x4888]
mov dword [edx - 4], edi
lea ecx, [eax*4 + 0x1f]
lea eax, [edx - 4]
and ecx, 0xffffffe0
mov dword [esp + ebx*4 + 0x80], eax
mov eax, edi
add eax, ecx
lea edi, [ebx + 2]
mov dword [edx + 0x59c], eax
mov ebp, edi
add eax, ecx
mov dword [esp + 0x30], edi
test esi, esi
lea edi, [edx + 0x59c]
mov dword [esp + ebx*4 + 0x84], edi
je 0xa77499
mov dword [edx], eax
add eax, ecx
mov dword [esp + ebp*4 + 0x80], edx
lea ebp, [edx + 0x5a0]
mov dword [edx + 0x5a0], eax
add eax, ecx
cmp esi, 1
lea edi, [ebx + 4]
mov dword [esp + ebx*4 + 0x8c], ebp
je 0xa77499
mov dword [edx + 4], eax
lea ebp, [edx + 4]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5a4]
mov dword [edx + 0x5a4], eax
add eax, ecx
cmp esi, 2
lea edi, [ebx + 6]
mov dword [esp + ebx*4 + 0x94], ebp
je 0xa77499
mov dword [edx + 8], eax
lea ebp, [edx + 8]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5a8]
mov dword [edx + 0x5a8], eax
add eax, ecx
cmp esi, 3
lea edi, [ebx + 8]
mov dword [esp + ebx*4 + 0x9c], ebp
je 0xa77499
mov dword [edx + 0xc], eax
lea ebp, [edx + 0xc]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5ac]
mov dword [edx + 0x5ac], eax
add eax, ecx
cmp esi, 4
lea edi, [ebx + 0xa]
mov dword [esp + ebx*4 + 0xa4], ebp
je 0xa77499
mov dword [edx + 0x10], eax
lea ebp, [edx + 0x10]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5b0]
mov dword [edx + 0x5b0], eax
add eax, ecx
cmp esi, 5
lea edi, [ebx + 0xc]
mov dword [esp + ebx*4 + 0xac], ebp
je 0xa77499
mov dword [edx + 0x14], eax
lea ebp, [edx + 0x14]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5b4]
mov dword [edx + 0x5b4], eax
add eax, ecx
cmp esi, 6
lea edi, [ebx + 0xe]
mov dword [esp + ebx*4 + 0xb4], ebp
je 0xa77499
mov dword [edx + 0x18], eax
lea ebp, [edx + 0x18]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5b8]
mov dword [edx + 0x5b8], eax
add eax, ecx
cmp esi, 7
lea edi, [ebx + 0x10]
mov dword [esp + ebx*4 + 0xbc], ebp
je 0xa77499
mov dword [edx + 0x1c], eax
lea ebp, [edx + 0x1c]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5bc]
mov dword [edx + 0x5bc], eax
add eax, ecx
cmp esi, 8
lea edi, [ebx + 0x12]
mov dword [esp + ebx*4 + 0xc4], ebp
je 0xa77499
mov dword [edx + 0x20], eax
lea ebp, [edx + 0x20]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5c0]
mov dword [edx + 0x5c0], eax
add eax, ecx
cmp esi, 9
lea edi, [ebx + 0x14]
mov dword [esp + ebx*4 + 0xcc], ebp
je 0xa77499
mov dword [edx + 0x24], eax
lea ebp, [edx + 0x24]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5c4]
mov dword [edx + 0x5c4], eax
add eax, ecx
cmp esi, 0xa
lea edi, [ebx + 0x16]
mov dword [esp + ebx*4 + 0xd4], ebp
je 0xa77499
mov dword [edx + 0x28], eax
lea ebp, [edx + 0x28]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5c8]
mov dword [edx + 0x5c8], eax
add eax, ecx
cmp esi, 0xb
lea edi, [ebx + 0x18]
mov dword [esp + ebx*4 + 0xdc], ebp
je 0xa77499
mov dword [edx + 0x2c], eax
lea ebp, [edx + 0x2c]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5cc]
mov dword [edx + 0x5cc], eax
add eax, ecx
cmp esi, 0xc
lea edi, [ebx + 0x1a]
mov dword [esp + ebx*4 + 0xe4], ebp
je 0xa77499
mov dword [edx + 0x30], eax
lea ebp, [edx + 0x30]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5d0]
mov dword [edx + 0x5d0], eax
add eax, ecx
cmp esi, 0xd
lea edi, [ebx + 0x1c]
mov dword [esp + ebx*4 + 0xec], ebp
je 0xa77499
mov dword [edx + 0x34], eax
lea ebp, [edx + 0x34]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5d4]
mov dword [edx + 0x5d4], eax
add eax, ecx
cmp esi, 0xe
lea edi, [ebx + 0x1e]
mov dword [esp + ebx*4 + 0xf4], ebp
je 0xa77499
mov dword [edx + 0x38], eax
lea ebp, [edx + 0x38]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
lea ebp, [edx + 0x5d8]
mov dword [edx + 0x5d8], eax
add eax, ecx
cmp esi, 0xf
lea edi, [ebx + 0x20]
mov dword [esp + ebx*4 + 0xfc], ebp
je 0xa77499
mov dword [edx + 0x3c], eax
lea ebp, [edx + 0x3c]
add eax, ecx
mov dword [esp + edi*4 + 0x80], ebp
mov dword [edx + 0x5dc], eax
lea eax, [edx + 0x5dc]
mov dword [esp + ebx*4 + 0x104], eax
add ecx, ecx
mov eax, esi
mov ebx, dword [esp + 0x30]
imul eax, ecx
mov edi, dword [esp + 0x40]
add ecx, eax
add ebx, edi
add dword [esp + 0x2c], ecx
inc dword [esp + 0x24]
add edx, 0x44
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x38]
jne 0xa77160
mov esi, dword [esp + 0x2c]
lea edi, [ebx + 1]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
mov dword [eax + 0x2144], esi
add eax, 0x2144
mov dword [esp + ebx*4 + 0x80], eax
mov eax, dword [esp + 0x64]
lea edx, [eax + eax + 0xe]
lea eax, [edx + 0x1f]
and eax, 0xffffffe0
add eax, esi
cmp dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x30], eax
jl 0xa775f5
lea eax, [edx + 0x17]
and eax, 0xffffffe0
mov esi, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
lea edi, [eax + 2]
mov dword [esp + 0x48], edi
shl edi, 2
mov ecx, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x2c]
lea edi, [esp + edi*4 + 0x80]
mov dword [esp + 0x38], edi
mov edi, eax
lea eax, [eax + eax*8]
shl eax, 3
neg eax
sub eax, 0x90
mov dword [esp + 0x60], eax
mov eax, edi
inc eax
mov edi, eax
imul edi, esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
add edi, esi
xor esi, esi
mov dword [esp + 0x40], eax
lea eax, [ecx + 0xb7c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x6c], eax
lea esi, [esi]
mov edi, dword [esp + 0x6c]
mov eax, 0xb7c
mov ebp, esi
mov ecx, dword [esp + 0x28]
sub eax, esi
neg ebp
mov edx, dword [esp + 0x40]
sub edi, esi
add eax, ecx
add edi, ecx
mov ecx, dword [esp + 0x38]
jmp 0xa775a0
lea ebx, [eax + esi]
add ecx, 4
mov dword [ebx + ebp], edx
mov ebx, dword [esp + 0x24]
mov dword [ecx - 4], eax
add eax, 4
add edx, ebx
cmp edi, eax
jne 0xa775a0
mov edi, dword [esp + 0x48]
sub esi, 0x48
add dword [esp + 0x2c], edi
mov edi, dword [esp + 0x4c]
add dword [esp + 0x40], edi
mov edi, dword [esp + 0x68]
add dword [esp + 0x38], edi
cmp dword [esp + 0x60], esi
jne 0xa77570
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
add eax, 3
imul eax, ebp
imul eax, esi
add eax, esi
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + 0x2ac]
test edi, edi
je 0xa776d3
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x4888]
mov eax, edi
mov dword [eax + 0x2134], edx
add eax, 0x2134
mov dword [esp + ebp*4 + 0x80], eax
lea ebx, [ebp + 2]
lea eax, [ecx*4 + 0x1f]
and eax, 0xffffffe0
mov esi, eax
mov eax, edi
lea edx, [edx + esi]
mov dword [edi + 0x2138], edx
add edx, esi
mov esi, dword [esp + 0x78]
mov edi, eax
add eax, 0x2138
mov dword [esp + ebp*4 + 0x84], eax
test esi, esi
je 0xa77748
mov eax, edi
mov esi, ebp
add eax, 0x2148
add esi, 3
mov dword [esp + ebx*4 + 0x80], eax
lea eax, [ecx + ecx + 0x25]
and eax, 0xffffffe0
mov dword [edi + 0x2148], edx
add edx, eax
mov dword [esp + 0x2c], esi
jmp 0xa76874
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00a2dcf0
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add esp, 0x108c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
xor edi, edi
xor ecx, ecx
mov dword [eax + 0x1118], edi
mov edi, eax
mov dword [eax + 0xae4], ecx
jmp 0xa76767
mov dword [esp + 0x38], edi
jmp 0xa764d9
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00a2dc90
mov esi, dword [esp + 0x28]
test eax, eax
mov dword [esi], eax
je 0xa7768e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0xa7688a
jmp 0xa768ad
mov edi, 9
mov ebp, 9
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], edi
mov byte [esp + 0x73], 0
mov dword [esp + 0x2c], ebp
jmp 0xa7619a
mov eax, edi
add eax, 0x170
mov dword [edi + 0x170], esi
mov dword [esp + ebp*4 + 0x80], eax
mov eax, esi
add eax, edx
mov dword [esp + 0x30], eax
lea eax, [ecx + 2]
mov dword [esp + 0x2c], eax
jmp 0xa76570
mov dword [esp + 0x2c], ebx
jmp 0xa76874
mov byte [edi], 0xff
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + 0x2ac]
test ebx, ebx
je 0xa76b8b
jmp 0xa77048
mov word [edi], 0xffff
add edi, 2
test dl, 1
je 0xa77036
jmp 0xa77751
mov dword [edi], 0xffffffff
add edi, 4
test dl, 2
je 0xa7702d
jmp 0xa7776b
lea eax, [esi + 0x178]
mov dword [esi + 0x178], edi
add edi, edx
mov dword [esp + ebp*4 + 0x80], eax
lea eax, [ecx + 2]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], eax
jmp 0xa7665e
lea eax, [edi + 0x174]
mov dword [edi + 0x174], esi
add esi, edx
mov dword [esp + ecx*4 + 0x80], eax
mov ecx, ebp
mov dword [esp + 0x30], esi
add ecx, 2
jmp 0xa765e7
test edi, 1
jne 0xa77890
test edi, 2
jne 0xa77880
test edi, 4
jne 0xa7786f
mov ecx, edx
and edx, 3
shr ecx, 2
mov eax, 0xffffffff
test dl, 4
rep stosd dword es:[edi], eax
je 0xa77024
jmp 0xa7777e
xor ebp, ebp
mov edi, 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x38], ebp
jmp 0xa763fb
mov word [edi], 0
add edi, 2
jmp 0xa77077
mov dword [edi], 0
add edi, 4
jmp 0xa7706e
test edi, 1
jne 0xa778b5
test edi, 2
jne 0xa778a8
test edi, 4
jne 0xa7789a
mov ecx, edx
xor eax, eax
shr ecx, 2
and edx, 3
rep stosd dword es:[edi], eax
jmp 0xa77065
mov dword [edi], 0xffffffff
sub edx, 4
add edi, 4
jmp 0xa777fa
mov word [edi], 0xffff
sub edx, 2
add edi, 2
jmp 0xa777f2
mov byte [edi], 0xff
dec edx
inc edi
jmp 0xa777e6
mov dword [edi], 0
sub edx, 4
add edi, 4
jmp 0xa7785e
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0xa77856
mov byte [edi], 0
dec edx
inc edi
jmp 0xa7784e