Function at 0x4f2204
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4f220d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f26a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov byte [ebp - 0xd], 1
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x28], eax
jmp 0x4f2607
lea edx, [ebp - 0x19]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, 1
call fcn.00420704
cmp byte [ebp - 0x19], 0x54
jne 0x4f2607
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, 2
call fcn.00420704
lea edx, [ebp - 0x19]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, 1
call fcn.00420704
xor eax, eax
mov al, byte [ebp - 0x19]
inc eax
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4f21e0]
call fcn.004063ac
add esp, 4
xor ecx, ecx
mov cl, byte [ebp - 0x19]
inc ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00420704
mov ax, word [ebp - 0x1c]
sub ax, 0x1701
je 0x4f22d6
sub ax, 0x1900
je 0x4f243f
jmp 0x4f25a1
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 6]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 7]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x38]
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 8]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 9]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404e74
mov eax, dword [ebp - 0x30]
call fcn.0049b69c
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xa]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xb]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xc]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xd]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x54]
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00404e74
mov eax, dword [ebp - 0x44]
call fcn.0049b69c
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0xd], 0
je 0x4f23da
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x1c]
mov word [eax], dx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov byte [ebp - 0xd], 0
mov eax, dword [0x6ccf20]
call fcn.004061f0
dec eax
test eax, eax
jl 0x4f25ae
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [0x6ccf20]
mov eax, dword [edx + eax*4]
cmp eax, dword [ebp - 0x24]
ja 0x4f2432
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [0x6ccf20]
mov eax, dword [edx + eax*4 + 4]
cmp eax, dword [ebp - 0x24]
jb 0x4f2432
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [0x6ccf20]
mov byte [edx + eax*4 + 8], 1
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x4f23f8
jmp 0x4f25ae
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x11]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x12]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x60]
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x13]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x64]
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x14]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x68]
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404e74
mov eax, dword [ebp - 0x58]
call fcn.0049b69c
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x15]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x70]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x16]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x74]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x17]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x78]
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x18]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x7c]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00404e74
mov eax, dword [ebp - 0x6c]
call fcn.0049b69c
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0xd], 0
je 0x4f2543
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 0x1c]
mov word [eax], dx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov byte [ebp - 0xd], 0
mov eax, dword [0x6ccf20]
call fcn.004061f0
dec eax
test eax, eax
jl 0x4f25ae
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [0x6ccf20]
mov eax, dword [edx + eax*4]
cmp eax, dword [ebp - 0x24]
ja 0x4f2597
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [0x6ccf20]
mov eax, dword [edx + eax*4 + 4]
cmp eax, dword [ebp - 0x24]
jb 0x4f2597
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [0x6ccf20]
mov byte [edx + eax*4 + 8], 1
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x4f255d
jmp 0x4f25ae
mov eax, dword [ebp - 0x28]
call fcn.00403c94
jmp 0x4f267f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004204a8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4f25e2
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4f25f3
jmp 0x4f25e6
pop edx
pop eax
jle 0x4f25f3
mov eax, dword [ebp - 0x28]
call fcn.00403c94
jmp 0x4f267f
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 0x28]
call fcn.00420794
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004204a8
cmp edx, dword [esp + 4]
jne 0x4f262f
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4f224d
jmp 0x4f2637
pop edx
pop eax
jl 0x4f224d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00420e6c
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.00420794
mov eax, dword [ebp - 0x28]
call fcn.00403c94
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 8]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f26af
lea eax, [ebp - 0x7c]
mov edx, 0x14
call fcn.00404b08
lea eax, [ebp - 0x18]
mov edx, dword [0x4f21e0]
call fcn.004064cc
ret