Function at 0x10062140
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push ebp
push esi
push edi
mov eax, dword [ebx + 0x54]
mov edi, dword [eax + 0x18]
mov al, byte [ebx + 0x44]
cmp al, 1
jne 0x1006216b
mov esi, 0x1005fcb0
jmp 0x1006217a
cmp al, 2
mov esi, 0x1005fab0
mov ecx, 0x1005fb00
cmove esi, ecx
xor edx, edx
cmp byte [ebx + 0x43], dl
jbe 0x10062192
lea ecx, [ebx + 0x70]
mov dword [ecx], esi
lea ecx, [ecx + 0x50]
movzx eax, byte [ebx + 0x43]
inc edx
cmp edx, eax
jl 0x10062184
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.10061e60
mov esi, eax
test esi, esi
jne 0x1006237d
cmp byte [ebx + 0x41], al
je 0x100623fc
movzx eax, byte [ebx + 0x43]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0xfffffff8
add esi, ebx
cmp dword [esi + 0x10], 0
jne 0x100621f2
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x1c]
call fcn.10051d20
mov ecx, eax
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x10062378
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + 6]
mov word [ecx + 0x14], ax
mov eax, dword [esi + 0x10]
mov byte [eax + 0x17], 0
push 0
push 0x38
test edi, edi
je 0x10062209
mov ecx, edi
call fcn.10026f30
mov ebp, eax
mov dword [esp + 0x20], ebp
jmp 0x10062214
call fcn.100267c0
mov ebp, eax
mov dword [esp + 0x20], eax
add esp, 8
test ebp, ebp
je 0x10062375
push 0x38
push 0
push ebp
call fcn.10138870
mov dword [ebx + 0x10], ebp
add esp, 0xc
mov eax, dword [0x10177c48]
test eax, eax
je 0x1006225f
push 0x64
call eax
add esp, 4
test eax, eax
je 0x1006225f
mov dword [ebp + 0x30], 0
mov ecx, dword [esp + 0x14]
call fcn.10060200
mov esi, 7
xor edi, edi
jmp 0x10062381
push 0
push 0x40
call fcn.100267c0
mov edi, eax
add esp, 8
test edi, edi
je 0x1006227e
push 0x40
push 0
push edi
call fcn.10138870
add esp, 0xc
mov dword [ebp + 0x30], edi
test edi, edi
je 0x1006224a
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
add ecx, 9
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
cmovle ecx, eax
mov dword [edi + 0x10], ecx
mov eax, ecx
cdq
add dword [esi + 0x48], eax
adc dword [esi + 0x4c], edx
xor esi, esi
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x48], eax
sbb dword [ecx + 0x4c], edx
xor ebp, ebp
movzx eax, byte [ebx + 0x43]
dec eax
test eax, eax
jle 0x10062314
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov eax, dword [edi + eax + 0x30]
test eax, eax
je 0x10062303
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x48], eax
sbb dword [ecx + 0x4c], edx
movzx eax, byte [ebx + 0x43]
inc ebp
dec eax
add edi, 0x38
cmp ebp, eax
jl 0x100622e5
mov esi, dword [esp + 0x1c]
xor edi, edi
xor ebp, ebp
movzx eax, byte [ebx + 0x43]
cmp edi, eax
jge 0x1006235e
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + ebp + 0x30]
add ecx, ebp
test eax, eax
je 0x10062356
cmp dword [eax + 0x18], esi
je 0x1006234a
push ecx
mov ecx, dword [eax]
mov edx, 0x10061a40
call fcn.100600b0
add esp, 4
jmp 0x10062354
mov edx, 1
call fcn.10061930
mov esi, eax
inc edi
add ebp, 0x38
test esi, esi
je 0x10062318
xor edi, edi
test esi, esi
jne 0x10062381
mov ecx, dword [esp + 0x18]
lea edx, [edi + 2]
call fcn.10061930
jmp 0x10062414
mov dword [ebx + 0x10], ebp
mov esi, 7
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10062430
xor ebx, ebx
cmp dword [edi], ebx
jle 0x100623a3
xor ebp, ebp
mov ecx, dword [edi + 0xc]
add ecx, ebp
call fcn.1005f3c0
inc ebx
add ebp, 0x38
cmp ebx, dword [edi]
jl 0x10062391
cmp dword [0x10177b48], 0
je 0x10062426
mov eax, dword [0x1017ad00]
test eax, eax
je 0x100623bf
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10062430
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 0x48]
push 0
mov edx, edi
call fcn.100617c0
add esp, 4
mov dword [ebx + 0x14], edi
xor edi, edi
mov esi, eax
test esi, esi
jne 0x10062381
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10177b6c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret