Function at 0x567050
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
mov ecx, dword [ebx + 0x46]
push edi
push eax
push ecx
call dword [fcn.005b77a8]
mov esi, dword [esp + 0x124]
push esi
cmp dword [esi + 0x96], 0xffffffff
jne 0x5671bf
mov edx, dword [esi + 0xda8]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
neg edx
sbb edx, edx
and edx, 0xc
add edx, ecx
lea ecx, [edx + eax + 0x1e]
mov edx, dword [esp + 0x124]
push ecx
push edx
push ebx
call fcn.00563770
add esp, 0x10
test eax, eax
je 0x5670ce
mov eax, dword [esi + 0x8e]
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xf6
pop ebp
add eax, 0x13
pop ebx
add esp, 0x108
ret
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
lea edx, [eax + ecx + 0x1f]
push edx
call fcn.005738e8
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x5672f3
mov dword [ebp], 0x4034b50
mov ax, word [ebx + 2]
mov word [ebp + 4], ax
mov cx, word [ebx + 0x2c]
mov word [ebp + 6], cx
mov dx, word [ebx + 6]
mov word [ebp + 8], dx
mov eax, dword [ebx + 8]
mov dword [ebp + 0xa], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xe], ecx
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x12], edx
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x16], eax
mov cx, word [ebx + 0x18]
mov word [ebp + 0x1a], cx
mov dx, word [ebx + 0x1c]
mov word [ebp + 0x1c], dx
mov ecx, dword [ebx + 0x18]
mov eax, ecx
lea esi, [esp + 0x14]
lea edi, [ebp + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jbe 0x567169
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x3a]
mov eax, ecx
lea edi, [edx + ebp + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
lea ecx, [edx + eax + 0x1e]
mov edx, dword [esp + 0x128]
push ecx
push ebp
mov eax, dword [edx]
push eax
call dword [fcn.005b737c]
test eax, eax
je 0x5671a6
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
lea eax, [ecx + edx + 0x1e]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x5672dd
push ebp
call fcn.005737ff
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
call fcn.00563f00
mov ecx, dword [esi + 0xda8]
mov edi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xc
add ecx, edi
lea ecx, [ecx + edx + 0x1e]
cmp eax, ecx
jge 0x5671fd
mov edx, dword [esp + 0x120]
push esi
push edx
call fcn.00563f40
add esp, 8
test eax, eax
jne 0x5672f8
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
lea edx, [eax + ecx + 0x1f]
push edx
call fcn.005738e8
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x5672f3
mov dword [ebp], 0x4034b50
mov ax, word [ebx + 2]
mov word [ebp + 4], ax
mov cx, word [ebx + 0x2c]
mov word [ebp + 6], cx
mov dx, word [ebx + 6]
mov word [ebp + 8], dx
mov eax, dword [ebx + 8]
mov dword [ebp + 0xa], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xe], ecx
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x12], edx
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x16], eax
mov cx, word [ebx + 0x18]
mov word [ebp + 0x1a], cx
mov dx, word [ebx + 0x1c]
mov word [ebp + 0x1c], dx
mov ecx, dword [ebx + 0x18]
mov eax, ecx
lea esi, [esp + 0x14]
lea edi, [ebp + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jbe 0x567298
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x3a]
mov eax, ecx
lea edi, [edx + ebp + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
lea ecx, [edx + eax + 0x1e]
mov edx, dword [esp + 0x12c]
push ecx
push ebp
mov eax, dword [edx + 0x96]
push eax
call dword [fcn.005b737c]
test eax, eax
je 0x5671a6
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
lea eax, [ecx + edx + 0x1e]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jne 0x5671a6
push ebp
call fcn.005737ff
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret