Function at 0x140005380
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdx, qword [rcx + 0x18]
movzx eax, byte [rdx]
mov rbx, rcx
cmp al, 0x4c
je 0x140005700
cmp al, 0x54
je 0x140005710
cmp al, 0x73
je 0x140005400
cmp al, 0x66
je 0x140005470
lea ecx, [rax - 0x30]
cmp cl, 9
jbe 0x1400053cc
cmp al, 0x6f
jne 0x140005508
cmp byte [rdx + 1], 0x6e
jne 0x140005414
add rdx, 2
mov qword [rbx + 0x18], rdx
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400047d0
mov rsi, rax
test rax, rax
je 0x1400056f0
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
je 0x140005640
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
movzx eax, byte [rdx + 1]
cmp al, 0x72
je 0x1400055b0
cmp al, 0x70
je 0x1400058a0
mov rcx, rbx
call fcn.140004630
mov rsi, rax
test rax, rax
je 0x1400056f0
mov eax, dword [rax]
cmp eax, 0x33
je 0x140005560
cmp eax, 0x34
je 0x140005758
cmp eax, 0x35
jne 0x1400056f0
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x5f
je 0x140005832
mov rcx, rbx
call fcn.140005380
mov r9, rax
mov r8, rsi
mov edx, 0x38
jmp 0x14000565b
cmp byte [rdx + 1], 0x70
jne 0x140005414
lea rax, [rdx + 2]
mov qword [rcx + 0x18], rax
movzx eax, byte [rdx + 2]
cmp al, 0x54
je 0x140005890
cmp al, 0x5f
je 0x140005820
cmp al, 0x6e
je 0x1400056f0
call fcn.140002720
mov ecx, eax
add ecx, 1
js 0x1400056f0
mov rdx, qword [rbx + 0x18]
cmp byte [rdx], 0x5f
jne 0x1400056f0
add rdx, 1
mov qword [rbx + 0x18], rdx
cmp ecx, 0x7fffffff
je 0x1400056f0
lea edx, [rax + 2]
mov eax, dword [rbx + 0x28]
cmp eax, dword [rbx + 0x2c]
jge 0x1400056f0
movsxd rsi, eax
add eax, 1
shl rsi, 5
add rsi, qword [rbx + 0x20]
mov qword [rsi + 4], 0
mov dword [rbx + 0x28], eax
mov dword [rsi], 6
mov dword [rsi + 0x10], edx
jmp 0x1400053f2
cmp al, 0x69
je 0x140005514
cmp al, 0x74
jne 0x140005720
cmp byte [rdx + 1], 0x6c
jne 0x140005414
add rdx, 2
xor esi, esi
mov qword [rbx + 0x18], rdx
cmp al, 0x74
je 0x140005960
cmp byte [rdx], 0
je 0x1400056f0
cmp byte [rdx + 1], 0
je 0x1400056f0
mov edx, 0x45
mov rcx, rbx
call fcn.140005d80
mov r8, rsi
mov edx, 0x32
mov r9, rax
jmp 0x14000565b
mov rdx, qword [rsi + 0x10]
mov rdi, qword [rdx]
mov eax, dword [rdx + 0x10]
sub eax, 2
add dword [rbx + 0x48], eax
movzx eax, byte [rdi]
cmp eax, 0x73
jne 0x140005670
cmp byte [rdi + 1], 0x74
jne 0x140005670
cmp byte [rdi + 2], 0
jne 0x140005670
mov rcx, rbx
call fcn.140003750
mov r8, rsi
mov edx, 0x38
mov r9, rax
jmp 0x14000565b
lea rax, [rdx + 2]
mov qword [rcx + 0x18], rax
mov eax, dword [rcx + 0x54]
test eax, eax
je 0x1400058c5
movzx eax, byte [rdx + 2]
cmp al, 0x39
jle 0x1400058bd
sub eax, 0x43
cmp al, 0x37
ja 0x1400058c5
movabs rdx, 0xffffffc0040201
bt rdx, rax
jae 0x1400058c5
mov dword [rbx + 0x54], 0xffffffff
xor edx, edx
mov rcx, rbx
call fcn.140005200
mov rdx, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x45
jne 0x140005620
add rax, 1
mov qword [rbx + 0x18], rax
nop word cs:[rax + rax]
nop
xor r8d, r8d
mov rcx, rbx
call fcn.1400047d0
mov rsi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
jne 0x1400053f2
nop dword [rax + rax]
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.1400050b0
mov r8, rsi
mov edx, 4
mov r9, rax
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400025c0
mov ebp, dword [rdx + 0x14]
cmp ebp, 2
je 0x140005780
jg 0x1400058d8
test ebp, ebp
je 0x14000576d
cmp ebp, 1
jne 0x1400056f0
movzx edx, byte [rdi]
cmp dl, 0x6d
je 0x140005850
cmp dl, 0x70
je 0x140005850
xor ebp, ebp
cmp eax, 0x73
jne 0x140005880
cmp byte [rdi + 1], 0x50
jne 0x140005880
cmp byte [rdi + 2], 0
jne 0x140005880
mov rcx, rbx
call fcn.1400050b0
mov r9, rax
test ebp, ebp
je 0x14000545d
mov r8, r9
mov edx, 0x3a
mov rcx, rbx
call fcn.1400025c0
mov r9, rax
jmp 0x14000545d
xor esi, esi
jmp 0x1400053f2
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140004e20
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140002f10
cmp al, 0x75
jne 0x140005414
add rdx, 1
mov rcx, rbx
mov qword [rbx + 0x18], rdx
call fcn.140003360
mov rcx, rbx
mov rsi, rax
call fcn.1400050b0
mov r8, rsi
mov edx, 0x40
mov r9, rax
jmp 0x14000565b
mov eax, dword [rsi + 0x10]
cmp eax, 1
je 0x140005452
cmp eax, 3
je 0x1400056f0
test eax, eax
jne 0x1400056f0
xor r9d, r9d
mov r8, rsi
mov edx, 0x37
jmp 0x14000565b
cmp byte [rdi + 1], 0x63
movzx edx, byte [rdi]
je 0x140005a94
cmp dl, 0x66
je 0x140005af9
cmp eax, 0x64
jne 0x140005add
cmp byte [rdi + 1], 0x69
jne 0x140005add
cmp byte [rdi + 2], 0
jne 0x140005add
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400047d0
mov rbp, rax
movzx eax, byte [rdi]
cmp eax, 0x63
jne 0x140005a10
cmp byte [rdi + 1], 0x6c
jne 0x140005a10
cmp byte [rdi + 2], 0
jne 0x140005a10
mov edx, 0x45
mov rcx, rbx
call fcn.140005d80
mov rdi, rax
mov r9, rdi
mov r8, rbp
mov edx, 0x3a
mov rcx, rbx
call fcn.1400025c0
mov r8, rsi
mov edx, 0x39
mov r9, rax
jmp 0x14000565b
add rdx, 3
mov qword [rcx + 0x18], rdx
mov edx, 1
jmp 0x1400054ce
add rax, 1
mov edx, 0x45
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005d80
mov r9, rax
jmp 0x14000545d
cmp byte [rdi + 1], dl
jne 0x1400056a4
mov rdx, qword [rbx + 0x18]
cmp byte [rdx], 0x5f
jne 0x1400056a6
add rdx, 1
mov qword [rbx + 0x18], rdx
movzx eax, byte [rdi]
jmp 0x1400056a4
mov rcx, rbx
call fcn.140005380
mov r9, rax
jmp 0x1400056ce
add rdx, 3
mov qword [rcx + 0x18], rdx
xor edx, edx
jmp 0x1400054ce
add rdx, 2
mov qword [rcx + 0x18], rdx
call fcn.140005380
xor r9d, r9d
mov edx, 0x4d
mov r8, rax
jmp 0x14000565b
cmp al, 0x2f
jg 0x1400055ee
mov rcx, rbx
call fcn.140003750
mov rdx, rax
jmp 0x140005620
cmp ebp, 3
jne 0x1400056f0
cmp eax, 0x71
jne 0x140005978
cmp byte [rdi + 1], 0x75
jne 0x140005978
cmp byte [rdi + 2], 0
jne 0x140005978
mov rcx, rbx
call fcn.140005380
mov rcx, rbx
mov rdi, rax
call fcn.140005380
mov rcx, rbx
mov rbp, rax
call fcn.140005380
mov r9, rax
test rax, rax
je 0x1400056f0
mov r8, rbp
mov edx, 0x3d
mov rcx, rbx
call fcn.1400025c0
mov r8, rdi
mov edx, 0x3c
mov rcx, rbx
mov r9, rax
call fcn.1400025c0
mov r8, rsi
mov edx, 0x3b
mov r9, rax
jmp 0x14000565b
mov rcx, rbx
call fcn.140003750
mov rdx, qword [rbx + 0x18]
mov rsi, rax
jmp 0x140005530
cmp eax, 0x64
jne 0x14000598d
cmp byte [rdi + 1], 0x58
jne 0x14000598d
cmp byte [rdi + 2], 0
je 0x1400058fa
movzx eax, byte [rdi]
cmp al, 0x66
je 0x140005b09
cmp al, 0x6e
jne 0x1400056f0
movzx eax, byte [rdi + 1]
cmp al, 0x77
je 0x1400059b0
cmp al, 0x61
jne 0x1400056f0
mov edx, 0x5f
mov rcx, rbx
call fcn.140005d80
mov rcx, rbx
mov rdi, rax
call fcn.140003750
mov rbp, rax
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x45
je 0x140005b3d
cmp dl, 0x70
je 0x140005b16
cmp dl, 0x69
jne 0x1400056f0
cmp byte [rax + 1], 0x6c
jne 0x1400056f0
mov rcx, rbx
call fcn.140005380
mov r9, rax
jmp 0x140005924
cmp eax, 0x64
jne 0x140005ab8
cmp byte [rdi + 1], 0x74
jne 0x140005ab8
cmp byte [rdi + 2], 0
jne 0x140005ab8
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x67
je 0x140005aed
cmp dl, 0x73
jne 0x140005a4c
cmp byte [rax + 1], 0x72
je 0x140005acd
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400047d0
mov rdi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
jne 0x1400057f3
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.1400050b0
mov r8, rdi
mov edx, 4
mov rcx, rbx
mov r9, rax
call fcn.1400025c0
mov rdi, rax
jmp 0x1400057f3
lea ecx, [rdx - 0x72]
cmp cl, 1
jbe 0x140005aa8
lea ecx, [rdx - 0x63]
cmp cl, 1
ja 0x14000578d
mov rcx, rbx
call fcn.140003750
mov rbp, rax
jmp 0x1400057c3
cmp eax, 0x70
jne 0x140005acd
cmp byte [rdi + 1], 0x74
jne 0x140005acd
cmp byte [rdi + 2], 0
je 0x140005a2d
mov rcx, rbx
call fcn.140005380
mov rdi, rax
jmp 0x1400057f3
mov rcx, rbx
call fcn.140005380
mov rbp, rax
jmp 0x1400057c3
cmp byte [rax + 1], 0x73
jne 0x140005a4c
jmp 0x140005acd
mov rcx, rbx
call fcn.140004630
mov rbp, rax
jmp 0x1400057c3
mov rcx, rbx
call fcn.140004630
jmp 0x140005902
cmp byte [rax + 1], 0x69
jne 0x1400056f0
add rax, 2
mov edx, 0x45
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005d80
mov r9, rax
jmp 0x140005924
add rax, 1
xor r9d, r9d
mov qword [rbx + 0x18], rax
jmp 0x140005924