Function at 0x8655e2
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [eax + 0x354]
mov eax, dword [eax + 0x35c]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 8]
mov dword [esp + 0x10], ecx
cmp esi, dword [eax + 0x38]
push edi
mov dword [esp + 0x10], edx
jne 0x86561d
xor edi, edi
jmp 0x865625
mov ecx, dword [edx]
mov edi, dword [ecx + 0x10c]
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x865670
mov dword [esi + 0x418], 1
cmp esi, dword [eax + 0x3c]
jne 0x86565d
mov edx, dword [esp + 0x1c]
push 0x63fcb4
push edx
call fcn.0077c6d2
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret
lea ecx, [ebp + 2]
lea eax, [edi + 2]
mov dword [esi + 4], ecx
mov dword [esp + 0x14], 0
jmp 0x865684
movzx ax, byte [ebp]
movzx cx, byte [ebp + 1]
shl eax, 8
add eax, ecx
and eax, 0x7fff
test edi, edi
mov dword [esp + 0x60], eax
je 0x8656a3
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esi + 4]
push ecx
push eax
push edx
call fcn.00878962
add esp, 0x10
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push eax
push 0
push edi
push ebx
call dword [ebx + 0x28]
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x44]
push eax
add ecx, edi
push ecx
push ebx
call dword [ebx + 0x2c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x88]
add ecx, edx
add esp, 0x28
neg edi
sbb edi, edi
and edi, 0x8000
lea eax, [edi + ecx]
movzx eax, ax
mov byte [ebp + 1], al
shr eax, 8
mov byte [ebp], al
add dword [esi + 4], edx
movzx edx, word [ebx + 6]
cmp ecx, edx
mov dword [esp + 0x60], ecx
ja 0x865731
mov eax, dword [esp + 0x64]
push eax
lea eax, [esi + 8]
push eax
push ebx
call fcn.00879752
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
sub eax, ecx
pop edi
mov dword [esi + 0x414], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret
mov cx, word [esi + 0x414]
add cx, di
movzx eax, cx
mov byte [ebp + 1], al
shr eax, 8
mov byte [ebp], al
mov edx, dword [esi + 0x414]
movzx ecx, word [ebx + 6]
sub ecx, edx
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push 3
push ebx
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
call fcn.0087c352
mov edi, eax
and eax, edx
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x24], edx
je 0x8657c4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x18]
jne 0x8657d1
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
jne 0x8657d1
push ebp
push 3
push edx
mov edx, dword [esp + 0x1c]
push edi
push ebx
push edx
call fcn.0087c182
add esp, 0x18
test eax, eax
je 0x8657fd
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2b4]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [eax]
push edx
movzx edx, word [ebx + 6]
push edi
push edx
mov edx, dword [ecx + 0x204]
push ebp
push edx
call fcn.008467b2
add esp, 0x18
test eax, eax
jne 0x8657c4
mov eax, dword [esp + 0x24]
push eax
push edi
mov edi, dword [esp + 0x64]
lea eax, [esi + 8]
push eax
lea ecx, [esi + 0x41c]
push ecx
push edi
call fcn.008655e2
add esp, 0x14
test eax, eax
jne 0x8657c4
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
push edx
mov dword [esi + 0x418], eax
mov eax, dword [esp + 0x6c]
push eax
push ecx
push esi
push edi
call fcn.008655e2
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret