Function at 0x5b36e2
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [ebx + 4]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x5b343c
mov dword [esp + 0x2c], ebp
xor esi, esi
jmp 0x5b3466
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
add esp, 4
cmp eax, ebp
mov dword [esp + 0x2c], eax
jne 0x5b3463
xor esi, esi
jmp 0x5b3466
mov word [eax], bp
mov edi, dword [ebx]
cmp edi, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
mov eax, edi
jne 0x5b347b
mov eax, 0x6bc0cc
mov ecx, dword [ebx + 4]
lea ecx, [eax + ecx*2]
xor eax, eax
cmp edi, ebp
mov dword [esp + 0x20], ecx
mov word [esp + 0x24], bp
mov dword [esp + 0x26], ebp
mov word [esp + 0x38], bp
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
jne 0x5b34aa
mov edi, 0x6bc0cc
cmp edi, ecx
jae 0x5b3786
lea ebp, [edi + 0xc]
jmp 0x5b34c4
mov esi, dword [esp + 0x34]
movzx eax, word [edi]
cmp ax, 0x5c
jne 0x5b3733
movzx eax, word [edi + 2]
add edi, 2
add eax, 0xffffffde
add ebp, 2
cmp eax, 0x53
ja case.0x5b34ee.35
movzx edx, byte [eax + 0x5b3808]
jmp dword [edx*4 + 0x5b37e0]
movzx eax, word [edi + 2]
mov ebx, dword [esp + 0x4c]
add edi, 2
movzx ecx, word [edi + 2]
add edi, 2
movzx edx, word [edi + 2]
add edi, 2
add ebp, 2
mov dword [esp + 0x10], eax
movzx eax, word [edi + 2]
add edi, 2
add ebp, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
add ebp, 2
lea ecx, [esp + 0x10]
mov edx, ebx
add ebp, 2
mov dword [esp + 0x1c], eax
call fcn.005c2a30
test al, al
je 0x5b37c4
lea ecx, [esp + 0x14]
mov edx, ebx
call fcn.005c2a30
test al, al
je 0x5b37c4
lea ecx, [esp + 0x18]
mov edx, ebx
call fcn.005c2a30
test al, al
je 0x5b37c4
lea ecx, [esp + 0x1c]
mov edx, ebx
call fcn.005c2a30
test al, al
je 0x5b37c4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, eax
shl esi, 4
or esi, ecx
shl esi, 4
or esi, dword [esp + 0x18]
shl esi, 4
or esi, dword [esp + 0x1c]
cmp ax, 0xd
mov word [esp + 0x24], si
jne 0x5b367f
add ecx, 0xfffffff8
cmp cx, 3
ja 0x5b367f
cmp ebp, dword [esp + 0x20]
jae 0x5b367f
cmp word [edi + 2], 0x5c
jne 0x5b367f
cmp word [edi + 4], 0x75
jne 0x5b367f
movzx ecx, word [edi + 6]
add edi, 6
movzx edx, word [edi + 2]
add edi, 2
movzx eax, word [edi + 2]
add edi, 2
mov dword [esp + 0x10], ecx
movzx ecx, word [edi + 2]
add ebp, 6
add edi, 2
add ebp, 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
add ebp, 2
lea ecx, [esp + 0x10]
mov edx, ebx
mov dword [esp + 0x18], eax
add ebp, 2
call fcn.005c2a30
test al, al
je 0x5b37ab
lea ecx, [esp + 0x14]
mov edx, ebx
call fcn.005c2a30
test al, al
je 0x5b37ab
lea ecx, [esp + 0x18]
mov edx, ebx
call fcn.005c2a30
test al, al
je 0x5b37ab
lea ecx, [esp + 0x1c]
mov edx, ebx
call fcn.005c2a30
test al, al
je 0x5b37ab
mov edx, dword [esp + 0x10]
shl edx, 4
or edx, dword [esp + 0x14]
mov word [esp + 0x28], 0
shl edx, 4
or edx, dword [esp + 0x18]
shl edx, 4
or edx, dword [esp + 0x1c]
mov word [esp + 0x26], dx
xor ecx, ecx
test si, si
movzx eax, si
lea edx, [esp + 0x26]
je 0x5b36a8
lea ecx, [ecx]
cmp ecx, 6
jae 0x5b36a8
mov word [esp + ecx*2 + 0x38], ax
movzx eax, word [edx]
add ecx, 1
add edx, 2
test ax, ax
jne 0x5b3690
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x30]
mov word [esp + ecx*2 + 0x3c], 0
call fcn.00480990
jmp case.0x5b34ee.35
push 0x22
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 0x5c
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 0x2f
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 0xd
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 0xa
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 8
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 0xc
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
push 9
lea eax, [esp + 0x30]
call fcn.004808e0
jmp case.0x5b34ee.35
movzx ebx, ax
mov eax, dword [esp + 0x30]
add eax, 2
cmp eax, esi
jbe 0x5b3759
add eax, esi
cmp eax, 0x104
jae 0x5b374f
mov eax, 0x104
push eax
lea esi, [esp + 0x30]
call fcn.00480af0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov word [eax + ecx*2], bx
add ecx, 1
mov dword [esp + 0x30], ecx
mov word [eax + ecx*2], 0
add edi, 2
add ebp, 2
cmp edi, dword [esp + 0x20]
jb 0x5b34c0
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x2c]
push eax
mov esi, ebx
call fcn.004806a0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0069c8fa
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 8
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0069c8fa
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x38
ret 8
mov edx, dword [esp + 0x2c]
push edx
call fcn.0069c8fa
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x38
ret 8