Function at 0x100b5810
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
xor ecx, ecx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x50]
mov ebp, dword [eax + 0x10]
sub ebp, 8
mov dword [esp + 0x10], ebp
test edi, edi
jle 0x100b58da
lea edx, [ebx*8]
lea ebp, [ebx*4]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x60]
cmp dword [eax + ebp], 0
jne 0x100b58bf
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + edx + 4]
cmp edi, 0xfffffff2
jae 0x100b586f
mov edi, 0xe
jmp 0x100b5871
not edi
mov eax, edi
or eax, 0x4580
mov word [esi + 0x78], ax
mov ax, word [esi + 0x6c]
add ax, bx
add ax, cx
mov ecx, esi
mov word [esi + 0x74], ax
mov eax, 4
mov word [esi + 0x76], ax
call fcn.100aeab0
mov ecx, eax
cmp edi, 2
ja 0x100b58ad
imul ecx, edi, 0xffffff
add ecx, 0x7fff
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
mov dword [eax + ebp], ecx
mov ecx, dword [esp + 0x14]
inc ecx
add edx, 8
add ebp, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
cmp ecx, edi
jl 0x100b5850
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
mov eax, ecx
and eax, 6
cmp al, 6
jne 0x100b593d
nop word [eax + eax]
dec dword [esi + 0xa4]
sar ecx, 3
cmp dword [esi + 0xa4], 0
jle 0x100b5d3a
sub dword [esi + 0x6c], ecx
mov eax, ecx
neg eax
dec ecx
shl eax, 2
add ebx, ecx
add dword [esi + 0x60], eax
inc edi
mov eax, dword [esi + 0x60]
mov dword [esp + 0x38], edi
mov dword [eax + ebx*4], 0x2007ffd
mov eax, dword [ebp + 4]
and eax, 0xfffffff8
sub ebp, eax
mov dword [esp + 0x10], ebp
mov ecx, dword [ebp + 4]
mov eax, ecx
and eax, 6
cmp al, 6
je 0x100b58f0
mov edx, dword [esi + 0xa4]
test edx, edx
jne 0x100b5a3d
cmp dword [esi + 0x5c], edx
je 0x100b5a3d
mov eax, dword [esi + 0x54]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x45
je 0x100b5976
cmp eax, 0x46
je 0x100b5976
cmp eax, 0x47
je 0x100b5976
cmp eax, 0x48
jne 0x100b5a3d
test byte [ebp + 4], 3
jne 0x100b59b5
cmp dword [esi + 0x8dc], 0
jne 0x100b5a3d
mov eax, dword [esi + 0x2c]
and eax, 0xff
cmp eax, 0x45
je 0x100b5a3d
cmp eax, 0x46
je 0x100b5a3d
cmp eax, 0x47
je 0x100b5a3d
cmp eax, 0x48
je 0x100b5a3d
xor ecx, ecx
test ebx, ebx
jle 0x100b5a1f
cmp ebx, 4
jb 0x100b5a10
mov edi, dword [esi + 0x60]
lea eax, [esi + 0x60]
lea edx, [edi - 4]
lea edx, [edx + ebx*4]
cmp edi, eax
ja 0x100b59d4
cmp edx, eax
jae 0x100b5a10
mov eax, ebx
and eax, reloc.WS2_32.dll_closesocket
jns 0x100b59e2
dec eax
or eax, 0xfffffffc
inc eax
mov edx, ebx
sub edx, eax
add ecx, 4
mov ebp, ecx
cmp ecx, edx
jl 0x100b59e6
lea eax, [edx + 3]
cdq
and edx, 3
lea ecx, [edx + eax]
xor eax, eax
sar ecx, 2
shl ecx, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
cmp ebp, ebx
jge 0x100b5a1f
nop dword [eax]
mov eax, dword [esi + 0x60]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, ebx
jl 0x100b5a10
mov eax, dword [esp + 0x38]
push 0
add eax, ebx
push 7
push esi
mov dword [esi + 0x68], eax
call fcn.100b74d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [ebp + 4]
mov eax, ecx
and eax, 7
cmp al, 3
jne 0x100b5a76
lea eax, [edx - 1]
sar ecx, 3
mov dword [esi + 0xa4], eax
test eax, eax
js 0x100b5d3a
sub dword [esi + 0x6c], ecx
add ebx, ecx
neg ecx
shl ecx, 2
add dword [esi + 0x60], ecx
mov eax, dword [ebp + 4]
and eax, 0xfffffff8
sub ebp, eax
mov dword [esp + 0x10], ebp
mov ecx, dword [ebp + 4]
test cl, 3
jne 0x100b5cc7
mov ecx, dword [ecx - 4]
mov eax, ecx
shr eax, 0x18
test eax, eax
lea edx, [eax - 1]
cmove edx, edi
shr ecx, 8
movzx eax, cl
mov ecx, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
lea eax, [eax*8 + 8]
sub ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
sub eax, 0x40
mov dword [esp + 0x20], eax
test byte [eax + 0x25], 8
jne 0x100b5d42
cmp dword [esi + 0xa4], 0
jne 0x100b5b88
cmp dword [esi + 0x5c], 0
je 0x100b5b88
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x10]
sub eax, 8
cmp ebp, eax
jne 0x100b5b88
movzx eax, word [esi + 0x13a]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100b5b7b
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x24], ecx
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
cmp dword [edx], eax
jne 0x100b5b6b
movzx eax, word [esi + 0x122]
xor edi, edi
test eax, eax
je 0x100b5b6b
mov esi, dword [esp + 0x24]
lea edx, [esi + eax*8]
movzx eax, word [edx]
lea ecx, [edi + 1]
cmp eax, dword [esp + 0x1c]
movzx eax, word [edx + 6]
cmovne ecx, edi
mov edi, ecx
test eax, eax
jne 0x100b5b23
mov esi, dword [esp + 0x30]
test edi, edi
je 0x100b5b64
mov eax, dword [esi + 0x54]
cmp eax, dword [esi + 0x8d8]
jne 0x100b5d4a
mov eax, dword [esi + 0xa0]
add eax, edi
cmp eax, dword [esi + 0x5f0]
jg 0x100b5ba1
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
movzx eax, word [edx + 6]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100b5b03
mov edi, dword [esp + 0x38]
push esi
call fcn.100b18c0
mov edx, dword [esp + 0x18]
add esp, 4
xor eax, eax
test edx, edx
jle 0x100b5be1
mov ebp, dword [esp + 0x14]
shl ebx, 2
mov edx, dword [esi + 0x60]
cmp eax, edi
jge 0x100b5bc8
mov ecx, dword [ebx + edx]
jmp 0x100b5bcd
mov eax, dword [esp + 0x38]
add eax, ebx
push esi
mov dword [esi + 0x68], eax
call fcn.100b1a40
movzx eax, word [esi + 0x40]
push eax
push 5
push esi
call fcn.100b74d0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, 0x7fff
mov dword [edx + eax*4 - 4], ecx
add ebx, 4
inc eax
cmp eax, ebp
jl 0x100b5b95
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
lea eax, [edx + ebx]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xa4]
test eax, eax
jle 0x100b5c1d
dec eax
mov ecx, 0xfffffffc
mov dword [esi + 0xa4], eax
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 0x6c], eax
lea eax, [ebx*4]
pop edi
sub ecx, eax
add dword [esi + 0x60], ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp dword [esi + 0x8dc], 0
jne 0x100b5c46
mov eax, dword [esi + 0x2c]
and eax, 0xff
cmp eax, 0x45
je 0x100b5c46
cmp eax, 0x46
je 0x100b5c46
cmp eax, 0x47
je 0x100b5c46
cmp eax, 0x48
jne 0x100b5d52
cmp byte [esi + 0x71], 0
jne 0x100b5d3a
push 7
push dword [esp + 0x24]
push esi
call fcn.100af060
push dword [ebp + 4]
mov edi, eax
push 0x18
push esi
call fcn.100af350
mov ecx, 0xb85
mov word [esi + 0x74], di
add esp, 0x18
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x76], ax
call fcn.100cc5b0
mov ecx, dword [esi + 0x60]
mov eax, dword [esp + 0x14]
inc dword [esi + 0xa8]
shl eax, 2
push eax
lea eax, [ecx - 4]
mov byte [esi + 0x71], 1
push eax
lea eax, [ecx + ebx*4]
push eax
call fcn.100d59d0
lea eax, [ebx*4 + 4]
push eax
mov eax, dword [esi + 0x60]
sub eax, 4
push 0
push eax
call fcn.100d5f50
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, ecx
and al, 7
cmp al, 2
jne 0x100b5d3a
mov eax, dword [ebp - 8]
sar ecx, 3
add dword [esi + 0xa4], 0xfffffffe
mov dword [esp + 0x38], eax
js 0x100b5d3a
mov edx, dword [esi + 0x60]
lea eax, [ecx*4]
sub dword [esi + 0x6c], ecx
sub edx, eax
cmp dword [esp + 0x38], 0x10002a5b
lea eax, [ecx - 2]
mov dword [esi + 0x60], edx
mov dword [esi + 0x68], eax
jne 0x100b5a35
mov eax, dword [ebp - 4]
movzx ebp, byte [eax - 3]
test edi, edi
je 0x100b5d1b
lea eax, [ecx + ebx]
mov eax, dword [edx + eax*4]
jmp 0x100b5d20
mov eax, 0x7fff
mov dword [edx + ebp*4], eax
cmp ebp, dword [esi + 0x68]
jb 0x100b5a35
lea eax, [ebp + 1]
pop edi
mov dword [esi + 0x68], eax
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
push esi
call fcn.10094c50
push 0xa
push esi
call fcn.10094c50
push 0xc
push esi
call fcn.10094c50
push 6
push esi
call fcn.10094c50
int3