Function at 0x100954d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov dl, byte [edi + 6]
mov ecx, dword [edi + 8]
test dl, dl
jns 0x10095511
lea eax, [ecx - 1]
test ecx, eax
je 0x10095511
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov ebp, ecx
shr ebp, 0x10
or ebp, ecx
inc ebp
jmp 0x10095513
mov ebp, ecx
push dword [esp + 0x64]
lea eax, [esp + 0x38]
mov dword [edi + 8], ebp
push eax
push dword [esp + 0x60]
and dl, 0x7f
mov byte [edi + 6], dl
call fcn.10095cd0
mov ebx, dword [esp + 0x6c]
add esp, 0xc
cmp ebx, ebp
jae 0x10095615
mov al, byte [edi + 7]
mov ecx, ebx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x3b]
mov byte [edi + 7], al
mov eax, dword [esp + 0x44]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
shl ecx, 4
mov dword [edi + 8], ebx
mov dword [edi + 0x14], eax
mov dword [esp + 0x5c], ecx
mov esi, dword [edi + 0xc]
add esi, ecx
test byte [esi + 8], 0xf
je 0x100955ce
lea eax, [ebx + 1]
push 0
push eax
push edi
call fcn.10094e80
add esp, 0xc
cmp byte [eax + 8], 0x20
jne 0x100955ba
lea eax, [ebx + 1]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push edi
push dword [esp + 0x60]
mov byte [esp + 0x38], 3
call fcn.10095100
add esp, 0xc
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov cl, byte [esi + 8]
mov byte [eax + 8], cl
mov ecx, dword [esp + 0x5c]
inc ebx
add ecx, 0x10
mov dword [esp + 0x5c], ecx
cmp ebx, ebp
jb 0x10095574
mov ecx, dword [edi + 0x10]
mov bl, byte [esp + 0x13]
mov esi, dword [esp + 0x1c]
mov al, byte [edi + 7]
mov edx, dword [edi + 0x14]
mov dword [edi + 0x10], esi
mov esi, dword [esp + 0x20]
mov byte [edi + 7], bl
mov ebx, dword [esp + 0x60]
mov dword [edi + 8], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [edi + 0x14], esi
mov byte [esp + 0x3b], al
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
jmp 0x10095629
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x3b]
mov byte [esp + 0x5c], al
mov esi, ebp
mov eax, ebx
shl esi, 4
shl eax, 4
push eax
push esi
push dword [edi + 0xc]
push dword [esp + 0x64]
call fcn.1009c2e0
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x10095656
test ebx, ebx
jne 0x10095725
mov al, byte [edi + 7]
mov edx, dword [edi + 0x10]
mov byte [esp + 0x60], al
mov eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x5c]
mov byte [edi + 7], al
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [edi + 0x14], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ebx
cmp ebp, ebx
jae 0x100956a0
sub ebx, ebp
nop dword [eax]
mov eax, dword [edi + 0xc]
lea esi, [esi + 0x10]
mov byte [esi + eax - 8], 0x10
sub ebx, 1
jne 0x10095690
mov cl, byte [esp + 0x60]
mov ebp, 1
shl ebp, cl
test ebp, ebp
jle 0x100956fc
lea esi, [edx + 8]
mov ebx, ebp
test byte [esi], 0xf
je 0x100956f0
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov al, byte [esi + 1]
mov byte [esp + 0x2c], al
lea eax, [esp + 0x24]
push eax
push edi
push dword [esp + 0x60]
call fcn.10095780
mov ecx, dword [esi - 8]
add esp, 0xc
mov dword [eax], ecx
mov ecx, dword [esi - 4]
mov dword [eax + 4], ecx
mov cl, byte [esi]
mov byte [eax + 8], cl
add esi, 0x18
sub ebx, 1
jne 0x100956b4
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x1c], 0
je 0x1009571d
lea eax, [ebp*2]
add eax, ebp
shl eax, 3
push eax
push edx
push dword [esp + 0x60]
call fcn.1009c1d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.100949d0
add esp, 8
push 4
push ebx
call fcn.1008b980
int3