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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10390724]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push str.is_pe
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x38], xmm0
push dword [edi + 0x10]
push 0
push 1
call fcn.100efe50
mov eax, dword [edi + 8]
push str.machine
push dword [edi + 0x10]
movzx eax, word [eax + 4]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.number_of_sections
push dword [edi + 0x10]
movzx eax, word [eax + 6]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.timestamp
push dword [edi + 0x10]
push 0
push dword [eax + 8]
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
push str.pointer_to_symbol_table
push dword [edi + 0x10]
push 0
push dword [eax + 0xc]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.number_of_symbols
push dword [edi + 0x10]
push 0
push dword [eax + 0x10]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.size_of_optional_header
push dword [edi + 0x10]
movzx eax, word [eax + 0x14]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.characteristics
push dword [edi + 0x10]
movzx eax, word [eax + 0x16]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
xor edx, edx
test byte [ebp + 0x14], 2
mov eax, dword [eax + 0x28]
je 0x100fc58a
add eax, dword [ebp + 0xc]
adc edx, dword [ebp + 0x10]
jmp 0x100fc595
push edx
push eax
push edi
call fcn.1011a020
add esp, 0xc
push ebx
push str.entry_point
push dword [edi + 0x10]
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.entry_point_raw
push dword [edi + 0x10]
push 0
push dword [eax + 0x28]
call fcn.100efe50
mov eax, dword [edi + 8]
mov ebx, 0x20b
add esp, 0x20
mov dword [ebp - 0x1c], ebx
cmp word [eax + 0x18], bx
jne 0x100fc5d6
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
jmp 0x100fc5db
mov ecx, dword [eax + 0x34]
xor eax, eax
push str.image_base
push dword [edi + 0x10]
push eax
push ecx
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x100fc5fe
mov eax, dword [eax + 0x84]
jmp 0x100fc601
mov eax, dword [eax + 0x74]
push str.number_of_rva_and_sizes
push dword [edi + 0x10]
push 0
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.opthdr_magic
push dword [edi + 0x10]
movzx eax, word [eax + 0x18]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.linker_version.major
push dword [edi + 0x10]
movzx eax, byte [eax + 0x1a]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.linker_version.minor
push dword [edi + 0x10]
movzx eax, byte [eax + 0x1b]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
push str.size_of_code
push dword [edi + 0x10]
push 0
push dword [eax + 0x1c]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.size_of_initialized_data
push dword [edi + 0x10]
push 0
push dword [eax + 0x20]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.size_of_uninitialized_data
push dword [edi + 0x10]
push 0
push dword [eax + 0x24]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.base_of_code
push dword [edi + 0x10]
push 0
push dword [eax + 0x2c]
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
cmp word [eax + 0x18], bx
je 0x100fc6d1
push str.base_of_data
push dword [edi + 0x10]
push 0
push dword [eax + 0x30]
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x10
push str.section_alignment
push dword [edi + 0x10]
push 0
push dword [eax + 0x38]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.file_alignment
push dword [edi + 0x10]
push 0
push dword [eax + 0x3c]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.os_version.major
push dword [edi + 0x10]
movzx eax, word [eax + 0x40]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.os_version.minor
push dword [edi + 0x10]
movzx eax, word [eax + 0x42]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
movzx eax, word [eax + 0x44]
push str.image_version.major
push dword [edi + 0x10]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.image_version.minor
push dword [edi + 0x10]
movzx eax, word [eax + 0x46]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.subsystem_version.major
push dword [edi + 0x10]
movzx eax, word [eax + 0x48]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.subsystem_version.minor
push dword [edi + 0x10]
movzx eax, word [eax + 0x4a]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
push str.win32_version_value
push dword [edi + 0x10]
push 0
push dword [eax + 0x4c]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.size_of_image
push dword [edi + 0x10]
push 0
push dword [eax + 0x50]
call fcn.100efe50
mov eax, dword [edi + 8]
push str.size_of_headers
push dword [edi + 0x10]
push 0
push dword [eax + 0x54]
call fcn.100efe50
push 0x102799a8
push dword [edi + 0x10]
mov eax, dword [edi + 8]
push 0
push dword [eax + 0x58]
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x40
movzx eax, word [eax + 0x5c]
push str.subsystem
push dword [edi + 0x10]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
push str.dll_characteristics
push dword [edi + 0x10]
movzx eax, word [eax + 0x5e]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x20
mov ecx, dword [eax + 0x60]
cmp word [eax + 0x18], bx
jne 0x100fc821
mov eax, dword [eax + 0x64]
jmp 0x100fc823
xor eax, eax
push str.size_of_stack_reserve
push dword [edi + 0x10]
push eax
push ecx
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x100fc846
mov ecx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
jmp 0x100fc84b
mov ecx, dword [eax + 0x64]
xor eax, eax
push str.size_of_stack_commit
push dword [edi + 0x10]
push eax
push ecx
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x100fc86e
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
jmp 0x100fc873
mov ecx, dword [eax + 0x68]
xor eax, eax
push str.size_of_heap_reserve
push dword [edi + 0x10]
push eax
push ecx
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x100fc896
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
jmp 0x100fc89b
mov ecx, dword [eax + 0x6c]
xor eax, eax
push str.size_of_heap_commit
push dword [edi + 0x10]
push eax
push ecx
call fcn.100efe50
mov eax, dword [edi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x100fc8be
mov eax, dword [eax + 0x80]
jmp 0x100fc8c1
mov eax, dword [eax + 0x70]
push str.loader_flags
push dword [edi + 0x10]
push 0
push eax
call fcn.100efe50
mov edx, dword [edi + 8]
add esp, 0x10
mov ebx, 0x78
mov eax, 0x88
movzx ecx, word [edx + 0x18]
cmp cx, word [ebp - 0x1c]
cmovne eax, ebx
lea ebx, [eax + edx]
mov eax, 0x20b
cmp cx, ax
jne 0x100fc901
mov ecx, dword [edx + 0x84]
jmp 0x100fc904
mov ecx, dword [edx + 0x74]
mov eax, 0x10
cmp ecx, eax
cmovl eax, ecx
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x100fc970
nop word [eax + eax]
mov eax, dword [edi + 4]
cmp eax, 8
jb 0x100fc970
mov edx, dword [edi]
cmp ebx, edx
jb 0x100fc970
add eax, 0xfffffff8
add eax, edx
cmp ebx, eax
ja 0x100fc970
push ecx
push str.data_directories__i_.virtual_address
push dword [edi + 0x10]
push 0
push dword [ebx]
call fcn.100efe50
push dword [ebp - 0x18]
push str.data_directories__i_.size
push dword [edi + 0x10]
push 0
push dword [ebx + 4]
call fcn.100efe50
mov ecx, dword [ebp - 0x18]
add esp, 0x28
inc ecx
add ebx, 8
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x1c]
jl 0x100fc920
push 2
push edi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
call fcn.10119e20
add esp, 8
test eax, eax
je 0x100fca3f
mov eax, dword [eax]
test eax, eax
je 0x100fca3f
push 0
push eax
push edi
call fcn.1011a020
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x20], ecx
test edx, edx
jl 0x100fca3f
jg 0x100fc9c1
test ecx, ecx
jb 0x100fca3f
mov eax, dword [edi]
lea ebx, [ecx + eax]
mov ecx, dword [edi + 4]
cmp ecx, 0x10
jb 0x100fca3f
cmp ebx, eax
jb 0x100fca3f
add eax, 0xfffffff0
add eax, ecx
cmp ebx, eax
ja 0x100fca3f
push str.resource_timestamp
push dword [edi + 0x10]
push 0
push dword [ebx + 4]
call fcn.100efe50
movzx eax, word [ebx + 8]
push str.resource_version.major
push dword [edi + 0x10]
cdq
push edx
push eax
call fcn.100efe50
movzx eax, word [ebx + 0xa]
push str.resource_version.minor
push dword [edi + 0x10]
cdq
push edx
push eax
call fcn.100efe50
push edi
push 0x100fbcf0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi]
add eax, dword [ebp - 0x20]
push 0
push eax
push ebx
push edi
call fcn.100f7550
add esp, 0x60
push str.number_of_resources
push dword [edi + 0x10]
push 0
push dword [edi + 0x18]
call fcn.100efe50
mov ecx, dword [edi + 8]
add esp, 0x10
movzx eax, word [ecx + 0x14]
lea ebx, [ecx + 0x18]
add ebx, eax
movzx eax, word [ecx + 6]
cmp eax, 0x60
jae 0x100fca84
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x100fca8b
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x38]
jmp 0x100fcc36
mov dword [ebp - 0x1c], 0x60
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
nop word [eax + eax]
mov eax, dword [edi + 4]
cmp eax, 0x28
jb 0x100fcc33
mov edx, dword [ebp - 0x20]
cmp ebx, dword [edi]
jb 0x100fcc33
mov ecx, dword [edi]
add ecx, 0xffffffd8
add eax, ecx
mov ecx, dword [ebp - 0x24]
cmp ebx, eax
ja 0x100fcc33
push 8
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10259620
lea eax, [ebp - 0x10]
mov byte [ebp - 8], 0
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100fcaf2
push dword [ebp - 0x14]
sub eax, edx
push str.sections__i_.name
push dword [edi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100efec0
push dword [ebp - 0x14]
push str.sections__i_.characteristics
push dword [edi + 0x10]
push 0
push dword [ebx + 0x24]
call fcn.100efe50
push dword [ebp - 0x14]
push str.sections__i_.raw_data_size
push dword [edi + 0x10]
push 0
push dword [ebx + 0x10]
call fcn.100efe50
push dword [ebp - 0x14]
push str.sections__i_.raw_data_offset
push dword [edi + 0x10]
push 0
push dword [ebx + 0x14]
call fcn.100efe50
add esp, 0x50
push dword [ebp - 0x14]
push str.sections__i_.virtual_address
push dword [edi + 0x10]
push 0
push dword [ebx + 0xc]
call fcn.100efe50
push dword [ebp - 0x14]
push str.sections__i_.virtual_size
push dword [edi + 0x10]
push 0
push dword [ebx + 8]
call fcn.100efe50
push dword [ebp - 0x14]
push str.sections__i_.pointer_to_relocations
push dword [edi + 0x10]
push 0
push dword [ebx + 0x18]
call fcn.100efe50
push dword [ebp - 0x14]
push str.sections__i_.pointer_to_line_numbers
push dword [edi + 0x10]
push 0
push dword [ebx + 0x1c]
call fcn.100efe50
movzx eax, word [ebx + 0x20]
add esp, 0x50
cdq
push dword [ebp - 0x14]
push str.sections__i_.number_of_relocations
push dword [edi + 0x10]
push edx
push eax
call fcn.100efe50
push dword [ebp - 0x14]
movzx eax, word [ebx + 0x22]
push str.sections__i_.number_of_line_numbers
push dword [edi + 0x10]
cdq
push edx
push eax
call fcn.100efe50
mov eax, dword [ebx + 0x14]
add esp, 0x28
add eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, ecx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, edx
adc eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], eax
jb 0x100fcc20
ja 0x100fcc0c
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jbe 0x100fcc20
mov ecx, dword [ebx + 0x14]
xor edx, edx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x14]
add ebx, 0x28
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x1c]
jl 0x100fcab0
mov eax, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
adc edx, eax
mov eax, ecx
or eax, edx
mov dword [ebp - 0x20], edx
pop ebx
je 0x100fcc74
xor eax, eax
cmp eax, edx
jb 0x100fcc74
ja 0x100fcc55
cmp dword [edi + 4], ecx
jbe 0x100fcc74
push str.overlay.offset
push dword [edi + 0x10]
push edx
push ecx
call fcn.100efe50
mov ecx, dword [edi + 4]
add esp, 0x10
xor edx, edx
sub ecx, dword [ebp - 0x24]
sbb edx, dword [ebp - 0x20]
jmp 0x100fcc96
push str.overlay.offset
push dword [edi + 0x10]
push 0
push 0
call fcn.100efe50
xorps xmm0, xmm0
add esp, 0x10
movlpd qword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x10]
push str.overlay.size
push eax
push edx
push ecx
call fcn.100efe50
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.10249257
mov esp, ebp
pop ebp
ret