Function at 0x5f0fa0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x54]
push ebp
lea ebp, [ebx + 0x48]
mov dword [esp + 0x18], 0
push esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], eax
mov al, byte [ebx + 0x44]
push edi
cmp al, 1
jne 0x5f0fce
mov esi, 0x5f03d0
jmp 0x5f0fdd
cmp al, 2
mov esi, 0x5f0380
mov ecx, 0x5f04f0
cmove esi, ecx
xor edx, edx
cmp byte [ebx + 0x43], dl
jbe 0x5f0ff5
lea ecx, [ebx + 0x70]
mov dword [ecx], esi
lea ecx, [ecx + 0x50]
movzx eax, byte [ebx + 0x43]
inc edx
cmp edx, eax
jl 0x5f0fe7
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.005f0cb0
mov edi, eax
add esp, 8
test edi, edi
jne 0x5f118b
cmp byte [ebx + 0x41], al
je 0x5f120c
movzx eax, byte [ebx + 0x43]
lea edi, [eax + eax*4]
shl edi, 4
add edi, 0xfffffff8
add edi, ebx
cmp dword [edi + 0x10], 0
jne 0x5f105b
mov eax, dword [edi + 0xc]
push dword [eax + 0x1c]
call fcn.005d2620
mov ecx, eax
add esp, 4
mov dword [edi + 0x10], ecx
test ecx, ecx
je 0x5f1186
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + 6]
mov word [ecx + 0x14], ax
mov eax, dword [edi + 0x10]
mov byte [eax + 0x17], 0
mov eax, dword [esp + 0x14]
push 0
push 0x38
test eax, eax
je 0x5f1078
push eax
call fcn.005a9460
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
jmp 0x5f1086
call fcn.005bc3f0
add esp, 8
mov dword [esp + 0x10], eax
mov esi, eax
test esi, esi
je 0x5f1183
push 0x38
push 0
push esi
call fcn.006213c0
lea ebp, [esi + 0x30]
mov dword [ebx + 0x10], esi
push ebp
push dword [esp + 0x30]
push edi
call fcn.005ee940
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
mov eax, esi
test edi, edi
jne 0x5f116d
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
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 0x5f111f
mov eax, dword [esp + 0x10]
xor esi, esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
nop
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi + 0x30]
test eax, eax
je 0x5f110e
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 esi, 0x38
cmp ebp, eax
jl 0x5f10f0
mov edi, dword [esp + 0x18]
xor esi, esi
xor ebp, ebp
movzx eax, byte [ebx + 0x43]
cmp esi, eax
jge 0x5f1169
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [eax + 0xc]
add eax, ebp
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x5f1161
cmp dword [ecx + 0x18], edi
je 0x5f1154
push eax
push 0x5ef750
push dword [ecx]
call fcn.005f0620
add esp, 0xc
jmp 0x5f115f
push 1
push eax
call fcn.005ef860
add esp, 8
mov edi, eax
inc esi
add ebp, 0x38
test edi, edi
je 0x5f1123
mov eax, dword [esp + 0x14]
xor esi, esi
test edi, edi
jne 0x5f118f
push 2
push eax
call fcn.005ef860
add esp, 8
jmp 0x5f1221
mov dword [ebx + 0x10], esi
mov edi, 7
mov esi, dword [esp + 0x20]
test esi, esi
je 0x5f123d
xor ebx, ebx
cmp dword [esi], ebx
jle 0x5f11b6
xor ebp, ebp
nop
mov eax, dword [esi + 0xc]
add eax, ebp
push eax
call fcn.005ef770
inc ebx
add esp, 4
add ebp, 0x38
cmp ebx, dword [esi]
jl 0x5f11a0
cmp dword [0x6d3c38], 0
je 0x5f1233
mov eax, dword [0x6ebdc0]
test eax, eax
je 0x5f11d2
push eax
call dword [0x6d3c88]
add esp, 4
push esi
call dword [0x6d3c64]
sub dword [0x6ebd58], eax
dec dword [0x6ebd7c]
push esi
call dword [0x6d3c5c]
mov eax, dword [0x6ebdc0]
add esp, 8
test eax, eax
je 0x5f123d
push eax
call dword [0x6d3c90]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push 0
push esi
push ebp
call fcn.005ef040
add esp, 0xc
mov dword [ebx + 0x14], esi
xor esi, esi
mov edi, eax
test edi, edi
jne 0x5f118f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push esi
call dword [0x6d3c5c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret