Function at 0x1003be63
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x1010c54e
call fcn.100f4ca8
sub esp, 0x64
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [edi]
mov dword [ecx], eax
cmp eax, 0x454c4946
je 0x1003be8c
call fcn.1003ae86
jmp 0x1003c120
push ebx
movzx ebx, word [edi + 4]
push esi
movzx esi, word [edi + 6]
test bl, 1
jne 0x1003c11c
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + esi*2]
xor eax, eax
inc eax
shl eax, cl
sub eax, 2
cmp edx, eax
ja 0x1003c11c
test esi, esi
je 0x1003c11c
lea eax, [esi - 1]
cmp eax, dword [ebp + 0x10]
jne 0x1003c11c
cmp ebx, 0x30
jb 0x1003bede
mov eax, dword [edi + 0x2c]
cmp eax, dword [ebp + 0x14]
je 0x1003bede
test eax, eax
jne 0x1003c11c
movzx eax, word [ebx + edi]
xor edx, edx
inc edx
mov dword [ebp + 0x14], eax
cmp esi, edx
jbe 0x1003bf1f
lea eax, [edi + 2]
add eax, ebx
mov dword [ebp + 8], eax
mov ebx, edx
shl ebx, cl
mov ecx, dword [ebp + 0x14]
cmp word [ebx + edi - 2], cx
mov ecx, dword [ebp + 0xc]
jne 0x1003c11c
mov ax, word [eax]
inc edx
mov word [ebx + edi - 2], ax
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
cmp edx, esi
jb 0x1003bef4
mov esi, dword [ebp - 0x10]
mov ax, word [edi + 0x10]
mov word [esi + 4], ax
mov ax, word [edi + 0x16]
movzx ebx, word [edi + 0x14]
mov word [esi + 6], ax
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x24]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x10]
shl edx, cl
mov dword [esi + 8], eax
cmp ebx, edx
jae 0x1003c11c
mov ecx, dword [ebp + 0xc]
mov eax, ecx
or eax, ebx
test al, 7
jne 0x1003c11c
cmp ecx, edx
ja 0x1003c11c
cmp dword [ebp + 8], edx
jne 0x1003c11c
cmp ebx, ecx
jae 0x1003c11c
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
sub ecx, ebx
mov dword [ebp - 4], edx
push ecx
lea eax, [ebx + edi]
mov dword [ebp + 0x10], ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.1003bb5a
test eax, eax
je 0x1003c104
cmp dword [ebp + 0x10], eax
jb 0x1003c104
add ebx, eax
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x1003c12f
sub eax, 0x10
je 0x1003c0b8
sub eax, 0x20
je 0x1003c067
sub eax, 0x50
je 0x1003c05a
sub eax, 0x40
je 0x1003c003
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x1003c0ca
mov ecx, esi
call fcn.1000338c
mov ecx, esi
lea eax, [ebp - 0x70]
push eax
call fcn.10039491
jmp 0x1003c0ca
add esi, 0x68
lea eax, [ebp - 0x60]
cmp eax, esi
je 0x1003c0ca
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ecx
cmp eax, dword [esi + 4]
je 0x1003c048
mov ecx, esi
call fcn.10004d00
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1003c0ca
push eax
call fcn.100f4c75
pop ecx
mov ecx, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
jmp 0x1003c04c
test eax, eax
je 0x1003c0ca
push eax
push ecx
push dword [esi]
call fcn.100f7620
add esp, 0xc
jmp 0x1003c0ca
lea ecx, [esi + 0x18]
call fcn.1000338c
lea ecx, [esi + 0x18]
jmp 0x1003bff5
xor eax, eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
call fcn.1003bc7e
test al, al
je 0x1003c0f5
lea ecx, [esi + 0x24]
call fcn.1000338c
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x24]
call fcn.100394d7
cmp dword [ebp - 0x20], 0
je 0x1003c0ca
push dword [ebp - 0x20]
call fcn.100f4c7e
pop ecx
jmp 0x1003c0ca
push dword [ebp - 0x5c]
lea ecx, [esi + 0x40]
push dword [ebp - 0x60]
call fcn.1003c152
test al, al
je 0x1003c104
push dword [ebp - 0x60]
or dword [ebp - 4], 0xffffffff
call fcn.100f4c7e
cmp dword [ebp - 0x68], 0
pop ecx
je 0x1003c0e6
push dword [ebp - 0x68]
call fcn.100f4c7e
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jae 0x1003c11c
mov esi, dword [ebp - 0x10]
jmp 0x1003bf83
cmp dword [ebp - 0x20], 0
je 0x1003c104
push dword [ebp - 0x20]
call fcn.100f4c7e
pop ecx
push dword [ebp - 0x60]
call fcn.100f4c7e
cmp dword [ebp - 0x68], 0
pop ecx
je 0x1003c11c
push dword [ebp - 0x68]
call fcn.100f4c7e
pop ecx
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0x14
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jne 0x1003c104
push dword [ebp - 0x60]
call fcn.100f4c7e
cmp dword [ebp - 0x68], 0
pop ecx
je 0x1003c14e
push dword [ebp - 0x68]
call fcn.100f4c7e
pop ecx
mov al, 1
jmp 0x1003c11e