Function at 0x101dcf30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, 0x108ce978
call fcn.10297320
nop
cmp dword [ebp + 8], 0
jne 0x101dcf4e
xor eax, eax
jmp 0x101dd12e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x101dcf6e
xor eax, eax
jmp 0x101dd12e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
je 0x101dcf8c
xor eax, eax
jmp 0x101dd12e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
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.1004d8e0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], edx
jmp 0x101dcfc7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x30]
jae 0x101dd12c
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x3f
je 0x101dd0a3
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x30
jl 0x101dd021
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
cmp edx, 0x39
jg 0x101dd021
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
sub eax, 0x30
mov dword [ebp - 0x1c], eax
jmp 0x101dd039
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
and ecx, 0xffffffdf
sub ecx, 0x37
mov dword [ebp - 0x1c], ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x30
jl 0x101dd078
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x101dd078
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
sub ecx, 0x30
mov dword [ebp - 0x20], ecx
jmp 0x101dd090
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
and ecx, 0xffffffdf
sub ecx, 0x37
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
or ecx, dword [ebp - 0x20]
cmp eax, ecx
jne 0x101dd109
cmp dword [ebp - 8], 0
jne 0x101dd0af
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
test edx, edx
jne 0x101dd0c6
mov eax, dword [ebp - 8]
jmp 0x101dd12e
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x3f3f
je 0x101dd0e8
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x3f
jne 0x101dd0e8
mov dword [ebp - 0x24], 2
jmp 0x101dd0ef
mov dword [ebp - 0x24], 3
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
test eax, eax
jne 0x101dd107
mov eax, dword [ebp - 8]
jmp 0x101dd12e
jmp 0x101dd127
cmp dword [ebp - 8], 0
je 0x101dd127
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
call fcn.1004a840
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x101dcfbe
xor eax, eax
mov esp, ebp
pop ebp
ret