Function at 0x100cb080
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
mov eax, edx
mov esi, ecx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
cmp eax, dword [ebp + 8]
jae 0x100cb58f
mov edx, dword [esi]
movzx edi, byte [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
cmp word [edx], 1
je 0x100cb20d
mov ebx, dword [edx + 4]
movzx ecx, word [edx + 2]
xor edx, edx
mov eax, dword [esi + 0x48]
div ecx
mov dword [esi + 0x48], eax
movzx ecx, byte [ebx]
cmp ecx, edi
jne 0x100cb118
movzx ecx, byte [ebx + 1]
imul ecx, eax
mov dword [esi + 0x48], ecx
cmp ecx, 0x1000000
jae 0x100cb109
shl ecx, 8
mov dword [esi + 0x48], ecx
mov ecx, esi
call fcn.100cb5f0
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x100cb109
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.100cb5f0
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.100c9d50
jmp 0x100cb57d
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], 0
movzx edi, byte [ebx + 1]
movzx ecx, word [eax]
dec ecx
nop dword [eax + eax]
movzx eax, byte [ebx + 6]
add ebx, 6
movzx edx, byte [ebx + 1]
cmp eax, dword [esp + 0x1c]
je 0x100cb1bd
add edi, edx
sub ecx, 1
jne 0x100cb130
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 2]
mov ecx, dword [esi + 0x48]
sub edx, edi
mov eax, ecx
imul eax, edi
lea edi, [esp + 0x30]
add dword [esi + 0x50], eax
mov eax, dword [esi + 8]
adc dword [esi + 0x54], 0
imul ecx, edx
mov dword [esi + 0x48], ecx
mov ecx, 0x40
movzx eax, byte [eax]
add eax, 0xc0
shr eax, 5
and eax, 8
mov dword [esi + 0x1c], eax
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
movzx eax, byte [ebx]
mov byte [esp + eax + 0x30], 0
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [edx + 6]
add edx, 0xc
mov byte [esp + ecx + 0x30], 0
mov byte [esp + eax + 0x30], 0
cmp edx, ebx
jb 0x100cb1a0
jmp 0x100cb340
mov ecx, dword [esi + 0x48]
mov eax, ecx
imul eax, edi
add dword [esi + 0x50], eax
adc dword [esi + 0x54], 0
imul ecx, edx
mov dword [esi + 0x48], ecx
cmp ecx, 0x1000000
jae 0x100cb1fe
shl ecx, 8
mov dword [esi + 0x48], ecx
mov ecx, esi
call fcn.100cb5f0
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x100cb1fe
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.100cb5f0
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.100c9cc0
jmp 0x100cb57d
mov eax, dword [esi + 8]
movzx edi, byte [eax]
add edi, 0xc0
shr edi, 5
and edi, 8
mov dword [esi + 0x1c], edi
mov eax, dword [edx + 8]
movzx ebx, byte [edx + 2]
movzx eax, word [eax]
movzx edx, byte [eax + esi + 0x1a7]
lea eax, [ebx + 0xc0]
shr eax, 4
and eax, 0x10
add edx, eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 3]
mov eax, dword [esi + 0x20]
shl ecx, 6
sar eax, 0x1a
add ecx, edi
add ecx, edx
and eax, 0x20
add eax, ecx
mov ecx, dword [esi + 0x48]
add eax, dword [esi + 0x14]
movzx edx, word [esi + eax*2 + 0x97c]
lea edi, [esi + eax*2]
shr ecx, 0xe
imul ecx, edx
lea eax, [edx + 0x20]
shr eax, 7
sub edx, eax
movzx eax, dx
cmp ebx, dword [esp + 0x1c]
jne 0x100cb2f6
sub eax, 0xffffff80
mov word [edi + 0x97c], ax
mov dword [esi + 0x48], ecx
cmp ecx, 0x1000000
jae 0x100cb2a6
shl ecx, 8
mov dword [esi + 0x48], ecx
mov ecx, esi
call fcn.100cb5f0
mov ebx, dword [esp + 0x14]
add ebx, 2
movzx edx, word [ebx + 4]
mov cl, byte [ebx + 1]
movzx eax, word [ebx + 2]
inc dword [esi + 0x20]
shl edx, 0x10
or edx, eax
mov dword [esi + 8], ebx
cmp cl, 0x80
mov dword [esi + 0x14], 1
setb al
add al, cl
mov byte [ebx + 1], al
cmp dword [esi + 0xc], 0
jne 0x100cb2ea
cmp edx, dword [esi + 0x40]
jbe 0x100cb2ea
mov dword [esi], edx
mov dword [esi + 4], edx
jmp 0x100cb57d
mov ecx, esi
call fcn.100c9e00
jmp 0x100cb57d
mov word [edi + 0x97c], ax
lea edi, [esp + 0x30]
shr edx, 0xa
movzx eax, byte [edx + esi + 0x3a8]
add dword [esi + 0x50], ecx
mov dword [esi + 0x10], eax
adc dword [esi + 0x54], 0
sub dword [esi + 0x48], ecx
or eax, 0xffffffff
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 2]
mov dword [esi + 0x14], 0
mov byte [esp + eax + 0x30], 0
nop word [eax + eax]
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x100cb36e
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.100cb5f0
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x100cb36e
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.100cb5f0
mov ebx, dword [esi]
movzx eax, word [ebx]
mov dword [esp + 0x18], eax
inc dword [esi + 0xc]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x100cb57d
movzx edx, word [ebx]
mov dword [esp + 0x20], edx
cmp edx, eax
je 0x100cb377
mov dword [esi], ebx
cmp edx, 0x100
je 0x100cb409
movzx ecx, word [ebx + 2]
mov edi, edx
sub edi, eax
mov eax, dword [ebx + 8]
movzx eax, word [eax]
sub eax, edx
cmp edi, eax
sbb edx, edx
imul eax, dword [esp + 0x20], 0xb
neg edx
add edx, 0xef
cmp ecx, eax
sbb eax, eax
and eax, 2
add edx, eax
movzx eax, byte [edi + esi + 0x2a7]
shl eax, 4
add edx, eax
cmp edi, dword [esp + 0x18]
sbb eax, eax
and eax, 4
add edx, eax
add edx, dword [esi + 0x1c]
movzx eax, word [esi + edx*4]
lea edi, [esi + edx*4]
mov cl, byte [edi + 2]
mov edx, eax
shr edx, cl
sub eax, edx
mov dword [esp + 0x14], edi
mov word [edi], ax
xor eax, eax
test edx, edx
sete al
add eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jmp 0x100cb41b
lea ecx, [esi + 0x3b8]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
mov edi, dword [ebx + 4]
xor ebx, ebx
movzx eax, byte [edi]
mov cl, byte [edi + 1]
mov byte [esp + 0x13], cl
cmp eax, dword [esp + 0x1c]
je 0x100cb49d
movzx ecx, byte [esp + eax + 0x30]
add edi, 6
movzx eax, byte [esp + 0x13]
and ecx, eax
add ebx, ecx
sub edx, 1
jne 0x100cb420
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ecx, ebx
add word [eax], cx
mov eax, dword [esi + 0x48]
div ecx
mov ecx, eax
imul ecx, ebx
add dword [esi + 0x50], ecx
adc dword [esi + 0x54], 0
imul eax, dword [esp + 0x18]
sub edi, 6
mov dword [esi + 0x48], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
movzx eax, byte [edi]
mov byte [esp + eax + 0x30], 0
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [edx + 6]
add edx, 0xc
mov byte [esp + ecx + 0x30], 0
mov byte [esp + eax + 0x30], 0
cmp edx, edi
jb 0x100cb480
jmp 0x100cb340
movzx eax, cl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov cl, byte [eax + 2]
mov byte [esp + 0x13], cl
cmp cl, 7
jae 0x100cb4d5
add byte [eax + 3], 0xff
jne 0x100cb4d5
shl word [eax], 1
mov al, 3
shl al, cl
mov ecx, dword [esp + 0x14]
mov byte [ecx + 3], al
mov al, byte [esp + 0x13]
inc al
mov byte [ecx + 2], al
mov ecx, edx
mov dword [esi + 8], edi
and edx, 1
shr ecx, 1
mov eax, edx
mov dword [esp + 0x1c], ecx
neg eax
and eax, dword [esp + 0x20]
add eax, dword [esp + 0x18]
add ebx, eax
test ecx, ecx
je 0x100cb52e
lea eax, [edx + edx*2]
mov esi, ecx
lea edi, [edi + eax*2]
nop dword [eax]
movzx eax, byte [edi + 6]
lea edi, [edi + 0xc]
movzx ecx, byte [edi - 0xc]
movzx edx, byte [esp + eax + 0x30]
movzx eax, byte [edi - 5]
movzx ecx, byte [esp + ecx + 0x30]
and edx, eax
movzx eax, byte [edi - 0xb]
and ecx, eax
add ebx, ecx
add ebx, edx
sub esi, 1
jne 0x100cb500
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x48]
xor edx, edx
div ebx
mov ecx, eax
imul ecx, dword [esp + 0x2c]
add dword [esi + 0x50], ecx
adc dword [esi + 0x54], 0
imul eax, dword [esp + 0x20]
mov dword [esi + 0x48], eax
cmp eax, 0x1000000
jae 0x100cb576
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.100cb5f0
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x100cb576
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.100cb5f0
mov ecx, esi
call fcn.100c9dc0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 8]
jb 0x100cb0a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4