Function at 0x10019c80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx + 0x38]
movzx esi, byte [edx + 0x24]
movzx eax, byte [edx + 0x25]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 0x26]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 0x27]
shl esi, 8
or esi, eax
cmp esi, dword [esp + 0x30]
jb 0x10019cf1
push 0x100da52c
push 0xdff9
push 0x100da970
push 0xb
call fcn.100068b0
add esp, 0x10
lea eax, [ebx + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1001a46d
mov dl, byte [ebp + 0x10]
xor cl, cl
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
cmp dl, 1
jne 0x10019d39
cmp eax, dword [esp + 0x30]
ja 0x10019d4b
lea ecx, [esp + 0x13]
mov edx, eax
push 0
push ecx
mov ecx, edi
call fcn.10015490
add esp, 8
test eax, eax
jne 0x1001a693
cmp byte [esp + 0x13], 2
jne 0x10019d4b
mov byte [esp + 0x24], 1
jmp 0x10019d4b
cmp dl, 2
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x10019d6a
call fcn.10011c00
jmp 0x10019d6f
call fcn.10011920
test eax, eax
jne 0x1001a693
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov eax, edx
shr eax, 0x18
mov ecx, dword [esi + 0x38]
mov byte [ecx + 0x24], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0x25], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0x26], al
mov byte [ecx + 0x27], dl
nop dword [eax]
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x10019dc6
mov ecx, dword [ebx + 0x38]
movzx eax, byte [ecx]
movzx esi, byte [ecx + 1]
shl eax, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 3]
jmp 0x10019de3
mov ecx, dword [esi + 0x38]
movzx eax, byte [ecx + 0x20]
movzx esi, byte [ecx + 0x21]
shl eax, 8
or esi, eax
movzx eax, byte [ecx + 0x22]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x23]
shl esi, 8
or esi, eax
cmp esi, dword [esp + 0x30]
ja 0x1001a424
mov ecx, dword [edi]
lea eax, [esp + 0x38]
push 0
push eax
mov edx, esi
call fcn.10011020
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001a442
mov eax, dword [esp + 0x38]
cmp esi, 1
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x40], edi
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ecx
mov dword [edx + 0x44], eax
setne al
dec al
mov dword [edx + 0x34], ebx
and al, 0x64
mov dword [edx + 0x38], ecx
mov byte [edx + 6], al
mov dword [edx + 0x48], esi
movzx eax, byte [ecx + 4]
movzx ebx, byte [ecx + 5]
shl eax, 8
or ebx, eax
movzx eax, byte [ecx + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 7]
shl ebx, 8
or ebx, eax
mov dword [esp + 0x20], ebx
jne 0x10019ec4
cmp byte [esp + 0x24], 0
jne 0x10019ec4
mov edi, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x10019e8c
call fcn.10011c00
jmp 0x10019e91
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001a412
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x14]
mov dword [eax], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x1001a3a6
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
shr eax, 2
sub eax, 2
cmp ebx, eax
ja 0x1001a3f4
cmp byte [esp + 0x24], 0
mov eax, dword [ebp + 0xc]
je 0x1001a12c
cmp eax, esi
je 0x10019efb
jbe 0x1001a12c
cmp byte [ebp + 0x10], 2
jne 0x1001a12c
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x24], 0
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x10]
mov dword [eax], edx
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, edi
jbe 0x10019f29
call fcn.10011c00
jmp 0x10019f2e
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001a412
test ebx, ebx
jne 0x10019fa7
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x10019f60
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0x38]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax]
mov dword [ecx + 0x20], eax
jmp 0x1001a3a6
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x10019f7b
call fcn.10011c00
jmp 0x10019f80
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001a412
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0x38]
mov ecx, dword [esi + 0x38]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1001a3a6
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x38]
movzx eax, byte [ecx + 8]
movzx ebx, byte [ecx + 9]
shl eax, 8
or ebx, eax
movzx eax, byte [ecx + 0xa]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0xb]
shl ebx, 8
or ebx, eax
cmp ebx, dword [esp + 0x30]
ja 0x1001a3dc
lea eax, [esp + 0x3c]
mov edx, ebx
push 0
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
call fcn.10011020
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001a412
mov ecx, dword [esp + 0x3c]
cmp ebx, 1
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
setne al
dec al
mov dword [esi + 0x44], ecx
and al, 0x64
mov dword [esi + 0x48], ebx
mov byte [esi + 6], al
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001a037
call fcn.10011c00
jmp 0x1001a03c
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001a3d2
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x20]
dec edx
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edx
mov ecx, dword [esi + 0x38]
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
shr eax, 8
mov byte [ecx + 6], al
lea eax, [edx*4]
push eax
mov eax, dword [esp + 0x18]
mov byte [ecx + 7], dl
mov eax, dword [eax + 0x38]
add eax, 0xc
push eax
mov eax, dword [esi + 0x38]
add eax, 8
push eax
call fcn.100a9420
mov ecx, dword [esi + 0x44]
add esp, 0xc
call fcn.10011580
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x1001a0d6
mov esi, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov ecx, dword [esi + 0x38]
mov byte [ecx + 0x20], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0x21], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0x23], bl
xor ebx, ebx
mov byte [ecx + 0x22], al
mov dword [esp + 0x14], ebx
jmp 0x1001a3a6
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001a0f1
call fcn.10011c00
jmp 0x1001a0f6
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001a412
mov ecx, dword [esi + 0x38]
mov eax, ebx
mov esi, dword [esp + 0x1c]
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 3], bl
xor ebx, ebx
mov byte [ecx + 2], al
mov dword [esp + 0x14], ebx
jmp 0x1001a3a6
test ebx, ebx
je 0x1001a3ce
test eax, eax
je 0x1001a2b6
cmp byte [ebp + 0x10], 2
mov dword [esp + 0x20], edi
jne 0x1001a203
xor esi, esi
lea edx, [ecx + 0xa]
nop
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
cmp ecx, dword [ebp + 0xc]
jbe 0x1001a1f7
inc esi
add edx, 4
cmp esi, ebx
jb 0x1001a150
mov ecx, dword [esp + 0x28]
mov eax, edi
lea esi, [ecx + eax*4]
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
cmp ecx, dword [esp + 0x30]
ja 0x1001a3e8
cmp byte [esp + 0x24], 0
je 0x1001a1cd
cmp ecx, dword [ebp + 0xc]
je 0x1001a1cd
jae 0x1001a39e
cmp byte [ebp + 0x10], 2
jne 0x1001a39e
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, edi
jbe 0x1001a2c1
call fcn.10011c00
jmp 0x1001a2c6
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x20], esi
jmp 0x1001a185
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
or edx, eax
sub edx, dword [ebp + 0xc]
jns 0x1001a238
cmp edx, 0x80000000
jne 0x1001a236
mov edx, 0x7fffffff
jmp 0x1001a238
neg edx
mov esi, 1
cmp ebx, esi
jbe 0x1001a183
mov edi, ecx
nop word [eax + eax]
movzx eax, byte [edi + esi*4 + 8]
movzx ecx, byte [edi + esi*4 + 9]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + esi*4 + 0xa]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + esi*4 + 0xb]
shl eax, 8
or eax, ecx
sub eax, dword [ebp + 0xc]
jns 0x1001a288
cmp eax, 0x80000000
jne 0x1001a286
mov eax, 0x7fffffff
jmp 0x1001a288
neg eax
cmp eax, edx
mov ecx, esi
cmovge ecx, dword [esp + 0x20]
inc esi
cmp eax, edx
mov dword [esp + 0x20], ecx
cmovge eax, edx
mov edx, eax
cmp esi, ebx
jb 0x1001a250
mov edi, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
jmp 0x1001a185
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x1001a185
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001a412
mov ecx, dword [esp + 0x28]
lea edx, [ebx - 1]
cmp dword [esp + 0x20], edx
jae 0x1001a2e4
mov eax, dword [ecx + ebx*4 + 4]
mov dword [esi + 8], eax
mov ebx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
shr eax, 8
mov byte [ecx + 6], al
mov eax, dword [ebp + 8]
mov byte [ecx + 7], dl
mov ecx, dword [ebx + 0x3c]
mov esi, dword [eax]
test ecx, ecx
je 0x1001a322
cmp esi, dword [ecx]
ja 0x1001a31e
mov edx, esi
call fcn.1000bac0
test eax, eax
je 0x1001a322
xor eax, eax
jmp 0x1001a327
mov eax, 1
mov ecx, dword [ebx]
mov edx, esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10011020
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001a399
mov ecx, dword [esp + 0x44]
cmp esi, 1
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [edx + 0x38], eax
setne al
mov dword [edx + 0x34], ebx
dec al
mov ebx, dword [esp + 0x2c]
and al, 0x64
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], esi
mov byte [edx + 6], al
mov dword [ebx], edx
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001a380
call fcn.10011c00
jmp 0x1001a385
call fcn.10011920
mov edi, eax
test edi, edi
je 0x1001a399
mov ecx, dword [ebx]
test ecx, ecx
je 0x1001a399
mov ecx, dword [ecx + 0x44]
call fcn.10011580
mov byte [esp + 0x24], 0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1001a3b6
mov ecx, dword [eax + 0x44]
call fcn.10011580
cmp byte [esp + 0x24], 0
mov dword [esp + 0x34], 0
je 0x1001a412
mov edi, dword [esp + 0x18]
jmp 0x10019da0
mov ebx, edx
jmp 0x1001a3a2
mov ecx, dword [esi + 0x44]
call fcn.10011580
jmp 0x1001a412
push 0x100da52c
push 0xe068
jmp 0x1001a3fe
push 0x100da52c
push 0xe0a9
jmp 0x1001a3fe
push 0x100da52c
push 0xe046
push 0x100da970
push 0xb
call fcn.100068b0
add esp, 0x10
mov edi, 0xb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001a442
mov ecx, dword [eax + 0x44]
call fcn.10011580
jmp 0x1001a442
push 0x100da52c
push 0xe02a
push 0x100da970
push 0xb
call fcn.100068b0
add esp, 0x10
mov edi, 0xb
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1001a452
mov ecx, dword [ecx + 0x44]
call fcn.10011580
mov ebx, dword [esp + 0x2c]
test edi, edi
je 0x1001a64e
mov dword [ebx], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x44]
xor eax, eax
mov esi, edi
mov edx, dword [ecx + 0x10]
cmp byte [esi + 0x13], al
sete al
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001a496
call fcn.10011c00
jmp 0x1001a49b
call fcn.10011920
test eax, eax
jne 0x1001a693
mov eax, dword [0x100e3f8c]
xor edx, edx
div dword [esi + 0x20]
inc dword [esi + 0x2c]
mov edi, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x44], eax
cmp edi, eax
jne 0x1001a4c0
inc edi
mov dword [esi + 0x2c], edi
cmp byte [esi + 0x11], 0
mov ebx, edi
je 0x1001a5a1
cmp edi, 2
jae 0x1001a4d5
xor eax, eax
jmp 0x1001a504
mov ebx, dword [esp + 0x18]
lea esi, [edi - 2]
mov eax, 0xcccccccd
mul dword [ebx + 0x24]
mov eax, esi
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
sub esi, edx
lea eax, [esi + 2]
sub eax, dword [esp + 0x44]
neg eax
sbb eax, eax
add esi, 3
add eax, esi
mov esi, ebx
mov ebx, edi
cmp eax, edi
jne 0x1001a5a1
push dword [esp + 0x38]
mov ecx, dword [esi]
lea eax, [esp + 0x48]
push eax
mov edx, edi
call fcn.10011020
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001a57b
mov ecx, dword [esp + 0x44]
cmp edi, 1
mov ebx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x34], eax
setne al
dec al
mov dword [ebx + 0x44], ecx
and al, 0x64
mov dword [ebx + 0x48], edi
mov byte [ebx + 6], al
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001a568
call fcn.10011c00
jmp 0x1001a56d
call fcn.10011920
mov ecx, dword [ebx + 0x44]
mov esi, eax
call fcn.10011580
test esi, esi
je 0x1001a584
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x18]
xor edx, edx
mov eax, dword [0x100e3f8c]
div dword [esi + 0x20]
inc dword [esi + 0x2c]
mov ebx, dword [esi + 0x2c]
inc eax
cmp ebx, eax
jne 0x1001a5a1
inc ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0xc]
push dword [esp + 0x38]
mov ecx, dword [eax + 0x38]
mov eax, ebx
shr eax, 0x18
mov byte [ecx + 0x1c], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0x1d], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0x1e], al
mov eax, dword [ebp + 8]
mov byte [ecx + 0x1f], bl
mov esi, dword [esi + 0x2c]
mov edx, esi
mov ebx, dword [esp + 0x1c]
mov dword [eax], esi
lea eax, [esp + 0x48]
push eax
mov ecx, dword [ebx]
call fcn.10011020
add esp, 8
test eax, eax
jne 0x1001a693
mov ecx, dword [esp + 0x44]
cmp esi, 1
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [edx + 0x38], eax
setne al
mov dword [edx + 0x34], ebx
dec al
mov ebx, dword [esp + 0x2c]
and al, 0x64
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], esi
mov byte [edx + 6], al
mov dword [ebx], edx
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001a62c
call fcn.10011c00
jmp 0x1001a631
call fcn.10011920
mov edi, eax
test edi, edi
je 0x1001a64e
mov ecx, dword [ebx]
test ecx, ecx
je 0x1001a456
mov ecx, dword [ecx + 0x44]
call fcn.10011580
jmp 0x1001a456
mov eax, dword [ebx]
mov ecx, dword [eax + 0x44]
cmp word [ecx + 0x1a], 1
jle 0x1001a68e
test eax, eax
je 0x1001a663
call fcn.10011580
push 0x100da52c
push 0xe10c
push 0x100da970
push 0xb
mov dword [ebx], 0
call fcn.100068b0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret