Function at 0x100ce6d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov al, 1
push esi
push edi
mov edi, dword [esp + 0x30]
mov ebx, ecx
mov dword [esp + 0x14], edx
xor esi, esi
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
nop dword [eax]
cmp dword [ebx + 4], 8
jb 0x100cea65
mov ecx, dword [ebx]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
add edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
add eax, 0xc
add eax, edx
mov dword [edi + 4], eax
cmp dword [ebx + 4], eax
jb 0x100cea65
mov edx, dword [ebx]
mov dword [edi], edx
mov ecx, dword [ebx + 4]
cmp ecx, eax
jb 0x100ce75d
add dword [ebx], eax
sub ecx, eax
mov dword [ebx + 4], ecx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, ecx
shr eax, 8
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x100cea65
cmp ecx, 0x4c546361
jne 0x100ce7cd
mov ah, byte [esp + 0x11]
test ah, ah
jne 0x100ce9e2
cmp byte [esp + 0x10], ah
jne 0x100ce9e2
movzx eax, byte [edx + 8]
movzx ecx, byte [edx + 9]
shl eax, 8
add eax, ecx
movzx ecx, byte [edx + 0xa]
shl eax, 8
add eax, ecx
movzx ecx, byte [edx + 0xb]
shl eax, 8
add eax, ecx
cmp eax, 0x7fffffff
ja 0x100cea65
cmp dword [esp + 0x14], eax
jae 0x100cea65
mov byte [esp + 0x10], 1
jmp 0x100ce710
cmp ecx, 0x4c546366
jne 0x100ce96e
mov ah, byte [esp + 0x11]
test ah, ah
je 0x100ce7ec
cmp byte [esp + 0x10], 0
je 0x100ce9e2
cmp esi, dword [esp + 0x14]
jne 0x100ce939
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
add ecx, eax
mov byte [esp + 0x12], 1
movzx eax, byte [edx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
add eax, ecx
mov dword [ebp + 8], eax
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
movzx edx, byte [ecx + 0x10]
movzx eax, byte [ecx + 0x11]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x12]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x13]
shl edx, 8
add eax, edx
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
movzx edx, byte [ecx + 0x14]
movzx eax, byte [ecx + 0x15]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x16]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x17]
shl edx, 8
add eax, edx
mov dword [ebp + 0x10], eax
mov ecx, dword [edi]
mov dword [esp + 0x20], eax
movzx edx, byte [ecx + 0x18]
movzx eax, byte [ecx + 0x19]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x1a]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x1b]
shl edx, 8
add edx, eax
mov dword [ebp + 0x14], edx
mov eax, dword [edi]
movzx ecx, byte [eax + 0x1c]
movzx eax, byte [eax + 0x1d]
shl ecx, 8
add ecx, eax
mov dword [ebp + 0x18], ecx
mov eax, dword [edi]
movzx ecx, byte [eax + 0x1e]
movzx eax, byte [eax + 0x1f]
shl ecx, 8
add ecx, eax
cmp dword [esp + 0x18], 0xf4240
mov dword [ebp + 0x1c], ecx
mov eax, dword [edi]
movzx eax, byte [eax + 0x20]
mov dword [esp + 0x24], eax
mov dword [ebp + 0x20], eax
mov eax, dword [edi]
movzx eax, byte [eax + 0x21]
mov dword [esp + 0x28], eax
mov dword [ebp + 0x24], eax
ja 0x100cea65
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xf4240
ja 0x100cea65
mov eax, dword [esp + 0x20]
cmp eax, 0xf4240
ja 0x100cea65
cmp edx, 0xf4240
ja 0x100cea65
add eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
cmp eax, dword [ebp]
ja 0x100cea65
lea eax, [edx + ecx]
cmp eax, dword [ebp + 4]
ja 0x100cea65
cmp dword [esp + 0x24], 2
ja 0x100cea65
cmp dword [esp + 0x28], 1
ja 0x100cea65
inc esi
cmp byte [esp + 0x13], 0
je 0x100ce710
xor al, al
mov dword [ebp + 0x24], 0
cmp dword [ebp + 0x20], 2
mov byte [esp + 0x13], al
jne 0x100ce710
mov dword [ebp + 0x20], 1
jmp 0x100ce710
cmp ecx, 0x54414449
jne 0x100ce9ae
cmp byte [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x11], 1
jne 0x100ce98e
test ecx, ecx
jne 0x100cea65
test esi, esi
jne 0x100ce996
test ecx, ecx
je 0x100ce9c8
cmp byte [esp + 0x12], 0
jne 0x100ce9c8
test esi, esi
mov eax, 1
cmovne eax, esi
mov esi, eax
jmp 0x100ce710
cmp ecx, 0x54416466
jne 0x100ce9d2
cmp byte [esp + 0x10], 0
je 0x100ce9de
cmp byte [esp + 0x12], 0
je 0x100ce710
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret
cmp ecx, 0x444e4549
je 0x100cea65
mov ah, byte [esp + 0x11]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x100cea65
cmp cl, 0x5a
jbe 0x100ce9f4
cmp cl, 0x61
jb 0x100cea65
mov ecx, dword [esp + 0x28]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x100cea65
cmp cl, 0x5a
jbe 0x100cea0a
cmp cl, 0x61
jb 0x100cea65
mov cl, byte [edx + 6]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x100cea65
cmp cl, 0x5a
jbe 0x100cea1f
cmp cl, 0x61
jb 0x100cea65
mov cl, byte [edx + 7]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x100cea65
cmp cl, 0x5a
jbe 0x100cea34
cmp cl, 0x61
jb 0x100cea65
test ah, ah
jne 0x100cea65
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
cmp dword [edx + 8], ecx
je 0x100cea57
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x100ce710
push edi
push ecx
mov ecx, edx
call fcn.100997e0
jmp 0x100ce710
mov dword [edi], 0
xor al, al
mov dword [edi + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret