Function at 0x4c70f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa8]
push eax
push ecx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0xbc]
push eax
push ecx
push edx
push ebx
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4c7146
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx + 8]
push esi
mov esi, dword [esp + 0x5c]
sub ecx, esi
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x64]
imul esi, edx
sub eax, edi
imul edi, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
lea esi, [esi + edx*4]
add esi, dword [ebx + 4]
mov ebx, dword [esp + 0x60]
lea edi, [edi + ebx*4]
mov ebx, dword [ebp + 4]
add edi, ebx
mov bl, byte [esp + 0x4c]
test bl, bl
je 0x4c73aa
mov ebp, dword [esp + 0x58]
and ecx, 7
sub edx, ebp
mov ebp, dword [esp + 0x20]
add edx, ecx
mov ebx, dword [esp + 0x1c]
sar ebx, 3
lea edx, [ebp + edx*4]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov edx, ecx
sub edx, ebp
mov ebp, dword [esp + 0x18]
test eax, eax
lea edx, [ebp + edx*4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
jle 0x4c74b1
mov dword [esp + 0x1c], eax
mov dl, 0xff
test ebx, ebx
jle 0x4c7333
lea eax, [edi + 6]
lea ecx, [esi + 6]
mov ebp, ebx
mov bl, byte [esi]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 5]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 4]
mov byte [edi], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 5], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 4], bl
mov byte [eax - 3], dl
mov bl, byte [ecx - 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx - 1]
mov byte [esp + 0x12], bl
mov bl, byte [ecx]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 1], bl
mov bl, byte [esp + 0x13]
mov byte [eax], bl
mov byte [eax + 1], dl
mov bl, byte [ecx + 2]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 3]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 4]
mov byte [eax + 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 3], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 4], bl
mov byte [eax + 5], dl
mov bl, byte [ecx + 6]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 7]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 8]
mov byte [eax + 6], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 7], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 8], bl
mov byte [eax + 9], dl
mov bl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xb]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xc]
mov byte [eax + 0xa], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xb], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xc], bl
mov byte [eax + 0xd], dl
mov bl, byte [ecx + 0xe]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x10]
mov byte [eax + 0xe], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xf], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], dl
mov bl, byte [ecx + 0x12]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x14]
mov byte [eax + 0x12], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x13], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x14], bl
mov byte [eax + 0x15], dl
mov bl, byte [ecx + 0x16]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x17]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x18]
mov byte [eax + 0x19], dl
mov byte [eax + 0x16], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x17], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x18], bl
add edi, 0x20
add eax, 0x20
add esi, 0x20
add ecx, 0x20
dec ebp
jne 0x4c71f4
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jle 0x4c7382
mov ebx, edi
lea ebp, [edi + 3]
sub ebx, esi
lea eax, [esi + 2]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ecx
mov bl, byte [eax - 1]
mov cl, byte [eax - 2]
mov byte [esp + 0x12], bl
mov bl, byte [eax]
mov byte [ebp - 3], bl
mov bl, byte [esp + 0x12]
mov byte [ebp - 2], bl
mov ebx, dword [esp + 0x28]
mov byte [ebp], dl
add ebp, 4
mov byte [ebx + eax], cl
mov ecx, dword [esp + 0x18]
add eax, 4
dec ecx
mov dword [esp + 0x18], ecx
jne 0x4c7349
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
add edi, eax
mov eax, dword [esp + 0x1c]
add esi, ebp
dec eax
mov dword [esp + 0x1c], eax
jne 0x4c71e4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x20]
shl edx, 2
imul ebx, dword [esp + 0x9c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], edx
jle 0x4c74b1
add edi, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dl, 0xff
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
add eax, ebp
mov dword [esp + 0x14], eax
js 0x4c743f
mov ebp, dword [esp + 0x20]
add esi, ebp
mov ebp, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], esi
test ecx, ecx
jle 0x4c7491
mov eax, edi
mov edi, ecx
add ebp, dword [esp + 0x48]
js 0x4c745e
mov ecx, dword [esp + 0x30]
add esi, 4
sub ebp, ecx
mov bl, byte [esi + 1]
mov cl, byte [esi]
mov byte [esp + 0x12], bl
mov bl, byte [esi + 2]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax], cl
mov ecx, dword [esp + 0x34]
mov byte [eax - 1], bl
mov byte [eax + 1], dl
add esi, ecx
add eax, 4
dec edi
jne 0x4c744f
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x18]
add edi, ebp
lea esi, [eax + ebx]
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
jne 0x4c741f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret