Function at 0x1001ce80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10068cc4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push str.is_pe
movlpd qword [ebp - 0x34], xmm0
push dword [esi + 0x10]
movlpd qword [ebp - 0x2c], xmm0
push 0
push 1
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.machine
push dword [esi + 0x10]
movzx eax, word [eax + 4]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.number_of_sections
push dword [esi + 0x10]
movzx eax, word [eax + 6]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.timestamp
push dword [esi + 0x10]
push 0
push dword [eax + 8]
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
push str.pointer_to_symbol_table
push dword [esi + 0x10]
push 0
push dword [eax + 0xc]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.number_of_symbols
push dword [esi + 0x10]
push 0
push dword [eax + 0x10]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.size_of_optional_header
push dword [esi + 0x10]
movzx eax, word [eax + 0x14]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.characteristics
push dword [esi + 0x10]
movzx eax, word [eax + 0x16]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
xor edx, edx
test byte [ebp + 0x14], 2
mov eax, dword [eax + 0x28]
je 0x1001cf6a
add eax, dword [ebp + 0xc]
adc edx, dword [ebp + 0x10]
jmp 0x1001cf75
push edx
push eax
push esi
call fcn.10028510
add esp, 0xc
push ebx
push str.entry_point
push dword [esi + 0x10]
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
mov ebx, 0x20b
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x1001cf9e
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
jmp 0x1001cfa3
mov ecx, dword [eax + 0x34]
xor eax, eax
push str.image_base
push dword [esi + 0x10]
push eax
push ecx
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x1001cfc6
mov eax, dword [eax + 0x84]
jmp 0x1001cfc9
mov eax, dword [eax + 0x74]
push str.number_of_rva_and_sizes
push dword [esi + 0x10]
push 0
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.opthdr_magic
push dword [esi + 0x10]
movzx eax, word [eax + 0x18]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.linker_version.major
push dword [esi + 0x10]
movzx eax, byte [eax + 0x1a]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.linker_version.minor
push dword [esi + 0x10]
movzx eax, byte [eax + 0x1b]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
push str.size_of_code
push dword [esi + 0x10]
push 0
push dword [eax + 0x1c]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.size_of_initialized_data
push dword [esi + 0x10]
push 0
push dword [eax + 0x20]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.size_of_uninitialized_data
push dword [esi + 0x10]
push 0
push dword [eax + 0x24]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.base_of_code
push dword [esi + 0x10]
push 0
push dword [eax + 0x2c]
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
cmp word [eax + 0x18], bx
je 0x1001d099
push str.base_of_data
push dword [esi + 0x10]
push 0
push dword [eax + 0x30]
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x10
push str.section_alignment
push dword [esi + 0x10]
push 0
push dword [eax + 0x38]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.file_alignment
push dword [esi + 0x10]
push 0
push dword [eax + 0x3c]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.os_version.major
push dword [esi + 0x10]
movzx eax, word [eax + 0x40]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.os_version.minor
push dword [esi + 0x10]
movzx eax, word [eax + 0x42]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
movzx eax, word [eax + 0x44]
push str.image_version.major
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.image_version.minor
push dword [esi + 0x10]
movzx eax, word [eax + 0x46]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.subsystem_version.major
push dword [esi + 0x10]
movzx eax, word [eax + 0x48]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.subsystem_version.minor
push dword [esi + 0x10]
movzx eax, word [eax + 0x4a]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
push str.win32_version_value
push dword [esi + 0x10]
push 0
push dword [eax + 0x4c]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.size_of_image
push dword [esi + 0x10]
push 0
push dword [eax + 0x50]
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.size_of_headers
push dword [esi + 0x10]
push 0
push dword [eax + 0x54]
call fcn.1000c9d0
push str.checksum
push dword [esi + 0x10]
mov eax, dword [esi + 8]
push 0
push dword [eax + 0x58]
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x40
movzx eax, word [eax + 0x5c]
push str.subsystem
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
push str.dll_characteristics
push dword [esi + 0x10]
movzx eax, word [eax + 0x5e]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x20
mov ecx, dword [eax + 0x60]
cmp word [eax + 0x18], bx
jne 0x1001d1e9
mov eax, dword [eax + 0x64]
jmp 0x1001d1eb
xor eax, eax
push str.size_of_stack_reserve
push dword [esi + 0x10]
push eax
push ecx
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x1001d20e
mov ecx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
jmp 0x1001d213
mov ecx, dword [eax + 0x64]
xor eax, eax
push str.size_of_stack_commit
push dword [esi + 0x10]
push eax
push ecx
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x1001d236
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
jmp 0x1001d23b
mov ecx, dword [eax + 0x68]
xor eax, eax
push str.size_of_heap_reserve
push dword [esi + 0x10]
push eax
push ecx
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x1001d25e
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
jmp 0x1001d263
mov ecx, dword [eax + 0x6c]
xor eax, eax
push str.size_of_heap_commit
push dword [esi + 0x10]
push eax
push ecx
call fcn.1000c9d0
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x1001d286
mov eax, dword [eax + 0x80]
jmp 0x1001d289
mov eax, dword [eax + 0x70]
push str.loader_flags
push dword [esi + 0x10]
push 0
push eax
call fcn.1000c9d0
mov edx, dword [esi + 8]
add esp, 0x10
mov edi, 0x78
mov eax, 0x88
movzx ecx, word [edx + 0x18]
cmp cx, bx
cmovne eax, edi
lea edi, [eax + edx]
jne 0x1001d2c0
mov ecx, dword [edx + 0x84]
jmp 0x1001d2c3
mov ecx, dword [edx + 0x74]
mov eax, 0x10
cmp ecx, eax
cmovl eax, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x1001d31e
mov eax, dword [esi + 4]
cmp eax, 8
jb 0x1001d31e
mov ecx, dword [esi]
cmp edi, ecx
jb 0x1001d31e
add eax, 0xfffffff8
add eax, ecx
cmp edi, eax
ja 0x1001d31e
push ebx
push str.data_directories__i_.virtual_address
push dword [esi + 0x10]
push 0
push dword [edi]
call fcn.1000c9d0
push ebx
push str.data_directories__i_.size
push dword [esi + 0x10]
push 0
push dword [edi + 4]
call fcn.1000c9d0
inc ebx
add esp, 0x28
add edi, 8
cmp ebx, dword [ebp - 0x1c]
jl 0x1001d2d6
push 2
push esi
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
call fcn.10028310
add esp, 8
test eax, eax
je 0x1001d3e9
mov eax, dword [eax]
test eax, eax
je 0x1001d3e9
push 0
push eax
push esi
call fcn.10028510
add esp, 0xc
mov ebx, eax
test edx, edx
jl 0x1001d3e9
jg 0x1001d36c
test ebx, ebx
jb 0x1001d3e9
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edi, [ebx + eax]
cmp ecx, 0x10
jb 0x1001d3e9
cmp edi, eax
jb 0x1001d3e9
add eax, 0xfffffff0
add eax, ecx
cmp edi, eax
ja 0x1001d3e9
push str.resource_timestamp
push dword [esi + 0x10]
push 0
push dword [edi + 4]
call fcn.1000c9d0
movzx eax, word [edi + 8]
push str.resource_version.major
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.1000c9d0
movzx eax, word [edi + 0xa]
push str.resource_version.minor
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.1000c9d0
push esi
push 0x1001c830
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 0
add eax, ebx
push eax
push edi
push esi
call fcn.100196a0
add esp, 0x60
push str.number_of_resources
push dword [esi + 0x10]
push 0
push dword [esi + 0x18]
call fcn.1000c9d0
mov ecx, dword [esi + 8]
add esp, 0x10
movzx eax, word [ecx + 0x14]
lea edi, [ecx + 0x18]
add edi, eax
movzx eax, word [ecx + 6]
cmp eax, 0x60
jb 0x1001d418
mov eax, 0x60
mov edx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1001d5ab
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov eax, dword [esi + 4]
cmp eax, 0x28
jb 0x1001d5ba
mov edx, dword [ebp - 0x24]
cmp edi, dword [esi]
jb 0x1001d5ba
mov ecx, dword [esi]
add ecx, 0xffffffd8
add eax, ecx
mov ecx, dword [ebp - 0x20]
cmp edi, eax
ja 0x1001d5ba
push 8
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10037f00
lea ecx, [ebp - 0x10]
mov byte [ebp - 8], 0
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d482
push ebx
push str.sections__i_.name
push dword [esi + 0x10]
sub ecx, edx
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.1000ca20
push ebx
push str.sections__i_.characteristics
push dword [esi + 0x10]
push 0
push dword [edi + 0x24]
call fcn.1000c9d0
push ebx
push str.sections__i_.raw_data_size
push dword [esi + 0x10]
push 0
push dword [edi + 0x10]
call fcn.1000c9d0
push ebx
push str.sections__i_.raw_data_offset
push dword [esi + 0x10]
push 0
push dword [edi + 0x14]
call fcn.1000c9d0
add esp, 0x50
push ebx
push str.sections__i_.virtual_address
push dword [esi + 0x10]
push 0
push dword [edi + 0xc]
call fcn.1000c9d0
push ebx
push str.sections__i_.virtual_size
push dword [esi + 0x10]
push 0
push dword [edi + 8]
call fcn.1000c9d0
push ebx
push str.sections__i_.pointer_to_relocations
push dword [esi + 0x10]
push 0
push dword [edi + 0x18]
call fcn.1000c9d0
push ebx
push str.sections__i_.pointer_to_line_numbers
push dword [esi + 0x10]
push 0
push dword [edi + 0x1c]
call fcn.1000c9d0
movzx eax, word [edi + 0x20]
add esp, 0x50
cdq
push ebx
push str.sections__i_.number_of_relocations
push dword [esi + 0x10]
push edx
push eax
call fcn.1000c9d0
movzx eax, word [edi + 0x22]
push ebx
push str.sections__i_.number_of_line_numbers
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.1000c9d0
mov eax, dword [edi + 0x14]
add esp, 0x28
add eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, ecx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, edx
adc eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], eax
jb 0x1001d59c
ja 0x1001d588
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jbe 0x1001d59c
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
inc ebx
add edi, 0x28
cmp ebx, dword [ebp - 0x1c]
jl 0x1001d440
jmp 0x1001d5ba
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x14]
mov eax, ecx
mov dword [ebp - 0x20], ecx
adc edx, dword [ebp - 0x18]
or eax, edx
mov dword [ebp - 0x24], edx
pop ebx
je 0x1001d619
mov eax, dword [esi + 4]
xor edi, edi
cmp edi, edx
jb 0x1001d5f7
ja 0x1001d5dc
cmp eax, ecx
jbe 0x1001d5f7
push str.overlay.offset
push dword [esi + 0x10]
push edx
push ecx
call fcn.1000c9d0
mov eax, dword [esi + 4]
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
xor edi, edi
cmp edi, edx
jb 0x1001d619
ja 0x1001d603
cmp eax, ecx
jb 0x1001d619
push str.overlay.size
push dword [esi + 0x10]
sub eax, ecx
sbb edi, edx
push edi
push eax
call fcn.1000c9d0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003332b
mov esp, ebp
pop ebp
ret