Function at 0x61c560
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4e0]
cmp eax, dword [ecx + 8]
jbe 0x61c95a
sub esp, 0x560
mov ebx, dword [esp + 0x574]
cmp ebx, 0x10
jge 0x61c941
mov eax, dword [esp + 0x56c]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x570]
cmp edx, ecx
jb 0x61c93c
cmp eax, ecx
jae 0x61c937
mov edx, dword [esp + 0x568]
mov dword [edx + eax*4], 0xffffffff
lea ebp, [eax - 1]
cmp ebx, ebp
jg 0x61c5c9
mov ebp, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebp
lea edi, [esp + 0x20]
mov ebx, eax
xor eax, eax
call fcn.004686b0
lea edi, [esp + 0x160]
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov esi, 1
jmp 0x61c610
lea esi, [edx + 1]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x568]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x56c]
cmp ebp, esi
jl 0x61c698
cmp ecx, 1
jbe 0x61c92d
cmp ecx, 2
jbe 0x61c921
movzx edi, word [edx + 6]
movzx ebx, word [edx + 2]
add ebx, edi
cmp esi, 0x10
jae 0x61c915
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*4]
mov dword [esp + 0x14], ecx
lea ebp, [esp + ecx*4 + 0x20]
movzx edx, word [edx + 0xa]
mov edi, ebp
call fcn.004686fb
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x20], esi
mov ebp, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x24], ebp
mov dword [esp + ecx*4 + 0x28], edx
mov dword [esp + ecx*4 + 0x2c], ebx
mov edx, esi
shl esi, 6
lea ebx, [esp + esi + 0x160]
mov dword [ebx + edx*4], 2
cmp edx, 1
jne 0x61c5f7
mov dword [esp + ecx*4 + 0x2c], 0x7fffffff
jmp 0x61c5f7
cmp ebp, 0x10
jae 0x61c909
lea esi, [ebp + ebp*4]
mov edi, ebx
shl ebx, 1
add ebx, 0xfffffffc
mov dword [esp + esi*4 + 0x30], ebx
mov eax, ebp
jmp 0x61c6bd
mov edi, dword [esp + 0x56c]
mov ebp, ebx
cmp ebp, 0x10
jae 0x61c8fd
lea ebx, [ebp + ebp*4]
mov esi, dword [esp + ebx*4 + 0x2c]
cmp esi, 0x7fffffff
jne 0x61c70b
lea edi, [esp + ebx*4 + 0x28]
cmp dword [edi], 0x7fffffff
jne 0x61c704
mov dword [esp + ebx*4 + 0x30], 0
lea ebx, [ebp + 1]
cmp ebx, 0x10
jae 0x61c8f1
lea ebp, [ebp + ebp*4 + 5]
mov dword [esp + ebp*4 + 0x2c], 0x7fffffff
jmp 0x61c6b4
mov edi, dword [esp + 0x56c]
mov edi, dword [esp + ebx*4 + 0x28]
mov eax, dword [esp + ebx*4 + 0x24]
mov dword [esp + 0xc], eax
cmp edi, esi
jge 0x61c763
mov esi, ebp
shl ebp, 6
lea ebp, [esp + ebp + 0x160]
mov eax, dword [ebp + esi*4]
mov dword [esp + ebx*4 + 0x24], edi
lea edi, [eax + 1]
mov dword [ebp + esi*4], edi
cmp edi, ecx
jae 0x61c8ea
lea ebp, [edx + eax*4 + 4]
cmp word [ebp], 0xffff
jae 0x61c753
movzx ebp, word [ebp + 2]
mov dword [esp + ebx*4 + 0x28], ebp
jmp 0x61c75b
mov dword [esp + ebx*4 + 0x28], 0x7fffffff
mov eax, dword [esp + 0xc]
mov edi, esi
jmp 0x61c7db
mov dword [esp + ebx*4 + 0x24], esi
lea esi, [ebp - 1]
cmp esi, 0x10
jae 0x61c8de
mov edi, ebp
shl ebp, 6
lea ebp, [esp + ebp + 0x160]
shl esi, 6
lea esi, [esp + esi + 0x160]
cmp esi, ebp
je 0x61c7bf
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp], ebp
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.00468df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x568]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + ebx*4 + 0x20]
lea esi, [ebp - 1]
cmp esi, 0x10
jae 0x61c8d2
lea ebp, [ebp + ebp*4 - 5]
mov dword [esp + ebp*4 + 0x30], 2
mov ebp, dword [esp + ebx*4 + 0x30]
lea esi, [ebp - 1]
mov dword [esp + ebx*4 + 0x30], esi
cmp ebp, 1
jne 0x61c84f
mov ebp, dword [esp + ebx*4 + 0x20]
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x61c81f
lea esi, [ebp + 1]
add eax, dword [esp + ebx*4 + 0x24]
cmp esi, 0x10
jae 0x61c8c6
lea ebx, [ebp + ebp*4 + 5]
mov dword [esp + ebx*4 + 0x2c], eax
lea ebx, [edi + 1]
jmp 0x61c816
mov ebx, edi
mov eax, dword [esp + 0x10]
jmp 0x61c6b4
mov edx, esi
shl esi, 6
lea ebx, [esp + esi + 0x160]
lea ebp, [ebx + edx*4]
mov esi, dword [esp + 0x56c]
cmp dword [ebp], esi
jne 0x61c8ae
mov esi, dword [esp + 0x564]
test byte [esi], al
lea ecx, [edx + 1]
mov eax, 1
jmp 0x61c875
mov edi, eax
lea eax, [edi - 1]
cmp eax, 0x10
jae 0x61c865
lea ebx, [edi + edi*4 - 5]
mov ebx, dword [esp + ebx*4 + 0x30]
test ebx, ebx
jg 0x61c84d
jmp 0x61c814
mov ecx, 0x10
call fcn.004684c0
mov dword [esi + eax*4 + 0xc], ebp
dec edx
inc eax
test edx, edx
jle 0x61c886
mov ebp, dword [ebx + edx*4]
sub ebp, dword [ebx + edx*4 - 4]
cmp eax, ecx
jb 0x61c86f
jmp 0x61c8a9
lea eax, [esi + 0xc]
mov dword [esp + 0x578], eax
mov dword [esp + 0x57c], ecx
mov dword [esp + 0x580], 0x11
add esp, 0x560
ret
call fcn.004684c0
lea eax, [0x6e41c0]
mov dword [esp], eax
lea eax, [0x7aaa38]
mov dword [esp + 4], eax
call fcn.004386b0
mov eax, esi
mov ecx, 0x10
call fcn.004684c0
mov eax, esi
mov ecx, 0x10
call fcn.004684c0
mov eax, esi
mov ecx, 0x10
call fcn.004684c0
mov eax, edi
call fcn.004684c0
mov eax, ebx
mov ecx, 0x10
call fcn.004684c0
mov eax, ebp
mov ecx, 0x10
call fcn.004684c0
mov eax, ebp
mov ecx, 0x10
call fcn.004684c0
mov eax, esi
mov ecx, 0x10
call fcn.004684c0
mov eax, 2
mov ecx, eax
call fcn.004684c0
mov eax, 1
call fcn.004684c0
call fcn.004684c0
call fcn.00468500
lea eax, [0x6e41c0]
mov dword [esp], eax
lea eax, [0x7aaa30]
mov dword [esp + 4], eax
call fcn.004386b0
nop
call fcn.00467050
jmp fcn.0061c560