Function at 0xc56010
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x3c]
add esi, edi
lea eax, [esi + 0x50]
push pe_nt_image_headers32
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push 0x1000
push eax
push 0
mov dword [esp + 0x20], esi
call dword [0x10007020]
mov ebp, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [0x100e1010]
test eax, eax
jne 0xc56067
push 0x100070f8
push 0x100070ec
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1010], eax
push ebp
push edi
push ebx
call eax
movzx ecx, word [esi + 0x14]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
cmp word [ebp + 6], 0
lea esi, [esi + ecx + 0x18]
mov dword [esp + 0x18], 0
jbe 0xc56130
add esi, 0x10
mov edi, dword [esi - 4]
mov eax, dword [0x100e1014]
mov edx, dword [esi]
mov ebp, dword [esi - 8]
add edi, ebx
test eax, eax
mov dword [esp + 0x14], edx
jne 0xc560c4
push 0x10007110
push 0x10007100
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1014], eax
push ebp
push edi
call eax
mov eax, dword [esp + 0x14]
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0xc560d8
mov dword [esp + 0x14], eax
mov ebp, dword [esi + 4]
mov eax, dword [0x100e1010]
add ebp, dword [esp + 0x24]
test eax, eax
jne 0xc56104
push 0x100070f8
push 0x100070ec
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1010], eax
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push edi
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movzx ecx, word [edx + 6]
add eax, 1
add esp, 0xc
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0xc56091
mov ebp, edx
mov eax, dword [ebp + 0xa4]
mov edi, dword [ebp + 0xa0]
mov esi, ebx
sub esi, dword [ebp + 0x34]
add edi, ebx
test eax, eax
mov dword [esp + 0x18], eax
mov edx, edi
jle 0xc5618c
lea ecx, [ecx]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea ecx, [edx + 8]
jle 0xc56182
mov dword [esp + 0x24], eax
movzx eax, word [ecx]
test eax, 0xf000
je 0xc56178
and eax, 0xfff
add eax, dword [edx]
add eax, ebx
add dword [eax], esi
add ecx, 2
sub dword [esp + 0x24], 1
jne 0xc56163
mov edx, ecx
sub ecx, edi
cmp ecx, dword [esp + 0x18]
jl 0xc56150
mov edi, dword [ebp + 0x80]
mov eax, dword [edi + ebx + 0xc]
add edi, ebx
test eax, eax
je 0xc561f1
lea esp, [esp]
add eax, ebx
push eax
call dword [0x10007050]
cmp dword [edi + 4], 0
mov ebp, eax
jne 0xc561b6
mov esi, dword [edi + 0x10]
jmp 0xc561b8
mov esi, dword [edi]
add esi, ebx
cmp dword [esi], 0
je 0xc561e3
nop
mov eax, dword [esi]
test eax, eax
jns 0xc561cd
and eax, 0xffff
jmp 0xc561d1
lea eax, [eax + ebx + 2]
push eax
push ebp
call dword [0x100070a4]
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0xc561c0
mov eax, dword [edi + 0x20]
add edi, 0x14
test eax, eax
jne 0xc561a0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebx
call dword [0x10007094]
push eax
call dword [0x10007098]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0xc56222
lea esi, [eax + ebx]
test esi, esi
je 0xc56222
push 0
push 1
push ebx
call esi
push 0
push 2
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret