Function at 0x42a9fc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, 0x4706e4
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, 0x470b20
mov dword [ebx + 0xc51c], eax
mov edx, dword [ebx + 0xc500]
xor eax, eax
mov ecx, edx
push esi
lea edx, [ecx + edx*2]
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*4]
shl edx, 4
add edx, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc500]
mov ecx, dword [ebp + 0x18]
mov edx, eax
pop esi
push esi
mov edi, ecx
lea eax, [edx + eax*2]
shl eax, 4
add eax, edx
lea eax, [edx + eax*4]
shl eax, 4
add eax, ebx
add eax, 0x400
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc500]
pop esi
mov edx, eax
mov cx, word [esi]
lea eax, [edx + eax*2]
shl eax, 4
add eax, edx
lea eax, [edx + eax*4]
shl eax, 4
add eax, ebx
add eax, 0x800
mov word [eax], cx
lea edi, [eax + 0x3c]
mov dl, byte [esi + 2]
mov byte [eax + 2], dl
mov cx, word [esi + 4]
mov word [eax + 4], cx
mov dx, word [esi + 6]
mov word [eax + 6], dx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov cl, byte [esi + 0x10]
mov byte [eax + 0x10], cl
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov dl, byte [esi + 0x1c]
mov byte [eax + 0x1c], dl
mov cl, byte [esi + 0x1d]
mov byte [eax + 0x1d], cl
mov dx, word [esi + 0x1e]
mov word [eax + 0x1e], dx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
lea edx, [eax + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x28], ecx
push esi
add esi, 0x3c
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
add esp, 0xfffffff8
mov ecx, dword [esi + 0x2c]
mov dword [edx], ecx
mov ecx, dword [esi + 0x30]
mov dword [edx + 4], ecx
lea edx, [eax + 0x34]
mov ecx, dword [esi + 0x34]
mov dword [edx], ecx
mov ecx, dword [esi + 0x38]
mov dword [edx + 4], ecx
push 0
lea eax, [esp + 4]
push eax
call fcn.004262cc
mov edx, dword [ebx + 0xc500]
mov eax, edx
lea edx, [eax + edx*2]
shl edx, 4
add edx, eax
lea edx, [eax + edx*4]
shl edx, 4
add edx, ebx
add edx, 0xc3c
push edx
lea edx, [ebp - 8]
push edx
call fcn.004262f8
mov ecx, dword [ebx + 0xc500]
mov dl, byte [ebp + 0x1c]
mov eax, ecx
add esp, 0xfffffff8
lea ecx, [eax + ecx*2]
shl ecx, 4
add ecx, eax
lea ecx, [eax + ecx*4]
add ecx, ecx
add esp, 0xfffffff8
mov byte [ebx + ecx*8 + 0xc4c], dl
movzx ecx, word [esi + 0x1e]
push ecx
lea eax, [esp + 4]
push eax
call fcn.004262cc
add esp, 0xfffffff8
add esp, 0xfffffff8
call fcn.0043ca8c
push eax
lea edx, [esp + 4]
push edx
call fcn.004262cc
add esp, 0xfffffff8
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
mov dword [esp], ecx
mov eax, dword [edi + 4]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
push edx
call fcn.00426694
lea ecx, [esp + 0x10]
push ecx
call fcn.00426694
mov eax, dword [ebx + 0xc500]
mov edx, eax
lea eax, [edx + eax*2]
shl eax, 4
add eax, edx
lea eax, [edx + eax*4]
shl eax, 4
add eax, ebx
add eax, 0xc44
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004262f8
inc dword [ebx + 0xc500]
mov eax, dword [ebx + 0xc500]
cmp eax, 0x10
jne 0x42ac2d
mov edx, dword [ebp + 0x14]
add edx, 0x2208
push edx
call fcn.00430d8c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18