Function at 0x10065560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov ecx, dword [ebp + 8]
call fcn.10019cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10065597
push 0x1009bf4c
push 0x1009bf64
call fcn.1006b780
add esp, 8
xor eax, eax
jmp 0x100657c7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x100655c9
push 0x1009bf94
push 0x1009bfac
call fcn.1006b780
add esp, 8
xor eax, eax
jmp 0x100657c7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
je 0x100655f9
push 0x1009bfe8
push 0x1009c000
call fcn.1006b780
add esp, 8
xor eax, eax
jmp 0x100657c7
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x50]
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
call fcn.10019cc0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], ecx
jmp 0x1006562e
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x30]
jae 0x10065795
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
je 0x1006570a
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x10065688
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x10065688
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
sub edx, 0x30
mov dword [ebp - 0x20], edx
jmp 0x100656a0
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x20], eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x100656df
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x39
jg 0x100656df
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
sub eax, 0x30
mov dword [ebp - 0x24], eax
jmp 0x100656f7
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x20]
shl eax, 4
or eax, dword [ebp - 0x24]
cmp edx, eax
jne 0x10065772
cmp dword [ebp - 8], 0
jne 0x10065716
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
test ecx, ecx
jne 0x10065730
mov eax, dword [ebp - 8]
jmp 0x100657c7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x3f3f
je 0x10065751
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
jne 0x10065751
mov dword [ebp - 0x28], 2
jmp 0x10065758
mov dword [ebp - 0x28], 3
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
test edx, edx
jne 0x10065770
mov eax, dword [ebp - 8]
jmp 0x100657c7
jmp 0x10065790
cmp dword [ebp - 8], 0
je 0x10065790
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.10019cc0
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x10065625
mov ecx, dword [ebp + 8]
call fcn.10019cc0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0xc]
call fcn.10019cc0
mov dword [ebp - 0x38], eax
push 0x1009c040
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push str.Signature__s_in_module__s_not_found__Horizon::Memory::_s_
call fcn.1006b800
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret