Function at 0x101d5a60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, 0x108c9974
call fcn.10296940
nop
cmp dword [ebp + 8], 0
jne 0x101d5a7e
xor eax, eax
jmp 0x101d5c5e
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 0x101d5a9e
xor eax, eax
jmp 0x101d5c5e
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 0x101d5abc
xor eax, eax
jmp 0x101d5c5e
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.1004ff30
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 0x101d5af7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x30]
jae 0x101d5c5c
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x3f
je 0x101d5bd3
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x30
jl 0x101d5b51
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
cmp edx, 0x39
jg 0x101d5b51
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 0x101d5b69
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 0x101d5ba8
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x101d5ba8
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 0x101d5bc0
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 0x101d5c39
cmp dword [ebp - 8], 0
jne 0x101d5bdf
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 0x101d5bf6
mov eax, dword [ebp - 8]
jmp 0x101d5c5e
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x3f3f
je 0x101d5c18
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x3f
jne 0x101d5c18
mov dword [ebp - 0x24], 2
jmp 0x101d5c1f
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 0x101d5c37
mov eax, dword [ebp - 8]
jmp 0x101d5c5e
jmp 0x101d5c57
cmp dword [ebp - 8], 0
je 0x101d5c57
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
call fcn.1004ce60
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x101d5aee
xor eax, eax
mov esp, ebp
pop ebp
ret