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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x30215e88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xorps xmm0, xmm0
push str.is_pe
mov ebx, edx
mov dword [ebp - 0x5c], esi
movlpd qword [ebp - 0x50], xmm0
push dword [esi + 0x10]
movlpd qword [ebp - 0x30], xmm0
push 0
push 1
call fcn.30055d50
mov eax, dword [esi + 8]
push str.machine
push dword [esi + 0x10]
movzx eax, word [eax + 4]
cdq
push edx
push eax
call fcn.30055d50
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.30055d50
mov eax, dword [esi + 8]
push str.timestamp
push dword [esi + 0x10]
push 0
push dword [eax + 8]
call fcn.30055d50
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.30055d50
mov eax, dword [esi + 8]
push str.number_of_symbols
push dword [esi + 0x10]
push 0
push dword [eax + 0x10]
call fcn.30055d50
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.30055d50
mov eax, dword [esi + 8]
push str.characteristics
push dword [esi + 0x10]
movzx eax, word [eax + 0x16]
cdq
push edx
push eax
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x40
xor edx, edx
mov eax, dword [eax + 0x28]
test bl, 2
je 0x30063b3e
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
jmp 0x30063b4a
push edx
push eax
mov ecx, esi
call fcn.30084f40
add esp, 8
push str.entry_point
push dword [esi + 0x10]
push edx
push eax
call fcn.30055d50
mov eax, dword [esi + 8]
push str.entry_point_raw
push dword [esi + 0x10]
push 0
push dword [eax + 0x28]
call fcn.30055d50
mov eax, dword [esi + 8]
mov ebx, 0x20b
add esp, 0x20
cmp word [eax + 0x18], bx
jne 0x30063b87
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
jmp 0x30063b8c
mov ecx, dword [eax + 0x34]
xor eax, eax
push str.image_base
push dword [esi + 0x10]
push eax
push ecx
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x30063baf
mov eax, dword [eax + 0x84]
jmp 0x30063bb2
mov eax, dword [eax + 0x74]
push str.number_of_rva_and_sizes
push dword [esi + 0x10]
push 0
push eax
call fcn.30055d50
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.30055d50
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.30055d50
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.30055d50
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.30055d50
mov eax, dword [esi + 8]
push str.size_of_initialized_data
push dword [esi + 0x10]
push 0
push dword [eax + 0x20]
call fcn.30055d50
mov eax, dword [esi + 8]
push str.size_of_uninitialized_data
push dword [esi + 0x10]
push 0
push dword [eax + 0x24]
call fcn.30055d50
mov eax, dword [esi + 8]
push str.base_of_code
push dword [esi + 0x10]
push 0
push dword [eax + 0x2c]
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x40
cmp word [eax + 0x18], bx
je 0x30063c82
push str.base_of_data
push dword [esi + 0x10]
push 0
push dword [eax + 0x30]
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x10
push str.section_alignment
push dword [esi + 0x10]
push 0
push dword [eax + 0x38]
call fcn.30055d50
mov eax, dword [esi + 8]
push str.file_alignment
push dword [esi + 0x10]
push 0
push dword [eax + 0x3c]
call fcn.30055d50
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.30055d50
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.30055d50
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.30055d50
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.30055d50
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.30055d50
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.30055d50
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.30055d50
mov eax, dword [esi + 8]
push str.size_of_image
push dword [esi + 0x10]
push 0
push dword [eax + 0x50]
call fcn.30055d50
mov eax, dword [esi + 8]
push str.size_of_headers
push dword [esi + 0x10]
push 0
push dword [eax + 0x54]
call fcn.30055d50
push str.checksum
push dword [esi + 0x10]
mov eax, dword [esi + 8]
push 0
push dword [eax + 0x58]
call fcn.30055d50
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.30055d50
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.30055d50
mov eax, dword [esi + 8]
add esp, 0x20
mov ecx, dword [eax + 0x60]
cmp word [eax + 0x18], bx
jne 0x30063dd2
mov eax, dword [eax + 0x64]
jmp 0x30063dd4
xor eax, eax
push str.size_of_stack_reserve
push dword [esi + 0x10]
push eax
push ecx
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x30063df7
mov ecx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
jmp 0x30063dfc
mov ecx, dword [eax + 0x64]
xor eax, eax
push str.size_of_stack_commit
push dword [esi + 0x10]
push eax
push ecx
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x30063e1f
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
jmp 0x30063e24
mov ecx, dword [eax + 0x68]
xor eax, eax
push str.size_of_heap_reserve
push dword [esi + 0x10]
push eax
push ecx
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x30063e47
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
jmp 0x30063e4c
mov ecx, dword [eax + 0x6c]
xor eax, eax
push str.size_of_heap_commit
push dword [esi + 0x10]
push eax
push ecx
call fcn.30055d50
mov eax, dword [esi + 8]
add esp, 0x10
cmp word [eax + 0x18], bx
jne 0x30063e6f
mov eax, dword [eax + 0x80]
jmp 0x30063e72
mov eax, dword [eax + 0x70]
push str.loader_flags
push dword [esi + 0x10]
push 0
push eax
call fcn.30055d50
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 0x30063ea9
mov ecx, dword [edx + 0x84]
jmp 0x30063eac
mov ecx, dword [edx + 0x74]
mov eax, 0x10
cmp ecx, eax
cmovl eax, ecx
xor ebx, ebx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x30063f0b
nop
mov eax, dword [esi + 4]
cmp eax, 8
jb 0x30063f0b
mov ecx, dword [esi]
cmp edi, ecx
jb 0x30063f0b
add eax, 0xfffffff8
add eax, ecx
cmp edi, eax
ja 0x30063f0b
push ebx
push str.data_directories__i_.virtual_address
push dword [esi + 0x10]
push 0
push dword [edi]
call fcn.30055d50
add esp, 0x14
push ebx
push str.data_directories__i_.size
push dword [esi + 0x10]
push 0
push dword [edi + 4]
call fcn.30055d50
inc ebx
add esp, 0x14
add edi, 8
cmp ebx, dword [ebp - 0x24]
jl 0x30063ec0
mov eax, dword [esi + 8]
mov edi, 0x20b
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
movzx edx, word [eax + 0x18]
cmp dx, di
jne 0x30063f39
mov ecx, dword [eax + 0x84]
jmp 0x30063f3c
mov ecx, dword [eax + 0x74]
cmp ecx, 2
jb 0x30064029
cmp dx, di
mov ecx, 0x98
mov edx, 0x88
cmovne ecx, edx
add ecx, eax
mov eax, dword [esi + 4]
cmp eax, 8
jb 0x30064029
mov ebx, dword [esi]
cmp ecx, ebx
jb 0x30064029
add eax, ebx
mov dword [ebp - 0x24], eax
add eax, 0xfffffff8
cmp ecx, eax
ja 0x30064029
test ecx, ecx
je 0x30064029
mov eax, dword [ecx]
test eax, eax
je 0x30064029
push 0
push eax
mov ecx, esi
call fcn.30084f40
add esp, 8
mov dword [ebp - 0x1c], eax
test edx, edx
jl 0x30064029
jg 0x30063fad
test eax, eax
jb 0x30064029
cmp dword [esi + 4], 0x10
lea edi, [eax + ebx]
jb 0x30064029
cmp edi, ebx
jb 0x30064029
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
cmp edi, eax
ja 0x30064029
push str.resource_timestamp
push dword [esi + 0x10]
push 0
push dword [edi + 4]
call fcn.30055d50
movzx eax, word [edi + 8]
push str.resource_version.major
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.30055d50
movzx eax, word [edi + 0xa]
push str.resource_version.minor
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.30055d50
add esp, 0x30
lea eax, [ebp - 0x20]
mov edx, edi
push esi
push ecx
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
add eax, dword [ebp - 0x1c]
push 0
push eax
call fcn.300610d0
add esp, 0x28
push str.number_of_resources
push dword [esi + 0x10]
push 0
push dword [esi + 0x1c]
call fcn.30055d50
push str.number_of_version_infos
push dword [esi + 0x10]
push 0
push dword [esi + 0x20]
call fcn.30055d50
mov ecx, dword [esi + 8]
add esp, 0x20
movzx eax, word [ecx + 0x14]
lea ebx, [ecx + 0x18]
add ebx, eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x20], ebx
cmp eax, 0x60
jb 0x3006406d
mov eax, 0x60
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0
test eax, eax
je 0x3006433b
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], edx
nop word [eax + eax]
mov eax, dword [esi + 4]
cmp eax, 0x28
jb 0x3006434f
mov ecx, dword [esi]
cmp ebx, ecx
jb 0x3006434c
add eax, 0xffffffd8
add eax, ecx
cmp ebx, eax
ja 0x3006434c
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov eax, 7
mov byte [ebp - 8], 0
cmp byte [ebp + eax - 0x10], 0
jne 0x300640e3
sub eax, 1
jns 0x300640d7
mov edx, dword [esi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
movlpd qword [ebp - 0x58], xmm0
mov edi, dword [edx + 0xc]
mov ecx, edi
or ecx, 0
je 0x300641d8
cmp byte [ebp - 0x10], 0x2f
jne 0x300641d8
mov eax, dword [edx + 0x10]
mov ecx, 0x12
mul ecx
add eax, edi
mov dword [ebp - 0x4c], eax
mov eax, 1
adc edx, 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edx
movlpd qword [ebp - 0x48], xmm0
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
movsx edi, byte [ebp + eax - 0x10]
push edi
call fcn.30167290
add esp, 4
test eax, eax
je 0x3006416c
mov ecx, ebx
lea eax, [edi - 0x30]
mov edi, esi
cdq
shld edi, ecx, 2
shl ecx, 2
add ebx, ecx
adc esi, edi
shld esi, ebx, 1
add ebx, ebx
add ebx, eax
mov eax, dword [ebp - 0x18]
adc esi, edx
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 8
jl 0x30064131
mov esi, dword [ebp - 0x5c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov ecx, dword [esi]
add ecx, dword [ebp - 0x4c]
mov edx, dword [esi + 4]
add ecx, ebx
mov dword [ebp - 0x18], ecx
cmp edx, 1
jb 0x300641c9
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
nop
mov eax, dword [esi]
cmp ecx, eax
jb 0x300641c9
sub eax, edi
dec eax
add eax, edx
cmp ecx, eax
ja 0x300641c9
mov al, byte [edi + ecx]
test al, al
je 0x300641d0
movsx eax, al
push eax
call fcn.30167320
add esp, 4
test eax, eax
je 0x300641c9
mov edx, dword [esi + 4]
add edi, 1
mov ecx, dword [ebp - 0x18]
adc ebx, 0
lea eax, [edi + 1]
cmp eax, edx
jbe 0x30064190
mov edi, dword [ebp - 0x58]
xor ebx, ebx
jmp 0x300641e2
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x300641e2
inc eax
lea ebx, [ebp - 0x10]
cdq
mov edi, eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
push str.sections__i_.name
push dword [esi + 0x10]
inc ecx
push ecx
push eax
call fcn.30055df0
add esp, 0x14
push dword [ebp - 0x34]
push str.sections__i_.full_name
push dword [esi + 0x10]
push edi
push ebx
call fcn.30055df0
mov edi, dword [ebp - 0x34]
add esp, 0x14
mov ebx, dword [ebp - 0x20]
push edi
push str.sections__i_.characteristics
push dword [esi + 0x10]
push 0
push dword [ebx + 0x24]
call fcn.30055d50
add esp, 0x14
push edi
push str.sections__i_.raw_data_size
push dword [esi + 0x10]
push 0
push dword [ebx + 0x10]
call fcn.30055d50
add esp, 0x14
push edi
push str.sections__i_.raw_data_offset
push dword [esi + 0x10]
push 0
push dword [ebx + 0x14]
call fcn.30055d50
add esp, 0x14
push edi
push str.sections__i_.virtual_address
push dword [esi + 0x10]
push 0
push dword [ebx + 0xc]
call fcn.30055d50
add esp, 0x14
push edi
push str.sections__i_.virtual_size
push dword [esi + 0x10]
push 0
push dword [ebx + 8]
call fcn.30055d50
add esp, 0x14
push edi
push str.sections__i_.pointer_to_relocations
push dword [esi + 0x10]
push 0
push dword [ebx + 0x18]
call fcn.30055d50
add esp, 0x14
push edi
push str.sections__i_.pointer_to_line_numbers
push dword [esi + 0x10]
push 0
push dword [ebx + 0x1c]
call fcn.30055d50
movzx eax, word [ebx + 0x20]
add esp, 0x14
cdq
push edi
push str.sections__i_.number_of_relocations
push dword [esi + 0x10]
push edx
push eax
call fcn.30055d50
movzx eax, word [ebx + 0x22]
add esp, 0x14
push edi
push str.sections__i_.number_of_line_numbers
push dword [esi + 0x10]
cdq
push edx
push eax
call fcn.30055d50
mov eax, dword [ebx + 0x10]
add esp, 0x14
mov edx, dword [ebx + 0x14]
add eax, edx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
adc eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], eax
jb 0x30064320
ja 0x3006430d
cmp dword [ebp - 0x20], ecx
jbe 0x30064320
mov eax, dword [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], ecx
jmp 0x30064326
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
inc edi
add ebx, 0x28
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x24]
jl 0x300640a0
jmp 0x3006434f
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x3006434f
mov ecx, dword [ebp - 0x14]
add edx, dword [ebp - 0x38]
mov eax, edx
mov dword [ebp - 0x2c], edx
adc ecx, dword [ebp - 0x1c]
or eax, ecx
mov dword [ebp - 0x14], ecx
je 0x3006438d
xor eax, eax
cmp eax, ecx
jb 0x3006438d
ja 0x3006436e
cmp dword [esi + 4], edx
jbe 0x3006438d
push str.overlay.offset
push dword [esi + 0x10]
push ecx
push edx
call fcn.30055d50
mov ecx, dword [esi + 4]
add esp, 0x10
xor edx, edx
sub ecx, dword [ebp - 0x2c]
sbb edx, dword [ebp - 0x14]
jmp 0x300643af
push str.overlay.offset
push dword [esi + 0x10]
push 0
push 0
call fcn.30055d50
xorps xmm0, xmm0
add esp, 0x10
movlpd qword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi + 0x10]
push str.overlay.size
push eax
push edx
push ecx
call fcn.30055d50
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.30159c2d
mov esp, ebp
pop ebp
ret