Function at 0x4c4370
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0xb0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x4497b0
mov edi, dword fs:[0]
mov dword [ecx], edi
mov dword fs:[0], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
mov dword [esi + 0xa0], eax
mov dword [esi + 0x30], ecx
mov eax, ecx
mov dword [esi + 0x24], edx
sub eax, edx
sar eax, 2
imul ecx, eax, 0xaaaaaaab
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
mov dword [esi + 0x18], 0
mov eax, ecx
mov dword [esi + 0x14], ecx
cmp ecx, 0x65
jb 0x4c4430
push dword [esi + 0x14]
call fcn.00493040
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
test eax, eax
jne 0x4c443d
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0xb8], eax
call fcn.004d31f0
lea eax, [esi + 0x40]
mov dword [esi + 0x10], eax
mov dword [esi + 8], 0
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x4c4477
mov dword [esi + 0x18], 0
mov ecx, dword [esi + 0x10]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x4c445a
mov edx, dword [eax + 4]
test edx, edx
je 0x4c446c
mov byte [ecx], 1
add eax, 0xc
inc ecx
cmp eax, dword [ebp + 0xc]
jne 0x4c444f
jmp 0x4c4477
mov byte [ecx], 2
dec dword [esi + 0x14]
inc dword [esi + 0x18]
jmp 0x4c4461
mov dword [esi + 0xb8], 0
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xb8], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x38]
push eax
call fcn.004bf800
test al, al
jne 0x4c46c8
cmp dword [esi + 0x14], 0
je 0x4c46c8
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4c4661
movzx eax, word [eax]
mov word [esi + 6], ax
cmp byte [ebp + 0x18], 0
jne 0x4c4509
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xb8], 0
movzx eax, word [esi + 6]
mov ecx, ebx
push eax
call edi
mov word [esi + 6], ax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x2c]
lea edx, [ecx + 1]
mov dword [esi + 0x34], 0
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], edx
mov dword [esi + 0x20], eax
cmp eax, dword [ebp + 0xc]
je 0x4c45e8
cmp byte [ecx], 1
jne 0x4c45c6
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x20]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x4c45d2
mov edi, dword [esi + 0x2c]
cmp edi, eax
ja 0x4c4735
movzx edi, word [ecx + edi*2]
cmp byte [ebp + 0x18], 0
jne 0x4c4595
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xb8], 0
movzx eax, di
mov ecx, dword [ebp + 0x10]
push eax
call ebx
mov edx, dword [esi + 0x28]
mov edi, eax
cmp word [esi + 6], di
mov ecx, dword [esi + 0x3c]
jne 0x4c45c0
mov edi, dword [esi + 0x20]
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4c45ac
mov eax, dword [edi + 4]
mov bl, 1
mov dword [esi + 0x34], ebx
cmp eax, edx
jne 0x4c45c6
mov byte [ecx], 2
dec dword [esi + 0x14]
inc dword [esi + 0x18]
jmp 0x4c45c6
mov byte [ecx], 0
dec dword [esi + 0x14]
mov eax, dword [esi + 0x20]
add eax, 0xc
inc ecx
jmp 0x4c4521
mov edi, dword [esi + 0x2c]
cmp dword [ecx + 4], edi
jb 0x4c4735
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
jmp 0x4c4553
mov ecx, edx
test byte [esi + 0x34], 1
je 0x4c4483
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4c4695
add eax, 2
mov dword [edi + 0xc], eax
mov ecx, edx
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x4c4483
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
add eax, ecx
mov ecx, edx
cmp eax, 2
jb 0x4c4483
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
cmp byte [ecx], 2
jne 0x4c4651
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x4c4642
mov edx, dword [eax + 4]
mov edi, dword [esi + 0x28]
cmp edx, edi
mov edx, edi
je 0x4c4651
mov byte [ecx], 0
dec dword [esi + 0x18]
add eax, 0xc
inc ecx
cmp eax, dword [ebp + 0xc]
jne 0x4c4632
mov ecx, edx
jmp 0x4c4483
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xb8], 0
mov ecx, edi
call ebx
mov word [esi + 6], ax
jmp 0x4c44cc
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xb8], 0
mov ecx, edi
call ebx
mov edx, dword [esi + 0x28]
jmp 0x4c460b
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x38]
push eax
call fcn.004bf800
test al, al
mov edx, dword [ebp + 0x14]
je 0x4c46e4
or byte [edx], 2
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
je 0x4c4703
cmp byte [ecx], 2
je 0x4c472d
mov eax, dword [esi + 0x24]
add eax, 0xc
inc ecx
mov dword [esi + 0x24], eax
cmp eax, dword [ebp + 0xc]
jne 0x4c46ef
or byte [edx], 4
mov eax, dword [esi + 8]
test eax, eax
je 0x4c4716
push eax
call fcn.00493090
add esp, 4
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esi + 0x30]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x24]
mov dword [esi + 0x30], eax
jmp 0x4c4706
int3