Function at 0x600016b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x38]
push ebx
mov ax, word [eax]
push esi
mov word [esp + 0xa], ax
push edi
push ebp
xor esi, esi
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
push ecx
push ebp
call fcn.60001cd0
mov dword [esp + 0x1c], eax
add esp, 8
cmp eax, esi
je 0x600016ed
test byte [eax + 0x14], 1
jne 0x600016ed
mov dword [esp + 0x14], esi
cmp dword [esp + 0x44], 0
je 0x600019d8
mov eax, dword [esp + 0x44]
push eax
call fcn.60001f40
add esp, 4
cmp byte [eax], 0
jne 0x60001712
mov dword [esp + 0x14], 0
cmp dword [esp + 0x14], 0
je 0x600019d8
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 4]
and byte [ecx + 0x14], 0xdf
cmp dword [eax], 0
je 0x60001737
push eax
push ebp
call fcn.600010b0
add esp, 8
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x14], 0
mov dword [ecx + 0x20], 0
je 0x600019d8
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x14], 1
je 0x600019d8
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0
mov eax, dword [ecx + 8]
add ecx, 8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x600019bf
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp byte [eax], 1
jne 0x600017a7
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.60002310
mov dword [esp + 0x20], eax
add esp, 8
cmp dword [esp + 0x18], 0
je 0x600019a6
mov eax, dword [esp + 0x18]
test byte [eax + 1], 1
je 0x60001990
mov edx, dword [eax + 2]
xor ecx, ecx
mov cl, byte [edx]
add ecx, dword [esp + 0x44]
push ecx
call fcn.60001f40
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x12]
and eax, 0xffff
mov dword [esp + 0x2c], eax
add eax, dword [esp + 0x44]
push eax
push ebx
call fcn.60001f20
add esp, 8
mov esi, eax
cmp byte [ebx + eax - 1], 0x2f
jne 0x60001800
cmp esi, 1
jle 0x60001800
dec esi
cmp dword [esp + 0x30], 0
je 0x60001812
push ebx
call fcn.60002900
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x18]
push esi
mov dword [esp + 0x28], 1
push ebx
push eax
call fcn.600020a0
mov dword [esp + 0x34], 0
mov word [esp + 0x1c], ax
add esp, 0xc
movsx ecx, word [esp + 0x10]
dec ecx
cmp ecx, 0x20
ja case.0x60001849.6
xor eax, eax
mov al, byte [ecx + 0x60001a0c]
jmp dword [eax*4 + 0x600019f4]
mov dword [esp + 0x24], 0
jmp 0x6000197e
cmp dword [esp + 0x20], 0
je 0x6000197e
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.600010b0
add esp, 8
jmp 0x6000197e
mov eax, dword [esp + 0x12]
push eax
call fcn.60004140
add esp, 4
mov edi, eax
test edi, edi
je 0x600018ab
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
push eax
push ecx
push edi
call fcn.60004250
sub ebx, dword [esp + 0x50]
add esp, 0xc
add ebx, edi
mov dword [esp + 0x44], edi
mov ax, word [esp + 0x12]
cmp word [ebp + 0x18], ax
jae 0x600018ba
mov word [ebp + 0x18], ax
cmp esi, 3
jle 0x6000192e
mov edi, dword [str._Blocked_]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea eax, [eax + 2]
cmp eax, esi
jle 0x600018e4
mov edi, dword [0x6000a008]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov edx, esi
dec esi
test edx, edx
jle 0x60001902
mov byte [ebx], 0x2a
inc ebx
mov edx, esi
dec esi
test edx, edx
jg 0x600018f7
lea esi, [ecx - 1]
test ecx, ecx
jle 0x60001916
mov cl, byte [edi]
inc edi
mov byte [ebx], cl
inc ebx
mov ecx, esi
dec esi
test ecx, ecx
jg 0x60001909
mov ecx, eax
dec eax
test ecx, ecx
jle 0x60001940
mov byte [ebx], 0x2a
inc ebx
mov ecx, eax
dec eax
test ecx, ecx
jg 0x6000191d
inc word [ebp + 0xe]
jmp 0x6000197e
mov eax, esi
dec esi
test eax, eax
jle 0x60001940
mov byte [ebx], 0x20
inc ebx
mov eax, esi
dec esi
test eax, eax
jg 0x60001935
inc word [ebp + 0xe]
jmp 0x6000197e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 6]
mov dword [ecx + 0xc], edx
or byte [ecx + 0x14], 0x40
inc word [ebp + 0xc]
jmp 0x6000197e
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x34]
push eax
push ebx
push ebp
call fcn.60002540
mov word [esp + 0x1c], ax
inc dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x28]
dec dword [esp + 0x28]
test eax, eax
jne 0x60001836
jmp 0x600019a6
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov ecx, dword [eax + 4]
push ecx
push edx
push ebp
call fcn.60001000
add esp, 0xc
cmp dword [esp + 0x24], 0
jne 0x600019d8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x60001789
cmp dword [esp + 0x24], 0
jne 0x600019d8
cmp dword [esp + 0x20], 0
je 0x600019d8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x12]
mov eax, dword [esp + 0x48]
and ecx, 0xffff
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret