Function at 0x101553f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov ecx, 0x1027832f
call fcn.101722b0
cmp dword [ebp + 8], 0
jne 0x10155422
push str.Horizon::Memory::Scan
push str.GetModuleHandleA_failed__Horizon::Memory::_s_
call fcn.10169220
add esp, 8
xor eax, eax
jmp 0x1015563f
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10155455
push str.Horizon::Memory::Scan
push str.IMAGE_DOS_HEADER::e_magic_is_invalid__Horizon::Memory::_s_
call fcn.10169220
add esp, 8
xor eax, eax
jmp 0x1015563f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
je 0x10155485
push str.Horizon::Memory::Scan
push str.IMAGE_NT_HEADERS::Signature_is_invalid__Horizon::Memory::_s_
call fcn.10169220
add esp, 8
xor eax, eax
jmp 0x1015563f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x50]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 0xc]
call fcn.100231f0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
jmp 0x101554ba
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jae 0x10155622
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
cmp ecx, 0x3f
je 0x10155596
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x10155514
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x10155514
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
sub edx, 0x30
mov dword [ebp - 0x64], edx
jmp 0x1015552c
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x64], eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x1015556b
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
cmp eax, 0x39
jg 0x1015556b
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
sub eax, 0x30
mov dword [ebp - 0x68], eax
jmp 0x10155583
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x64]
shl eax, 4
or eax, dword [ebp - 0x68]
cmp edx, eax
jne 0x101555ff
cmp dword [ebp - 0x18], 0
jne 0x101555a2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax]
test edx, edx
jne 0x101555bc
mov eax, dword [ebp - 0x18]
jmp 0x1015563f
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax]
cmp ecx, 0x3f3f
je 0x101555de
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
cmp eax, 0x3f
jne 0x101555de
mov dword [ebp - 0x64], 2
jmp 0x101555e5
mov dword [ebp - 0x64], 3
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x101555fd
mov eax, dword [ebp - 0x18]
jmp 0x1015563f
jmp 0x1015561d
cmp dword [ebp - 0x18], 0
je 0x1015561d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
call fcn.100231f0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
jmp 0x101554b1
push str.Horizon::Memory::Scan
mov ecx, dword [ebp + 0xc]
call fcn.100231f0
push eax
push str.Signature__s_not_found__Horizon::Memory::_s_
call fcn.101692b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret