Function at 0x776ae8
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov dword [esp + 0x1c], esi
push 0x100
mov dword [esi], 0x100b56c0
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0xff
call fcn.008203a0
add esp, 8
mov dword [edi], eax
mov dword [edi + 4], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0x10000
mov byte [eax], 0
push 0x100cd400
mov dword [esp + 0x2c], 0x100b56c4
mov dword [esp + 0x30], 0x20000
mov dword [esp + 0x34], 0x100b56cc
mov dword [esp + 0x38], 0x100000
mov dword [esp + 0x3c], 0x100b56dc
mov dword [esp + 0x40], 0x40000
mov dword [esp + 0x44], 0x100b56e8
mov dword [esp + 0x48], 0x80000
mov dword [esp + 0x4c], 0x100b56f4
mov dword [esp + 0x50], 0x80000000
mov dword [esp + 0x54], 0x100b5700
mov dword [esp + 0x58], 0x40000000
mov dword [esp + 0x5c], 0x100b5710
mov dword [esp + 0x60], 0x20000000
mov dword [esp + 0x64], 0x100b5720
mov dword [esp + 0x68], 0x10000000
mov dword [esp + 0x6c], 0x100b5730
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 0x100b573c
mov dword [esp + 0x78], 0x80
mov dword [esp + 0x7c], 0x100b574c
mov dword [esp + 0x80], 8
mov dword [esp + 0x84], 0x100b5764
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], 0x100b5774
mov dword [esp + 0x90], 0x100
mov dword [esp + 0x94], 0x100b5784
mov dword [esp + 0x98], 0x10
mov dword [esp + 0x9c], 0x100b579c
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 0x100b57ac
mov dword [esp + 0xa8], 0x20
mov dword [esp + 0xac], 0x100b57c0
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0x100b57d0
mov dword [esp + 0xb8], 0x20
mov dword [esp + 0xbc], 0x100b57e4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.007786e0
mov ebx, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.007786e0
test ebx, ebx
je 0x776cc7
push ebx
call fcn.00820320
add esp, 4
mov ebp, dword [esp + 0x128]
xor ebx, ebx
mov eax, dword [esp + ebx*8 + 0x24]
test ebp, eax
je 0x776d60
not eax
and ebp, eax
cmp dword [esi + 8], 0
mov dword [esp + 0x128], ebp
je 0x776cf9
push 0x100b57f4
mov ecx, edi
call fcn.007784f0
mov ebp, dword [esp + ebx*8 + 0x28]
test ebp, ebp
je 0x776d59
mov ecx, dword [edi + 4]
xor esi, esi
cmp byte [ebp], 0
mov eax, ebp
mov dword [esp + 0x20], ecx
je 0x776d1b
lea eax, [eax + 1]
inc esi
cmp byte [eax], 0
jne 0x776d12
lea eax, [esi + ecx]
cmp eax, dword [edi + 8]
jb 0x776d40
add eax, 0xff
mov dword [edi + 8], eax
inc eax
push eax
push dword [edi]
call fcn.008203a0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [edi], eax
lea eax, [esi + ecx]
mov dword [edi + 4], eax
lea eax, [esi + 1]
push eax
mov eax, dword [edi]
add eax, ecx
push ebp
push eax
call fcn.00792850
mov esi, dword [esp + 0x28]
add esp, 0xc
mov ebp, dword [esp + 0x128]
inc ebx
cmp ebx, 0x13
jb 0x776cd0
cmp dword [esi + 8], 0
jne 0x776dbe
push 0x100b57f8
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.007786e0
mov ebx, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.007786e0
test ebx, ebx
je 0x776df4
push ebx
call fcn.00820320
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4
test ebp, ebp
je 0x776df4
push ebp
lea eax, [esp + 0x28]
push 0x100b56b8
push eax
call dword [0x100b531c]
add esp, 0xc
cmp dword [esi + 8], 0
je 0x776de8
push 0x100b57f4
mov ecx, edi
call fcn.007784f0
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.007784f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4