Function at 0x672894c4
Capabilities:
Enumerate pe sections
Get system information on windows
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x20], eax
mov eax, dword [0x675a402c]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 4], 0x40
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.67288440
test eax, eax
jne 0x67289562
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x67289592
mov dword [esp], 0xc1
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x3c]
add eax, 0xf8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.67288440
test eax, eax
jne 0x672895bc
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x3c]
add eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x672895f7
mov dword [esp], 0xc1
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x5c]
movzx eax, word [eax + 4]
cmp ax, 0x14c
je 0x67289620
mov dword [esp], 0xc1
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x38]
and eax, 1
test eax, eax
je 0x67289649
mov dword [esp], 0xc1
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x5c]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [esp + 0x5c]
add eax, edx
add eax, 0x18
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], 0
jmp 0x672896c4
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x67289694
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x50], eax
jmp 0x672896a8
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x4c]
jbe 0x672896ba
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
add dword [esp + 0x48], 1
add dword [esp + 0x44], 0x28
mov eax, dword [esp + 0x5c]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [esp + 0x48], eax
jb 0x67289676
lea eax, [esp + 0x78]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call eax
sub esp, 4
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x50]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.67288138
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.67288138
cmp dword [esp + 0x64], eax
je 0x67289736
mov dword [esp], 0xc1
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x34]
mov edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [esp + 0x34]
call eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
jne 0x672897c6
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [esp + 0x34]
call eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
jne 0x672897c6
mov dword [esp], 0xe
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 8
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
sub esp, 0xc
mov dword [esp + 0x54], eax
cmp dword [esp + 0x54], 0
jne 0x67289835
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
call eax
mov dword [esp], 0xe
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
mov eax, 0
jmp 0x67289ab2
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x5c]
movzx eax, word [eax + 0x16]
movzx eax, ax
and eax, 0x2000
test eax, eax
setne al
movzx edx, al
mov eax, dword [esp + 0x54]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov dword [eax + 0x20], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov dword [eax + 0x2c], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x54]
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.67288440
test eax, eax
je 0x67289a94
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x54]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x68]
add edx, eax
mov eax, dword [esp + 0x54]
mov dword [eax], edx
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.6728849c
test eax, eax
je 0x67289a97
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x34]
mov eax, edx
sub eax, ecx
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x6c], 0
je 0x672899a8
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.67289dd4
mov edx, dword [esp + 0x54]
mov dword [edx + 0x18], eax
jmp 0x672899b3
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], 1
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.67288180
test eax, eax
je 0x67289a9a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.67288910
test eax, eax
je 0x67289a9d
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.672886b8
test eax, eax
je 0x67289aa0
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x67289a83
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x67289a69
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x70], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
call eax
sub esp, 0xc
mov dword [esp + 0x74], eax
cmp dword [esp + 0x74], 0
jne 0x67289a5c
mov dword [esp], 0x45a
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
jmp 0x67289aa1
mov eax, dword [esp + 0x54]
mov dword [eax + 0x10], 1
jmp 0x67289a8e
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x40]
add eax, edx
mov edx, eax
mov eax, dword [esp + 0x54]
mov dword [eax + 0x38], edx
jmp 0x67289a8e
mov eax, dword [esp + 0x54]
mov dword [eax + 0x38], 0
mov eax, dword [esp + 0x54]
jmp 0x67289ab2
nop
jmp 0x67289aa1
nop
jmp 0x67289aa1
nop
jmp 0x67289aa1
nop
jmp 0x67289aa1
nop
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.67289014
mov eax, 0
mov ecx, dword [esp + 0x9c]
sub ecx, dword [0x675a402c]
je 0x67289ac6
call fcn.672815c0
add esp, 0xac
ret