Function at 0x100ece40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164738
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
xor al, al
mov esi, 8
mov byte [ebp - 0x22], al
cmp ebx, esi
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1e], 0
cmovl esi, ebx
mov dword [ebp - 0xac], 0
push esi
push edi
push eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 0xa
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0xa
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], 0xa
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x90], 0xffffffff
call fcn.1012b780
add esp, 0xc
lea eax, [edi + esi]
sub ebx, esi
mov dword [0x101c7fb4], eax
xor edx, edx
mov dword [0x101c7fb8], ebx
lea ecx, [ebp - 0x1c]
push 8
call fcn.100f3f20
add esp, 4
test eax, eax
jne 0x100ed5f2
lea ecx, [ebp - 0x84]
call fcn.100ecd60
test eax, eax
jne 0x100ecfd4
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x100ecfcc
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 3
push eax
push ecx
call fcn.1004c960
or eax, 0xffffffff
jmp 0x100ed5f8
cmp eax, 0x52444849
jne 0x100ed598
cmp dword [ebp - 0x80], 0x19
jne 0x100ed598
mov ecx, dword [ebp - 0x84]
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
movzx ebx, byte [ecx + 0xc]
shl edx, 8
add edx, eax
shl ebx, 8
movzx eax, byte [ecx + 0xa]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xd]
add ebx, eax
mov dword [ebp - 0x5c], edx
movzx eax, byte [ecx + 0xe]
shl ebx, 8
add ebx, eax
mov dword [ebp - 0x54], edx
movzx eax, byte [ecx + 0xf]
shl ebx, 8
add ebx, eax
mov dword [ebp - 0x8c], ebx
mov edi, ebx
test edx, edx
je 0x100ed614
cmp edx, 0x4000
ja 0x100ed614
test ebx, ebx
je 0x100ed614
cmp ebx, 0x4000
ja 0x100ed614
mov eax, ebx
mov dword [ebp - 0x38], 0
imul eax, edx
xor esi, esi
push ecx
push ebx
push edx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x34], 0
shl eax, 2
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x44], 0xa
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x88], eax
call fcn.100ec780
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xac]
push esi
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.100ecb00
add esp, 0x10
test eax, eax
jne 0x100ed575
push ecx
push ebx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
call fcn.100ec780
cmp dword [0x101c7fb8], esi
jle 0x100ed575
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
nop dword [eax + eax]
lea ecx, [ebp - 0x1c]
call fcn.100ecd60
test eax, eax
je 0x100ed575
mov ebx, dword [ebp - 0x1c]
cmp eax, 0x4c546361
jne 0x100ed13d
mov dl, byte [ebp - 0x22]
test dl, dl
jne 0x100ed465
cmp byte [ebp - 0x1d], dl
jne 0x100ed465
mov byte [ebp - 0x1d], 1
mov byte [ebp - 0x1e], 1
push ebx
call fcn.10050eb0
add esp, 4
cmp dword [0x101c7fb8], 0
jg 0x100ed0f0
jmp 0x100ed575
cmp eax, 0x4c546366
jne 0x100ed3d7
mov dl, byte [ebp - 0x22]
test dl, dl
je 0x100ed253
cmp byte [ebp - 0x1d], 0
je 0x100ed465
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.100eccc0
test eax, eax
jne 0x100ed562
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xc8]
push dword [ebp - 0x5c]
call fcn.100ec780
cmp esi, 2
mov esi, dword [ebp - 0xb4]
jne 0x100ed1a2
push dword [ebp - 0x88]
push dword [ebp - 0x68]
push esi
call fcn.1012b780
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x40]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.100ec910
mov eax, dword [ebp - 0x60]
add esp, 0x14
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100edf80
cmp dword [ebp - 0x30], 2
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x40], eax
je 0x100ed247
push dword [ebp - 0x88]
push dword [ebp - 0x68]
push esi
call fcn.1012b780
add esp, 0xc
cmp dword [ebp - 0x30], 1
jne 0x100ed247
test edi, edi
je 0x100ed247
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
lea ebx, [eax*4]
mov eax, dword [ebp - 0x38]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
lea esi, [edx + eax*4]
mov eax, dword [esi]
push ebx
add eax, ecx
push 0
push eax
call fcn.1012bd00
mov ecx, dword [ebp - 0x44]
lea esi, [esi + 4]
add esp, 0xc
sub edi, 1
jne 0x100ed223
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xb4]
mov dl, byte [ebp - 0x22]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x64], esi
movzx eax, byte [ebx + 0xc]
movzx ecx, byte [ebx + 0xd]
movzx edi, byte [ebx + 0x10]
shl eax, 8
add ecx, eax
movzx esi, byte [ebx + 0x14]
movzx eax, byte [ebx + 0xe]
shl ecx, 8
add ecx, eax
shl esi, 8
movzx eax, byte [ebx + 0xf]
shl edi, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 0x11]
add edi, eax
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebx + 0x12]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x13]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x15]
add esi, eax
movzx eax, byte [ebx + 0x16]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x17]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x19]
mov dword [ebp - 0x38], esi
movzx esi, byte [ebx + 0x18]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1a]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1b]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1d]
mov dword [ebp - 0x34], esi
movzx esi, byte [ebx + 0x1c]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1f]
mov dword [ebp - 0x60], esi
movzx esi, byte [ebx + 0x1e]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x21]
mov dword [ebp - 0x44], esi
movzx esi, byte [ebx + 0x20]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], eax
test ecx, ecx
je 0x100ed37d
cmp ecx, 0x4000
ja 0x100ed37d
test edi, edi
je 0x100ed37d
cmp edi, 0x4000
ja 0x100ed37d
mov eax, dword [ebp - 0x38]
add eax, ecx
cmp eax, dword [ebp - 0x5c]
ja 0x100ed37d
mov eax, dword [ebp - 0x34]
add eax, edi
cmp eax, dword [ebp - 0x8c]
ja 0x100ed37d
cmp esi, 2
ja 0x100ed37d
cmp dword [ebp - 0x3c], 1
ja 0x100ed37d
test dl, dl
je 0x100ed38b
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x22]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100ecb00
add esp, 0x10
test eax, eax
je 0x100ed38f
lea ecx, [ebp - 0x7c]
call fcn.100ec3b0
push ebx
jmp 0x100ed56d
mov byte [ebp - 0x1e], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
xor eax, eax
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp byte [ebp - 0x1e], al
setne al
cmp ecx, eax
jne 0x100ed126
mov dword [ebp - 0x3c], 0
cmp esi, 2
jne 0x100ed126
mov esi, 1
mov dword [ebp - 0x30], esi
jmp 0x100ed126
cmp eax, 0x54414449
jne 0x100ed3fd
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push ebx
mov byte [ebp - 0x22], 1
call fcn.100ecc60
add esp, 8
test eax, eax
jne 0x100ed37d
jmp 0x100ed126
cmp eax, 0x54416466
jne 0x100ed457
cmp byte [ebp - 0x1d], 0
je 0x100ed462
mov esi, dword [ebp - 0x18]
lea edx, [ebx + 4]
lea ecx, [esi - 0x10]
mov eax, ecx
mov byte [edx + 3], cl
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
lea eax, [esi - 4]
push eax
mov dword [ebx + 8], 0x54414449
mov ecx, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x28]
call fcn.100ecc60
add esp, 8
test eax, eax
jne 0x100ed37d
mov esi, dword [ebp - 0x30]
jmp 0x100ed126
cmp eax, 0x444e4549
je 0x100ed514
mov dl, byte [ebp - 0x22]
mov al, byte [ebx + 4]
cmp al, 0x41
jb 0x100ed385
cmp al, 0x7a
ja 0x100ed385
cmp al, 0x5a
jbe 0x100ed484
cmp al, 0x61
jb 0x100ed385
mov al, byte [ebx + 5]
cmp al, 0x41
jb 0x100ed385
cmp al, 0x7a
ja 0x100ed385
cmp al, 0x5a
jbe 0x100ed4a3
cmp al, 0x61
jb 0x100ed385
mov al, byte [ebx + 6]
cmp al, 0x41
jb 0x100ed385
cmp al, 0x7a
ja 0x100ed385
cmp al, 0x5a
jbe 0x100ed4c2
cmp al, 0x61
jb 0x100ed385
mov al, byte [ebx + 7]
cmp al, 0x41
jb 0x100ed385
cmp al, 0x7a
ja 0x100ed385
cmp al, 0x5a
jbe 0x100ed4e1
cmp al, 0x61
jb 0x100ed385
test dl, dl
jne 0x100ed126
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push ebx
call fcn.100ecc60
add esp, 8
test eax, eax
jne 0x100ed37d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x50]
call fcn.100ede40
jmp 0x100ed12f
mov al, byte [ebp - 0x22]
test al, al
je 0x100ed562
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.100eccc0
test eax, eax
jne 0x100ed562
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x40]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.100ec910
mov eax, dword [ebp - 0x60]
add esp, 0x14
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100edf80
jmp 0x100ed56a
lea ecx, [ebp - 0x7c]
call fcn.100ec3b0
push dword [ebp - 0x1c]
call fcn.10050eb0
add esp, 4
lea ecx, [ebp - 0xac]
call fcn.100ec3b0
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100ed598
xor eax, eax
cmp byte [ebp - 0x1e], al
sete al
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x4c]
xor esi, esi
mov ecx, dword [ebp - 0x50]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x100ed5cb
nop dword [eax]
push dword [ecx + esi*8]
call fcn.10050eb0
mov eax, dword [ebp - 0x4c]
inc esi
mov ecx, dword [ebp - 0x50]
add esp, 4
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100ed5b0
push dword [ebp - 0x84]
mov dword [ebp - 0x4c], ecx
call fcn.10050eb0
mov edx, dword [ebp - 0x50]
add esp, 4
test edx, edx
je 0x100ed5f2
mov ecx, dword [ebp - 0x48]
sub ecx, edx
sar ecx, 3
push ecx
push edx
call fcn.1004c960
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010a832
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x50]
call fcn.100edf50
or eax, 0xffffffff
jmp 0x100ed5f8