Function at 0x100b5870
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10124018]
xor eax, esp
mov dword [esp + 0xd4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [edx + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xe0]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
mov dword [eax + 0xc], edx
movzx esi, word [ecx + 6]
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x100b58dd
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x100b58c5
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x100b5908
nop dword [eax + eax]
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x100b58f0
and ecx, 0xf0000000
cmp ecx, 0x60000000
jne 0x100b5ad5
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x14]
push edx
call fcn.100b5380
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x1c]
add esp, 0x10
sub esi, dword [eax]
mov dword [eax + 0x94], 0xffffffff
call fcn.10004626
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x94], 0xffffffff
je 0x100b5991
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push dword [eax + 0x18]
mov dword [esp + 0x1c], 0xfffffffc
push dword [esp + 0x10]
call fcn.1007edc0
add esp, 0xc
mov dword [eax + 4], 0xfffffffd
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add esi, eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
jmp 0x100b59a4
mov eax, dword [esp + 0x10]
movzx ecx, dx
shl ecx, 4
add ecx, eax
mov edx, dword [ecx]
mov eax, edx
shr eax, 0x1c
cmp eax, 8
je 0x100b59a0
cmp eax, 4
jne 0x100b59cc
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x100b5a73
mov dword [esp + 0x10], 1
cmp eax, 1
jne 0x100b5a05
cmp byte [esp + 0x29], 0
jne 0x100b59fe
push dword [ecx + 4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 8]
add eax, 8
push eax
call fcn.100c1b10
add esp, 0xc
mov eax, 1
jmp 0x100b5a73
mov eax, edx
and eax, 0xf4000000
cmp eax, 0x34000000
jne 0x100b5a39
cmp byte [esp + 0x29], 0
jne 0x100b5a32
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
jmp 0x100b5a73
cmp eax, 0x4000000
je 0x100b5a4e
and edx, 0xf8000000
cmp edx, 0x38000000
jne 0x100b5a54
lea eax, [esp + 0x30]
jmp 0x100b5a58
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
sub eax, 8
push eax
push 0
push ecx
push dword [esp + 0x1c]
call fcn.100afda0
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 8]
add edi, eax
cmp dword [esp + 0x24], 0
je 0x100b5a9e
mov eax, dword [esi]
test eax, 0x30000
jne 0x100b5a9e
or eax, 0x30000
mov dword [esi], eax
mov eax, dword [edx + 8]
and dword [eax + 0x214], 0xffffffef
test edi, edi
jle 0x100b5abd
mov ecx, dword [edx + 8]
dec edi
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x18]
jb 0x100b5ab9
mov ecx, edx
call fcn.1007aae0
mov edx, dword [esp + 8]
test edi, edi
jg 0x100b5aa2
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10073eeb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.10073eeb
mov esp, ebp
pop ebp
ret