Function at 0x180071f40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [rcx]
mov rdi, rdx
mov r10, rcx
lea eax, [r9 - 9]
lea r11, [0x180000000]
cmp eax, 0x75
ja case.0x180071f83.34
cdqe
mov ebx, 1
movzx eax, byte [r11 + rax + 0x726cc]
mov r8d, dword [r11 + rax*4 + 0x72664]
add r8, r11
jmp r8
movzx eax, byte [r10 + 1]
inc r10
test byte [rax + r11 + 0x97be0], bl
je 0x180071fb5
nop dword [rax + rax]
movzx eax, byte [r10 + 1]
inc r10
inc ebx
test byte [rax + r11 + 0x97be0], 1
jne 0x180071fa0
mov dword [rdx], 0x95
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [rcx + 1], 0x2d
jne 0x180072006
mov ecx, 2
add r10, rcx
movzx eax, byte [r10]
test eax, eax
je 0x180071ff3
nop
cmp eax, 0xa
je 0x180071ff3
movzx eax, byte [r10 + 1]
inc r10
inc ecx
test eax, eax
jne 0x180071fe0
mov dword [rdx], 0x95
mov eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x57
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x16
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x17
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x56
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x58
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [rcx + 1], 0x2a
jne 0x1800720bf
movzx eax, byte [rcx + 2]
test al, al
je 0x1800720bf
mov ecx, 3
movzx eax, al
add r10, rcx
nop dword [rax]
cmp eax, 0x2a
jne 0x18007209b
cmp byte [r10], 0x2f
je 0x1800720aa
movzx eax, byte [r10]
test eax, eax
je 0x1800720ac
inc ecx
inc r10
jmp 0x180072090
inc ecx
mov dword [rdx], 0x95
mov eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x59
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x5a
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x4c
xor edx, edx
cmp byte [rcx + 1], 0x3d
sete dl
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rcx + 1]
cmp eax, 0x3d
jne 0x180072121
mov dword [rdx], 0x4e
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x3e
jne 0x18007213c
mov dword [rdx], 0x4b
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x3c
jne 0x180072157
mov dword [rdx], 0x54
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x4f
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rcx + 1]
cmp eax, 0x3d
jne 0x180072189
mov dword [rdx], 0x50
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x3e
jne 0x1800721a4
mov dword [rdx], 0x55
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x4d
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [rcx + 1], 0x3d
mov eax, 2
je 0x1800721d6
mov r8d, 0x94
mov dword [rdx], r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x4b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [rcx + 1], 0x7c
je 0x180072200
mov dword [rdx], 0x53
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x5b
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x19
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x52
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x5d
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rcx + 1]
inc rcx
test edx, edx
je 0x180072286
add r10, 2
nop
cmp edx, r9d
jne 0x180072276
movzx eax, byte [r10]
cmp eax, r9d
jne 0x180072286
inc ebx
inc r10
inc rcx
movzx edx, byte [rcx + 1]
inc rcx
inc ebx
inc r10
test edx, edx
jne 0x180072260
cmp edx, 0x27
jne 0x18007229f
mov dword [rdi], 0x5e
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test edx, edx
je 0x1800722b8
mov eax, 0x1a
mov dword [rdi], eax
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x94
mov eax, ebx
mov dword [rdi], r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rcx + 1]
test byte [rax + r11 + 0x97be0], 4
jne case.0x180071f83.24
mov dword [rdx], 0x76
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rdx], 0x81
xor edx, edx
test byte [r9 + r11 + 0x97be0], 4
je 0x180072317
movzx eax, byte [rcx + 1]
inc rcx
inc edx
test byte [rax + r11 + 0x97be0], 4
jne 0x180072303
movsxd rax, edx
cmp byte [rax + r10], 0x2e
jne 0x180072351
inc edx
movsxd rcx, edx
add rcx, r10
movzx eax, byte [rcx]
test byte [rax + r11 + 0x97be0], 4
je 0x18007234b
movzx eax, byte [rcx + 1]
inc rcx
inc edx
test byte [rax + r11 + 0x97be0], 4
jne 0x180072337
mov dword [rdi], 0x82
movsxd rcx, edx
movzx eax, byte [rcx + r10]
cmp al, 0x65
je 0x180072361
cmp al, 0x45
jne 0x1800723bc
movzx eax, byte [rcx + r10 + 1]
test byte [rax + r11 + 0x97be0], 4
jne 0x18007238b
cmp al, 0x2b
je 0x18007237a
cmp al, 0x2d
jne 0x1800723bc
movzx eax, byte [rcx + r10 + 2]
test byte [rax + r11 + 0x97be0], 4
je 0x1800723bc
add edx, 2
movsxd rcx, edx
add rcx, r10
movzx eax, byte [rcx]
test byte [rax + r11 + 0x97be0], 4
je 0x1800723b6
movzx eax, byte [rcx + 1]
inc rcx
inc edx
test byte [rax + r11 + 0x97be0], 4
jne 0x1800723a2
mov dword [rdi], 0x82
movsxd r9, edx
add r9, r10
movzx eax, byte [r9]
test byte [rax + r11 + 0x97be0], 0x46
je 0x1800723f8
mov r8d, 0x94
nop word [rax + rax]
movzx ecx, byte [r9 + 1]
inc r9
inc edx
test byte [rcx + r11 + 0x97be0], 0x46
mov dword [rdi], r8d
jne 0x1800723e0
mov eax, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp r9d, 0x5d
je 0x180072424
inc r10
nop
movzx r9d, byte [r10]
test r9d, r9d
je 0x180072424
inc ebx
inc r10
cmp r9d, 0x5d
jne 0x180072410
mov eax, 0x1a
mov r8d, 0x94
cmp r9d, 0x5d
cmove r8d, eax
mov eax, ebx
mov dword [rdx], r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r10 + 1]
inc r10
mov dword [rdx], 0x85
test byte [rax + r11 + 0x97be0], 4
je 0x180072656
movzx eax, byte [r10 + 1]
inc r10
inc ebx
test byte [rax + r11 + 0x97be0], 4
jne 0x180072464
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rcx + 1]
lea r8, [rcx + 1]
mov edx, ebx
test byte [rax + r11 + 0x97be0], 4
je case.0x180071f83.13
nop dword [rax + rax]
movzx ecx, byte [r8 + 1]
inc r8
inc edx
test byte [rcx + r11 + 0x97be0], 4
jne 0x1800724a0
cmp edx, ebx
jle case.0x180071f83.13
mov dword [rdi], 0x84
mov eax, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx r9d, byte [r10 + 1]
xor edx, edx
mov dword [rdi], 0x85
mov rcx, rbx
mov r8d, 0x94
test r9d, r9d
je 0x180072576
nop dword [rax + rax]
movzx eax, r9b
test byte [rax + r11 + 0x97be0], 0x46
je 0x180072503
inc edx
jmp 0x18007251b
cmp r9d, 0x28
je 0x18007252d
cmp r9d, 0x3a
jne 0x18007256e
cmp byte [r10 + rcx + 1], r9b
jne 0x18007256e
inc ebx
inc rcx
movzx r9d, byte [rcx + r10 + 1]
inc rcx
inc ebx
test r9d, r9d
jne 0x1800724f0
jmp 0x18007256e
test edx, edx
jle 0x180072570
lea r9, [rcx + r10]
nop word [rax + rax]
movzx ecx, byte [r9 + 1]
inc r9
inc ebx
test ecx, ecx
je 0x180072562
test byte [rcx + r11 + 0x97be0], 1
jne 0x180072562
cmp ecx, 0x29
jne 0x180072540
inc ebx
jmp 0x18007256e
cmp ecx, 0x29
jne 0x18007256b
inc ebx
jmp 0x18007256e
mov dword [rdi], r8d
test edx, edx
jne 0x180072656
mov dword [rdi], r8d
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [rcx + 1], 0x27
jne case.0x180071f83.34
mov ecx, 2
mov dword [rdx], 0x83
mov r8d, 0x94
add r10, rcx
movzx eax, byte [r10]
test eax, eax
je 0x1800725cc
cmp eax, 0x27
je 0x1800725cc
movzx eax, al
test byte [rax + r11 + 0x97be0], 8
jne 0x1800725be
mov dword [rdx], r8d
movzx eax, byte [r10 + 1]
inc r10
inc ecx
test eax, eax
jne 0x1800725a8
mov edx, ecx
and edx, 0x80000001
jge 0x1800725dd
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x1800725e5
test eax, eax
jne 0x1800725ec
mov dword [rdi], r8d
test eax, eax
je 0x1800725ee
inc ecx
mov eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test byte [r9 + r11 + 0x97be0], 0x46
jne 0x18007261f
mov r8d, 0x94
mov eax, 1
mov dword [rdx], r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rcx + 1]
inc rcx
mov ebx, 1
test byte [rax + r11 + 0x97be0], 0x46
je 0x18007264a
movzx eax, byte [rcx + 1]
inc rcx
inc ebx
test byte [rax + r11 + 0x97be0], 0x46
jne 0x180072636
mov edx, ebx
mov rcx, r10
call fcn.180071df0
mov dword [rdi], eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret