Function at 0x7786f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78557b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x65c
mov eax, dword [0x77353c]
push esi
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x65c], eax
call fcn.0077b940
mov eax, dword [0x785748]
push 0x48
push eax
lea ecx, [esp + 0x5f8]
mov dword [esp + 0x674], 0
call fcn.0077b8f0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], edx
call fcn.0077b960
mov edx, dword [0x78574c]
push 0x30
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0077b9a0
mov edi, dword [0x78574c]
mov ecx, 0xc
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x78574c]
mov edx, dword [ecx + 0x14]
mov eax, 0x773d48
cmp edx, dword [eax]
lea ecx, [esp + 0x58]
jne 0x778a9a
mov al, 0x23
mov byte [esp + 0xc], al
mov byte [esp + 0xe], al
lea eax, [esp + 8]
push eax
mov byte [esp + 0xc], 0x34
mov byte [esp + 0xd], 0x45
mov byte [esp + 0xe], 0x76
mov byte [esp + 0xf], 0x87
mov byte [esp + 0x11], 0xc6
mov byte [esp + 0x13], 0x74
mov byte [esp + 0x14], 0x88
mov byte [esp + 0x15], 0x79
mov byte [esp + 0x16], 0x19
mov byte [esp + 0x17], 8
mov byte [esp + 0x18], 0x75
mov byte [esp + 0x19], 0xf4
mov byte [esp + 0x1a], 0xd3
mov byte [esp + 0x1b], 0
call fcn.0077b960
mov ecx, dword [0x78574c]
push 8
add ecx, 0x18
push 0x785740
push ecx
lea ecx, [esp + 0x64]
call fcn.0077b9a0
mov dx, word [0x785740]
xor eax, eax
mov dword [esp + 0x1d8], 0
mov ecx, 0x104
lea edi, [esp + 0x1dc]
rep stosd dword es:[edi], eax
mov ax, word [0x785742]
lea ecx, [esp + 0x1d8]
push ecx
mov word [esp + 0x1e8], dx
mov word [esp + 0x1ea], ax
call fcn.00779e20
add esp, 4
test eax, eax
je 0x778881
mov dword [0x7857b8], 0x773d3c
jmp 0x778a96
lea edx, [esp + 0x1d8]
push edx
call fcn.0077a0b0
add esp, 4
test eax, eax
je 0x7788a4
mov dword [0x7857b8], 0x773d30
jmp 0x778a96
mov edx, dword [0x78574c]
mov eax, dword [edx + 2]
test eax, eax
je 0x7788d1
cmp dword [esp + 0x1dc], eax
je 0x7788d1
lea eax, [esp + 0x1d8]
mov dword [0x7857b8], 0x773d24
push eax
jmp 0x778a8e
mov al, byte [edx + 0xe]
cmp al, 0x40
jae 0x778938
movzx cx, al
lea edx, [esp + 0x1d8]
push edx
mov word [esp + 0x1e8], cx
call fcn.0077a370
add esp, 4
cmp word [esp + 0x1e6], 0
jne 0x778916
lea eax, [esp + 0x1d8]
mov dword [0x7857b8], 0x773d14
push eax
jmp 0x778a8e
mov edx, dword [0x78574c]
cmp byte [edx + 0xf], 1
jne 0x778938
lea ecx, [esp + 0x1d8]
push ecx
call fcn.0077a460
mov edx, dword [0x78574c]
add esp, 4
mov eax, dword [edx + 6]
test eax, eax
jne 0x778946
mov eax, dword [edx + 0xa]
test eax, eax
je 0x778977
lea edx, [esp + 0x1d8]
push edx
call fcn.0077a280
mov edx, dword [0x78574c]
mov eax, dword [esp + 0x1e4]
mov ecx, dword [edx + 6]
add esp, 4
cmp eax, ecx
jb 0x778a7c
cmp eax, dword [edx + 0xa]
ja 0x778a7c
xor eax, eax
mov ecx, 0x12
mov edi, 0x785770
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x18]
mov dword [0x7857a0], eax
mov ecx, dword [edx + 0x1c]
mov dword [0x7857a4], ecx
mov ax, word [edx + 0xe]
mov word [0x78577e], ax
mov ecx, dword [edx + 0x10]
mov dword [0x785780], ecx
mov eax, dword [edx + 0x14]
mov ecx, dword [0x785748]
mov dword [0x78579c], eax
mov ax, word [ecx + 0x1a]
mov word [0x785770], ax
mov ecx, dword [edx + 2]
mov dword [0x785772], ecx
mov eax, dword [edx + 6]
mov dword [0x785776], eax
mov ecx, dword [edx + 0xa]
mov ax, word [0x785740]
mov dx, word [0x785742]
mov dword [0x78577a], ecx
mov word [esp + 0x1e4], ax
mov word [esp + 0x1e6], dx
mov esi, 0x785786
lea ecx, [ecx]
movzx eax, ax
lea ecx, [esp + 0x1d8]
push ecx
mov dword [esp + 0x1e4], eax
call fcn.00779b20
mov dx, word [esp + 0x1ea]
mov ax, word [esp + 0x1e8]
mov cx, word [esp + 0x1ec]
mov word [esi], dx
mov dx, word [esp + 0x1ee]
mov word [esi - 2], ax
mov word [esi + 2], cx
mov word [esi + 4], dx
add esi, 8
add esp, 4
cmp esi, 0x78579e
jl 0x778a00
lea eax, [esp + 0x1d8]
push eax
call fcn.00779de0
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x66c], 0xffffffff
call fcn.0077b950
mov al, 1
jmp 0x778aac
lea ecx, [esp + 0x1d8]
mov dword [0x7857b8], 0x773d08
push ecx
call fcn.00779de0
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x66c], 0xffffffff
call fcn.0077b950
xor al, al
mov ecx, dword [esp + 0x664]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x65c]
call fcn.0077ef06
pop edi
pop esi
mov esp, ebp
pop ebp
ret