Function at 0x4c0bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [0x5ccef4]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push esi
push edi
mov edi, dword [eax]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
push eax
call fcn.0048fb50
mov esi, eax
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 0x10]
imul esi, eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
imul esi, eax
shr esi, 7
xor ebp, ebp
cmp esi, ebp
jbe 0x4c0e04
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ebx, dword [esp + 0x40]
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
lea edi, [eax + ecx + 8]
push 0
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.004b38a0
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
mov ecx, dword [ebx]
mov eax, dword [esp + 0x44]
mov esi, edx
mov edx, dword [ecx]
add esi, eax
call dword [edx + 0x10]
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi]
xor ebp, ebp
mov dword [esp + 0x20], ecx
mov esi, 4
lea eax, [edx + eax*4]
mov dword [esp + 0x1c], eax
jmp 0x4c0c80
mov ebx, dword [esp + 0x40]
nop
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
mov edx, dword [ecx]
add eax, ebp
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
add eax, ecx
lea ecx, [esi - 4]
shr edx, cl
and edx, 3
mov bl, byte [esp + edx*4 + 0x25]
lea ecx, [esp + edx*4 + 0x24]
mov dl, byte [ecx + 2]
movzx ecx, byte [ecx]
shr dl, 3
movzx dx, dl
shr bl, 3
movzx bx, bl
shr cl, 3
movzx cx, cl
shl edx, 5
or edx, ebx
shl edx, 5
xor ebx, ebx
mov bx, word [eax]
and ebx, 0x801f
or edx, ebx
and edx, 0xffe0
or edx, ecx
mov word [eax], dx
mov edx, dword [edi + 4]
lea ecx, [esi - 2]
shr edx, cl
and edx, 3
mov bl, byte [esp + edx*4 + 0x25]
lea ecx, [esp + edx*4 + 0x24]
mov dl, byte [ecx + 2]
movzx ecx, byte [ecx]
shr dl, 3
movzx dx, dl
shr bl, 3
movzx bx, bl
shr cl, 3
movzx cx, cl
shl edx, 5
or edx, ebx
xor ebx, ebx
mov bx, word [eax + 2]
shl edx, 5
and ebx, 0x801f
or edx, ebx
and edx, 0xffe0
or edx, ecx
mov word [eax + 2], dx
mov edx, dword [edi + 4]
mov ecx, esi
shr edx, cl
and edx, 3
mov bl, byte [esp + edx*4 + 0x25]
lea ecx, [esp + edx*4 + 0x24]
mov dl, byte [ecx + 2]
movzx ecx, byte [ecx]
shr dl, 3
movzx dx, dl
shr bl, 3
movzx bx, bl
shr cl, 3
movzx cx, cl
shl edx, 5
or edx, ebx
xor ebx, ebx
mov bx, word [eax + 4]
shl edx, 5
and ebx, 0x801f
or edx, ebx
and edx, 0xffe0
or edx, ecx
mov word [eax + 4], dx
lea ecx, [esi + 2]
mov edx, dword [edi + 4]
shr edx, cl
add esi, 8
and edx, 3
mov bl, byte [esp + edx*4 + 0x25]
lea ecx, [esp + edx*4 + 0x24]
mov dl, byte [ecx + 2]
movzx ecx, byte [ecx]
shr dl, 3
shr bl, 3
movzx dx, dl
movzx bx, bl
shr cl, 3
movzx cx, cl
shl edx, 5
or edx, ebx
xor ebx, ebx
mov bx, word [eax + 6]
shl edx, 5
and ebx, 0x801f
or edx, ebx
and edx, 0xffe0
or edx, ecx
inc ebp
cmp esi, 0x24
mov word [eax + 6], dx
jb 0x4c0c7b
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edx, 0x10
add ebp, 4
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
jne 0x4c0c15
pop ebx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
call fcn.0052bbbf
add esp, 0x28
ret