Function at 0x180007640
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2c8]
sub rsp, 0x3c8
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov dword [rsp + 0x40], r9d
mov rdi, r8
mov qword [rbp - 0x78], r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x80], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov word [rbp - 0x20], cx
mov qword [rbp - 0x1e], rax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
mov qword [rbp - 6], rax
mov qword [rbp + 2], rax
mov qword [rbp + 0xa], rax
mov qword [rbp + 0x12], rax
mov dword [rbp + 0x1a], eax
mov word [rbp + 0x1e], ax
mov dword [rsp + 0x78], ecx
mov word [rbp + 0xa0], cx
mov qword [rbp + 0xa2], rax
mov qword [rbp + 0xaa], rax
mov word [rbp + 0xb2], ax
mov word [rbp + 0x1c0], cx
xor edx, edx
mov r8d, 0xee
lea rcx, [rbp + 0x1c2]
call fcn.180056c20
xor r9d, r9d
mov word [rbp + 0xe0], r9w
xor edx, edx
mov r8d, 0xde
lea rcx, [rbp + 0xe2]
call fcn.180056c20
xor eax, eax
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
test rdi, rdi
jne 0x18000773d
cmp dword [rbp + 0x310], eax
je 0x180008497
mov r9d, 0x18
lea r8, [rbp - 0x68]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x180008497
mov rsi, qword [rbp - 0x68]
mov qword [rsp + 0x38], rsi
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008497
mov eax, 0x5a4d
cmp word [rbp - 0x20], ax
jne 0x180008497
movsxd rdx, dword [rbp + 0x1c]
add rdx, rsi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 4]
lea r8, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008497
cmp dword [rsp + 0x78], 0x4550
jne 0x180008497
movsxd rdx, dword [rbp + 0x1c]
add rdx, 4
add rdx, rsi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x14]
lea r8, [rbp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008497
mov r9d, 0xf0
movzx eax, word [rbp + 0xb0]
cmp ax, r9w
je 0x180007855
mov r9d, 0xe0
cmp ax, r9w
jne 0x180008497
movsxd rdx, dword [rbp + 0x1c]
add rdx, 0x18
add rdx, rsi
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008497
mov eax, 0x10b
cmp word [rbp + 0xe0], ax
jne 0x180008497
jmp 0x1800078ac
movsxd rdx, dword [rbp + 0x1c]
add rdx, 0x18
add rdx, rsi
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x1c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008497
mov eax, 0x20b
cmp word [rbp + 0x1c0], ax
jne 0x180008497
cmp dword [rbp + 0x22c], 1
jb 0x1800078ac
mov eax, dword [rbp + 0x230]
mov edi, dword [rbp + 0x234]
mov dword [rsp + 0x68], edi
xor edi, edi
jmp 0x1800078c9
cmp dword [rbp + 0x13c], 1
jb 0x180008497
mov eax, dword [rbp + 0x140]
mov ecx, dword [rbp + 0x144]
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x50], eax
mov edx, eax
add rdx, rsi
mov qword [rsp + 0x20], rdi
mov r9d, 0x28
lea r8, [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008497
mov edi, dword [rbp - 0x2c]
add rdi, rsi
mov eax, dword [rbp - 0x28]
add rax, rsi
mov qword [rbp - 0x70], rax
mov eax, dword [rbp - 0x24]
add rax, rsi
mov qword [rsp + 0x60], rax
mov ecx, dword [rbp - 0x34]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180052b1c
mov qword [rsp + 0x48], rax
mov ecx, dword [rbp - 0x30]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180052b1c
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp - 0x30]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180052b1c
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180008473
cmp qword [rsp + 0x58], 0
je 0x180008469
test rax, rax
je 0x180008469
mov r9d, dword [rbp - 0x34]
shl r9, 2
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, rcx
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008469
mov r9d, dword [rbp - 0x30]
shl r9, 2
xor eax, eax
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x58]
mov r8, rdi
mov rdx, qword [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008469
mov r9d, dword [rbp - 0x30]
add r9, r9
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008469
cmp dword [rbp + 0x310], 0
je 0x180007ec2
mov ecx, dword [rbp - 0x38]
mov eax, dword [rsp + 0x40]
cmp eax, ecx
jb 0x180008469
sub eax, ecx
cmp eax, dword [rbp - 0x34]
jae 0x180008469
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rax*4]
mov qword [rsp + 0x60], rcx
mov ebx, dword [rcx]
mov eax, dword [rsp + 0x50]
cmp ebx, eax
jb 0x180007e9f
add eax, dword [rsp + 0x68]
cmp ebx, eax
ja 0x180007e9f
xor r8d, r8d
mov ebx, r8d
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r8
mov byte [rbp + 0x40], r8b
mov eax, r8d
mov qword [rsp + 0x38], rax
lea edi, [r8 + 1]
jmp 0x180007a93
xor r8d, r8d
mov edx, dword [rcx]
add rdx, rax
add rdx, rsi
mov qword [rsp + 0x20], r8
mov r9, rdi
lea r8, [rsp + 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180007e8b
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
lea rax, [rbp + 0x40]
cmovae rax, qword [rbp + 0x40]
add rdx, qword [rbp + 0x50]
jne 0x180007add
xor eax, eax
mov edx, eax
jmp 0x180007ae0
sub rdx, rax
movzx r9d, byte [rsp + 0x30]
mov r8, rdi
lea rcx, [rbp + 0x40]
call fcn.180008640
cmp byte [rsp + 0x30], 0
cmove ebx, edi
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
test ebx, ebx
mov rcx, qword [rsp + 0x60]
je 0x180007a90
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x180007e71
cmp rax, rdi
jb 0x180007e71
lea rsi, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rsi, qword [rbp + 0x40]
nop dword [rax]
test rax, rax
je 0x180007e71
mov r8, rax
mov edx, 0x2e
mov rcx, rsi
call fcn.180054d0c
mov rbx, rax
test rax, rax
je 0x180007e71
cmp byte [rax], 0x2e
je 0x180007b83
sub rsi, rax
mov rax, qword [rsp + 0x38]
dec rax
add rax, rsi
mov qword [rsp + 0x38], rax
lea rsi, [rbx + 1]
jmp 0x180007b40
lea rax, [rbp + 0x40]
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x58]
cmp rcx, 0x10
cmovae rax, rdx
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x180007e79
mov qword [rbp + 0x78], 0xf
xor eax, eax
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x60], al
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x20], al
lea r9, [rbx - 1]
xor r8d, r8d
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x40]
call fcn.1800084c0
mov rsi, rax
lea rax, [rbp + 0x60]
cmp rax, rsi
je 0x180007c14
cmp qword [rbp + 0x78], 0x10
jb 0x180007bf7
mov rcx, qword [rbp + 0x60]
call fcn.180053844
mov qword [rbp + 0x78], 0xf
xor eax, eax
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x60], al
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.180008500
cmp qword [rbp + 0x98], 0x10
jb 0x180007c2a
mov rcx, qword [rbp + 0x80]
call fcn.180053844
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x40]
call fcn.1800084c0
mov rbx, rax
lea rax, [rbp + 0x20]
cmp rax, rbx
je 0x180007c7b
cmp qword [rbp + 0x38], 0x10
jb 0x180007c5e
mov rcx, qword [rbp + 0x20]
call fcn.180053844
mov qword [rbp + 0x38], 0xf
xor eax, eax
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x20], al
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.180008500
cmp qword [rbp + 0x98], 0x10
jb 0x180007c91
mov rcx, qword [rbp + 0x80]
call fcn.180053844
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
call fcn.180008c10
mov rbx, rax
mov qword [rbp - 0x78], rax
mov rdx, rax
mov rsi, qword [rbp - 0x80]
mov rcx, rsi
call fcn.1800074b0
mov qword [rsp + 0x38], rax
mov rcx, rbx
call fcn.180053844
mov r8, qword [rbp + 0x30]
test r8, r8
jne 0x180007cdd
lea rcx, str.invalid_string_position
call fcn.180052adc
int3
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
cmovae rax, rcx
cmp byte [rax], 0x23
jne 0x180007dd5
xor r9d, r9d
mov ebx, r9d
lea rax, [rbp + 0x20]
cmp r8, 1
ja 0x180007d1a
mov qword [rbp + 0x30], r9
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax], bl
jmp 0x180007d5c
cmp rdx, 0x10
cmovae rax, rcx
dec r8
mov qword [rsp + 0x60], r8
je 0x180007d48
lea rdx, [rax + 1]
mov rcx, rax
call fcn.180052e30
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x20]
mov r8, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rbp + 0x30], r8
lea rax, [rbp + 0x20]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [r8 + rax], bl
mov r8, r9
mov r9, qword [rbp + 0x30]
test r9, r9
je 0x180007dba
mov rcx, qword [rbp + 0x38]
mov r10, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
cmp rcx, 0x10
cmovae rax, r10
cmp byte [rax + r8], 0x30
jl 0x180007dba
lea rax, [rbp + 0x20]
cmp rcx, 0x10
cmovae rax, r10
cmp byte [rax + r8], 0x39
jg 0x180007dba
lea eax, [rbx + rbx*4]
lea edx, [rax + rax]
lea rax, [rbp + 0x20]
cmp rcx, 0x10
cmovae rax, r10
movsx ebx, byte [rax + r8]
add ebx, 0xffffffd0
add ebx, edx
inc r8
cmp r8, r9
jb 0x180007d70
mov dword [rsp + 0x20], edi
mov r9d, ebx
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.180007640
xor edi, edi
jmp 0x180007df7
lea r8, [rbp + 0x20]
cmp rdx, 0x10
cmovae r8, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.180007640
mov rbx, rax
mov rcx, qword [rsp + 0x48]
call fcn.180054d04
mov rcx, qword [rsp + 0x58]
call fcn.180054d04
mov rcx, qword [rsp + 0x70]
call fcn.180054d04
nop
cmp qword [rbp + 0x38], 0x10
jb 0x180007e29
mov rcx, qword [rbp + 0x20]
call fcn.180053844
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], rdi
mov byte [rbp + 0x20], 0
cmp qword [rbp + 0x78], 0x10
jb 0x180007e49
mov rcx, qword [rbp + 0x60]
call fcn.180053844
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rdi
mov byte [rbp + 0x60], 0
cmp qword [rbp + 0x58], 0x10
jb 0x180007e69
mov rcx, qword [rbp + 0x40]
call fcn.180053844
mov rax, rbx
jmp 0x180008499
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x40]
cmp rcx, 0x10
jb 0x180008469
mov rcx, rdx
jmp 0x180008464
cmp qword [rbp + 0x58], 0x10
jb 0x180008469
mov rcx, qword [rbp + 0x40]
jmp 0x180008464
mov rcx, rdx
call fcn.180054d04
mov rcx, rdi
call fcn.180054d04
mov rcx, qword [rsp + 0x70]
call fcn.180054d04
lea rax, [rsi + rbx]
jmp 0x180008499
xor r8d, r8d
mov eax, r8d
mov dword [rsp + 0x40], eax
cmp dword [rbp - 0x30], r8d
jbe 0x180008469
lea edi, [r8 + 1]
nop word [rax + rax]
mov qword [rbp + 0x78], 0xf
mov ebx, r8d
mov qword [rbp + 0x70], r8
mov byte [rbp + 0x60], 0
mov rsi, r8
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x60], rax
jmp 0x180007f13
xor r8d, r8d
mov edx, dword [rax]
add rdx, rsi
add rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r8
mov r9, rdi
lea r8, [rsp + 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008459
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
lea rax, [rbp + 0x60]
cmovae rax, qword [rbp + 0x60]
add rdx, qword [rbp + 0x70]
jne 0x180007f5f
xor eax, eax
mov edx, eax
jmp 0x180007f62
sub rdx, rax
movzx r9d, byte [rsp + 0x30]
mov r8, rdi
lea rcx, [rbp + 0x60]
call fcn.180008640
cmp byte [rsp + 0x30], 0
cmove ebx, edi
inc rsi
test ebx, ebx
mov rax, qword [rsp + 0x60]
je 0x180007f10
mov rax, qword [rbp - 0x78]
cmp byte [rax], 0
jne 0x180007f96
xor r9d, r9d
jmp 0x180007faa
or r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x180007fa0
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.180008570
cmp rax, 0xffffffffffffffff
jne 0x180007fea
cmp qword [rbp + 0x78], 0x10
jb 0x180007fcc
mov rcx, qword [rbp + 0x60]
call fcn.180053844
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, dword [rbp - 0x30]
mov r8d, 0
jb 0x180007ee0
jmp 0x180008469
mov edx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
movzx eax, word [rsi + rdx*2]
mov r9, qword [rsp + 0x48]
mov ecx, dword [r9 + rax*4]
mov eax, dword [rsp + 0x50]
cmp ecx, eax
jb 0x18000841d
add eax, dword [rsp + 0x68]
cmp ecx, eax
ja 0x18000841d
xor eax, eax
mov ebx, eax
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x20], al
mov esi, eax
jmp 0x180008032
xor eax, eax
mov edx, dword [r9 + rdx*4]
add rdx, rsi
add rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rsp + 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180008410
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
cmovae rax, qword [rbp + 0x20]
add rdx, qword [rbp + 0x30]
jne 0x180008080
xor eax, eax
mov edx, eax
jmp 0x180008083
sub rdx, rax
movzx r9d, byte [rsp + 0x30]
mov r8, rdi
lea rcx, [rbp + 0x20]
call fcn.180008640
cmp byte [rsp + 0x30], 0
cmove ebx, edi
inc rsi
test ebx, ebx
mov edx, dword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
je 0x180008030
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1800083e7
cmp rax, 1
jb 0x1800083e7
lea rsi, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rsi, qword [rbp + 0x20]
test rax, rax
je 0x1800083e7
mov r8, rax
mov edx, 0x2e
mov rcx, rsi
call fcn.180054d0c
mov rbx, rax
test rax, rax
je 0x1800083e7
cmp byte [rax], 0x2e
je 0x18000811a
sub rsi, rax
mov rax, qword [rsp + 0x38]
dec rax
add rax, rsi
mov qword [rsp + 0x38], rax
lea rsi, [rbx + 1]
jmp 0x1800080d7
lea rax, [rbp + 0x20]
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x38]
cmp rcx, 0x10
cmovae rax, rdx
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x1800083ef
mov qword [rbp + 0x98], 0xf
xor eax, eax
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x80], al
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], rax
mov byte [rbp + 0x40], al
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x20]
call fcn.1800084c0
mov rsi, rax
lea rax, [rbp + 0x80]
cmp rax, rsi
je 0x1800081c8
cmp qword [rbp + 0x98], 0x10
jb 0x18000819f
mov rcx, qword [rbp + 0x80]
call fcn.180053844
mov qword [rbp + 0x98], 0xf
xor eax, eax
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x80], al
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.180008500
cmp qword [rbp + 0xd0], 0x10
jb 0x1800081de
mov rcx, qword [rbp + 0xb8]
call fcn.180053844
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x20]
call fcn.1800084c0
mov rbx, rax
lea rax, [rbp + 0x40]
cmp rax, rbx
je 0x18000822f
cmp qword [rbp + 0x58], 0x10
jb 0x180008212
mov rcx, qword [rbp + 0x40]
call fcn.180053844
mov qword [rbp + 0x58], 0xf
xor eax, eax
mov qword [rbp + 0x50], rax
mov byte [rbp + 0x40], al
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.180008500
cmp qword [rbp + 0xd0], 0x10
jb 0x180008245
mov rcx, qword [rbp + 0xb8]
call fcn.180053844
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rcx, qword [rbp + 0x80]
call fcn.180008c10
mov rbx, rax
mov qword [rbp - 0x78], rax
mov rdx, rax
mov rsi, qword [rbp - 0x80]
mov rcx, rsi
call fcn.1800074b0
mov qword [rsp + 0x38], rax
mov rcx, rbx
call fcn.180053844
cmp qword [rbp + 0x50], 0
ja 0x180008298
lea rcx, str.invalid_string_position
call fcn.180052adc
int3
lea rax, [rbp + 0x40]
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
cmovae rax, rcx
cmp byte [rax], 0x23
jne 0x180008342
xor eax, eax
mov ebx, eax
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.180001610
xor eax, eax
mov edx, eax
mov r9, qword [rbp + 0x50]
test r9, r9
je 0x180008327
mov r8, qword [rbp + 0x58]
mov r10, qword [rbp + 0x40]
nop dword [rax]
lea rax, [rbp + 0x40]
cmp r8, 0x10
cmovae rax, r10
cmp byte [rax + rdx], 0x30
jl 0x180008327
lea rax, [rbp + 0x40]
cmp r8, 0x10
cmovae rax, r10
cmp byte [rax + rdx], 0x39
jg 0x180008327
lea eax, [rbx + rbx*4]
lea ecx, [rax + rax]
lea rax, [rbp + 0x40]
cmp r8, 0x10
cmovae rax, r10
movsx ebx, byte [rax + rdx]
add ebx, 0xffffffd0
add ebx, ecx
inc rdx
cmp rdx, r9
jb 0x1800082e0
mov dword [rsp + 0x20], edi
mov r9d, ebx
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.180007640
xor edi, edi
jmp 0x180008364
lea r8, [rbp + 0x40]
cmp rdx, 0x10
cmovae r8, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.180007640
mov rbx, rax
mov rcx, qword [rsp + 0x48]
call fcn.180054d04
mov rcx, qword [rsp + 0x58]
call fcn.180054d04
mov rcx, qword [rsp + 0x70]
call fcn.180054d04
nop
cmp qword [rbp + 0x58], 0x10
jb 0x180008396
mov rcx, qword [rbp + 0x40]
call fcn.180053844
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], rdi
mov byte [rbp + 0x40], 0
cmp qword [rbp + 0x98], 0x10
jb 0x1800083bc
mov rcx, qword [rbp + 0x80]
call fcn.180053844
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], 0
cmp qword [rbp + 0x38], 0x10
jb 0x180008440
mov rcx, qword [rbp + 0x20]
call fcn.180053844
jmp 0x180008440
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x20]
cmp rcx, 0x10
jb 0x1800083fd
mov rcx, rdx
call fcn.180053844
mov qword [rbp + 0x38], 0xf
xor eax, eax
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x20], al
jmp 0x180008459
cmp qword [rbp + 0x38], 0x10
jb 0x1800083fd
mov rcx, qword [rbp + 0x20]
jmp 0x1800083f8
mov rbx, rcx
add rbx, qword [rsp + 0x38]
mov rcx, r9
call fcn.180054d04
mov rcx, qword [rsp + 0x58]
call fcn.180054d04
mov rcx, rsi
call fcn.180054d04
nop
cmp qword [rbp + 0x78], 0x10
jb 0x180007e69
mov rcx, qword [rbp + 0x60]
call fcn.180053844
mov rax, rbx
jmp 0x180008499
cmp qword [rbp + 0x78], 0x10
jb 0x180008469
mov rcx, qword [rbp + 0x60]
call fcn.180053844
mov rcx, qword [rsp + 0x48]
call fcn.180054d04
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x180008485
mov rcx, rax
call fcn.180054d04
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180008497
mov rcx, rax
call fcn.180054d04
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.180052be0
add rsp, 0x3c8
pop rdi
pop rsi
pop rbx
pop rbp
ret