Function at 0x418ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov eax, ecx
mov dword [rsp + 0xc0], ecx
lea rcx, [rax + rax*4]
mov qword [rsp + 0xc8], rdx
shl rcx, 4
mov dword [rsp + 0xd0], r8d
mov qword [rsp + 0xd8], r9
call fcn.00482890
cmp dword [rsp + 0xc0], 1
mov qword [rax], 0x5d6
mov rdi, rax
mov qword [rax + 8], 0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc8]
mov qword [rdi + 0x28], 0
mov qword [rdi + 0x30], 0
mov qword [rdi + 0x38], 0
mov rax, qword [rax]
mov qword [rdi + 0x40], 1
mov qword [rdi + 0x48], 1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
jbe 0x419fc4
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 1
shr eax, 0x13
xor eax, 1
and eax, 1
mov byte [rsp + 0x5f], al
nop word cs:[rax + rax]
mov eax, dword [rsp + 0x20]
mov rsi, qword [rsp + 0xc8]
lea r15, [rsi + rax*8]
mov eax, dword [rsp + 0x24]
mov r14, qword [r15]
mov rsi, qword [rsp + 0x48]
lea rax, [rax + rax*4]
shl rax, 4
cmp byte [r14], 0x2d
lea r13, [rsi + rax]
jne 0x4195e0
cmp byte [r14 + 1], 0
je 0x4195e0
mov edx, dword [rsp + 0xd0]
lea rcx, [r14 + 1]
mov dword [rsp + 0x64], 1
call fcn.00418530
cmp rax, 0x5d4
jne 0x419e10
mov esi, 5
xor ebp, ebp
xor r12d, r12d
mov qword [rsp + 0x50], r13
lea rax, [0x004b3dac]
mov dword [rsp + 0x58], 0
lea rbx, [0x004b4118]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 2
lea rdi, str._Wno_
jmp 0x4191f8
mov r14, qword [r15 + 8]
test r14, r14
je 0x41923b
mov rsi, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, r14
mov r8, rsi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x41923b
lea r9, [r15 + 8]
mov edi, 1
cmp byte [rsp + 0x38], 0
je 0x419893
cmp byte [r14 + rsi], 0
jne 0x419893
mov r14d, 0x5d4
xor edx, edx
add r12d, 1
add rbx, 0x20
cmp r12d, 0x11
ja 0x41925a
test dl, dl
jne 0x41925a
mov rax, qword [rbx - 8]
mov rdi, qword [rbx - 0x18]
mov rbp, qword [rbx - 0x10]
mov r14, rax
mov qword [rsp + 0x30], rax
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rcx, r14
mov rsi, rax
call sub.msvcrt.dll_strlen
mov r14, qword [r15]
mov qword [rsp + 0x28], rax
movzx edx, byte [rbx + 1]
movzx eax, byte [rbx]
xor edx, 1
test rbp, rbp
mov byte [rsp + 0x38], al
movzx r13d, dl
je 0x4197b0
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov r8, rsi
mov rdx, rdi
mov rcx, r14
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x64], r13d
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x419160
add r12d, 1
xor edx, edx
add rbx, 0x20
cmp r12d, 0x11
mov r14d, 0x5d4
mov edi, 1
jbe 0x4191c1
cmp r14, 0x5d4
mov r13, qword [rsp + 0x50]
mov dword [rsp + 0x30], edi
je 0x419c20
mov eax, dword [rsp + 0x64]
lea rbp, [r14 + r14*2]
mov rdx, qword [0x005cfd90]
shl rbp, 5
add rbp, rdx
test eax, eax
movzx ecx, byte [rbp + 0x40]
jne 0x419296
test cl, cl
js 0x419e43
lea r8, [r14 + r14*2]
mov esi, dword [rsp + 0x30]
mov edi, ecx
shl r8, 5
and edi, 1
add r8, rdx
mov r10, qword [r8 + 0x18]
mov dword [rsp + 0x28], edi
mov r8d, dword [r8 + 0x3c]
add esi, 1
mov edi, r8d
and edi, 0x400000
and r8d, 0x800000
je 0x419941
test cl, 0x20
jne 0x419930
lea r8, [r14 + r14*2]
shl r8, 5
movzx r8d, byte [rdx + r8 + 0x40]
shr r8b, 1
and r8d, 3
add r8d, 1
test edi, edi
jne 0x419b30
mov r9d, esi
mov r12, qword [r15 + r9*8]
mov r9, r12
jmp 0x419309
mov r9, qword [r15 + r9*8]
test r9, r9
je 0x419ec0
add edi, 1
lea r9d, [rsi + rdi]
cmp r8d, edi
ja 0x419305
mov esi, r9d
test r12, r12
je 0x419ea9
lea r9, [r14 + r14*2]
mov edi, r8d
shl r9, 5
movzx r9d, word [rdx + r9 + 0x30]
cmp r9w, 0x5d3
jne 0x41996f
nop word [rax + rax]
mov eax, dword [rbp + 0x3c]
mov edx, eax
and edx, dword [rsp + 0xd0]
je 0x419aa4
test eax, 0x100000
je 0x419380
test eax, 0x807ff
je 0x419380
and edx, 0xffcfffff
je 0x419aa4
nop dword [rax]
test r12, r12
je 0x419ab2
movzx eax, byte [rbp + 0x41]
test al, 8
je 0x419451
mov rcx, r12
mov qword [rsp + 0x38], r10
call sub.msvcrt.dll_strlen
mov rdx, qword [0x005de478]
lea r8, [rax + 1]
mov rbx, rax
mov rax, qword [0x005de480]
mov r10, qword [rsp + 0x38]
mov rcx, rax
sub rcx, rdx
cmp r8, rcx
ja 0x419ed0
mov rcx, qword [0x005de470]
add rdx, r8
cmp rdx, rcx
je 0x419f14
mov r8, qword [0x005de490]
mov r11, rax
add rdx, r8
not r8
and rdx, r8
mov r8, qword [0x005de468]
mov r9, rdx
mov qword [0x005de478], rdx
sub r9, r8
sub r11, r8
cmp r9, r11
jbe 0x419417
mov qword [0x005de478], rax
mov rdx, rax
xor eax, eax
test rbx, rbx
mov qword [0x005de470], rdx
mov r8, qword [0x005cfd30]
je 0x41a023
movzx edx, byte [r12 + rax]
movzx edx, byte [r8 + rdx]
mov byte [rcx + rax], dl
add rax, 1
cmp rbx, rax
jne 0x419430
mov byte [rcx + rbx], 0
movzx eax, byte [rbp + 0x41]
mov r12, rcx
test al, 2
jne 0x419d80
mov eax, dword [rsp + 0x64]
cmp dword [rbp + 0x48], 5
je 0x419c82
mov dword [r13 + 0x48], eax
mov eax, dword [rsp + 0x28]
cmp r14, 0x5d4
mov qword [r13], r14
mov qword [r13 + 0x10], r12
mov qword [r13 + 8], r10
mov dword [r13 + 0x4c], eax
je 0x41a040
lea eax, [rsi - 1]
cmp eax, 3
mov dword [rsp + 0x38], eax
ja 0x49f9eb
mov eax, esi
mov qword [rsp + 0x28], rax
lea rax, [r14 - 0x5d4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
xor ebx, ebx
xor ebp, ebp
mov qword [r13 + 0x40], rax
cmp esi, ebx
jbe 0x419b40
mov rcx, qword [r15 + rbx*8]
cmp r14, 0x5d4
mov eax, 0
cmove rax, rcx
mov qword [r13 + rbx*8 + 0x20], rax
call sub.msvcrt.dll_strlen
lea rdx, [rax + 1]
test rax, rax
mov eax, 3
cmove rdx, rax
add rbp, rdx
add rbx, 1
cmp rbx, 4
jne 0x4194bc
cmp qword [rsp + 0x40], 1
ja 0x419b63
mov rdx, qword [0x005de480]
mov rax, qword [0x005de478]
mov rcx, rdx
sub rcx, rax
cmp rcx, rbp
jb 0x419be0
mov r12, qword [0x005de470]
add rax, rbp
cmp rax, r12
je 0x419c10
mov rcx, qword [0x005de490]
mov rdi, rdx
add rax, rcx
not rcx
and rax, rcx
mov r8, rax
mov qword [0x005de478], rax
mov rax, qword [0x005de468]
mov rcx, r8
sub rcx, rax
sub rdi, rax
cmp rcx, rdi
jbe 0x419577
mov qword [0x005de478], rdx
mov r8, rdx
mov ebx, dword [rsp + 0x38]
mov qword [0x005de470], r8
mov edi, esi
xor ebp, ebp
mov qword [r13 + 0x18], r12
mov r14, qword [r15 + rbp*8]
mov rcx, r14
call sub.msvcrt.dll_strlen
test rax, rax
mov r13, rax
jne 0x419b50
lea rax, [r12 + 2]
mov r10d, 0x2222
mov word [r12], r10w
add rax, r13
cmp ebx, ebp
lea r12, [rax + 1]
setne dl
add rbp, 1
shl edx, 5
cmp rdi, rbp
mov byte [rax], dl
jne 0x41958a
mov ebx, dword [rsp + 0x24]
add ebx, 1
mov edi, ebx
jmp 0x419632
mov ebx, dword [rsp + 0x24]
mov qword [r13 + 0x10], r14
mov esi, 1
mov qword [r13], 0x5d7
mov qword [r13 + 8], 0
mov qword [r13 + 0x18], r14
add ebx, 1
mov qword [r13 + 0x20], r14
mov qword [r13 + 0x28], 0
mov edi, ebx
mov qword [r13 + 0x30], 0
mov qword [r13 + 0x38], 0
mov qword [r13 + 0x40], 1
mov qword [r13 + 0x48], 1
add dword [rsp + 0x20], esi
mov dword [rsp + 0x24], ebx
mov eax, dword [rsp + 0x20]
cmp eax, dword [rsp + 0xc0]
jb 0x4190c0
mov rax, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0x48]
mov qword [rax], rsi
mov rax, qword [rsp + 0xe0]
mov dword [rax], ebx
mov eax, ebx
lea rcx, [rax + rax*4]
shl rcx, 4
call fcn.00482890
test ebx, ebx
mov rsi, rax
je 0x41a010
mov rax, qword [rsp + 0x48]
mov r8d, 1
xor ebp, ebp
xor ebx, ebx
mov r15, qword [0x005cfda0]
mov r12, qword [0x005cfd90]
jmp 0x419727
jb 0x4197e0
lea edx, [rcx - 0x5d4]
lea r10, [rax + 0x50]
cmp edx, 3
ja 0x4197e0
mov rcx, qword [rax]
mov edx, ebx
add ebx, 1
lea rdx, [rdx + rdx*4]
shl rdx, 4
add rdx, rsi
cmp edi, r8d
mov qword [rdx], rcx
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rcx, qword [rax + 0x20]
mov qword [rdx + 0x20], rcx
mov rcx, qword [rax + 0x28]
mov qword [rdx + 0x28], rcx
mov rcx, qword [rax + 0x30]
mov qword [rdx + 0x30], rcx
mov rcx, qword [rax + 0x38]
mov qword [rdx + 0x38], rcx
mov rcx, qword [rax + 0x40]
mov rax, qword [rax + 0x48]
mov qword [rdx + 0x40], rcx
mov qword [rdx + 0x48], rax
lea edx, [r8 + 1]
mov rax, r10
jbe 0x419759
mov r8d, edx
test dword [rax + 0x4c], 0xfffffffb
lea edx, [r8 - 1]
lea r10, [rax + 0x50]
jne 0x4196ba
mov rcx, qword [rax]
cmp ecx, 0x266
jne 0x4196a1
lea r10, [rax + 0x50]
cmp edi, r8d
mov ebp, edx
lea edx, [r8 + 1]
mov rax, r10
ja 0x419724
test ebp, ebp
jne 0x419ce0
mov eax, ebx
lea rdi, [rax + rax*4]
shl rdi, 4
mov rcx, qword [rsp + 0x48]
call fcn.0049a918
mov rcx, rsi
mov rdx, rdi
call fcn.00482910
mov rsi, qword [rsp + 0xd8]
mov qword [rsi], rax
mov rax, qword [rsp + 0xe0]
mov dword [rax], ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, rsi
mov rdx, rdi
mov rcx, r14
mov dword [rsp + 0x64], r13d
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x419922
mov r14d, 0x5d4
xor edx, edx
xor edi, edi
jmp 0x4191af
mov r13d, dword [r15]
cmp ecx, r13d
jae 0x49f98b
lea r10, [rax + 0x50]
mov edx, ecx
lea rdx, [rdx + rdx*2]
shl rdx, 5
add rdx, r12
mov r9d, dword [rdx + 0x38]
test r9d, r9d
js 0x4196ba
test byte [rdx + 0x3e], 0x40
jne 0x4196ba
cmp edi, r8d
jbe 0x41a04e
mov r9, r10
mov r11d, r8d
jmp 0x419832
add r11d, 1
add r9, 0x50
cmp edi, r11d
jbe 0x41987e
test dword [r9 + 0x4c], 0xfffffffb
jne 0x419825
mov rdx, qword [r9]
cmp r13d, edx
jbe 0x419825
mov r14d, edx
lea r14, [r14 + r14*2]
shl r14, 5
add r14, r12
cmp dword [r14 + 0x38], 0
js 0x419825
test byte [r14 + 0x3e], 0x40
jne 0x419825
mov r14d, edx
jmp 0x41986a
cmp r14d, edx
je 0x419825
movsxd rdx, edx
lea rdx, [rdx + rdx*2]
shl rdx, 5
mov edx, dword [r12 + rdx + 0x38]
cmp ecx, edx
jne 0x419865
cmp edi, r11d
je 0x4196ba
lea edx, [r8 + 1]
mov rax, r10
jmp 0x419724
mov rcx, r14
mov qword [rsp + 0x38], r9
mov r13d, 1
call sub.msvcrt.dll_strlen
mov rcx, r13
sub r13, rsi
mov r14, rax
mov eax, esi
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x58], eax
cdqe
sub rcx, rax
add rcx, r14
call fcn.00482890
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
mov rbp, rax
call sub.msvcrt.dll_memcpy
mov r9, qword [rsp + 0x38]
lea r8, [r13 + r14]
mov rcx, qword [rsp + 0x28]
add rsi, qword [r9]
add rcx, rbp
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov edx, dword [rsp + 0xd0]
lea rcx, [rbp + 1]
call fcn.00418530
mov rcx, rbp
mov r14, rax
call fcn.0049a918
cmp r14, 0x5d4
setne dl
jmp 0x4191af
mov r9, r15
xor edi, edi
jmp 0x419191
test dword [rsp + 0xd0], 0x80000
je 0x4192d8
test edi, edi
jne 0x419ac0
xor r12d, r12d
lea r8, [r14 + r14*2]
shl r8, 5
movzx r9d, word [rdx + r8 + 0x30]
cmp r9w, 0x5d3
je 0x419350
test cl, 8
jne 0x419350
movzx r8d, r9w
cmp r8, 0x5d5
je 0x419dd0
lea rbp, [r8 + r8*2]
shl rbp, 5
add rbp, rdx
cmp word [rbp + 0x30], 0x5d3
je 0x41999d
test byte [rbp + 0x40], 8
je 0x49f9a3
lea r9, [r14 + r14*2]
shl r9, 5
add r9, rdx
mov rbx, qword [r9 + 0x28]
mov r9, qword [r9 + 0x20]
test rbx, rbx
je 0x419f20
test r9, r9
je 0x49f92b
test r12, r12
jne 0x49fa4b
and ecx, 0x10
jne 0x49fa63
test eax, eax
mov dword [rsp + 0x64], 1
cmovne rbx, r9
mov r12, rbx
lea rax, [r8 + r8*2]
xor r9d, r9d
shl rax, 5
add rax, rdx
mov ecx, dword [rax + 0x3c]
test ecx, 0x800000
je 0x419a0e
test byte [rax + 0x40], 0x20
mov r9d, 1
jne 0x419e50
cmp edi, 1
jbe 0x419e5f
lea rax, [r8 + r8*2]
shl rax, 5
movzx eax, byte [rdx + rax + 0x40]
shr al, 1
and eax, 3
add eax, 1
cmp eax, edi
jne 0x49f943
test byte [rsp + 0x28], 2
jne 0x419a59
and ecx, 0x400000
jne 0x419e80
test r9b, r9b
jne 0x419e80
test r12, r12
jne 0x49f9d3
lea rax, [r8 + r8*2]
shl rax, 5
mov rax, qword [rdx + rax + 0x18]
test rax, rax
je 0x419a77
test r10, r10
jne 0x49fa1b
mov r10, rax
lea rax, [r8 + r8*2]
mov r14, r8
shl rax, 5
test byte [rdx + rax + 0x40], 1
je 0x419350
mov eax, dword [rbp + 0x3c]
or dword [rsp + 0x28], 1
mov edx, eax
and edx, dword [rsp + 0xd0]
jne 0x419362
or dword [rsp + 0x28], 4
test r12, r12
jne 0x419389
mov eax, dword [rsp + 0x64]
jmp 0x419467
xor edi, edi
xor ebx, ebx
lea r8, [r14 + r14*2]
movsxd r12, dword [rsp + 0x58]
shl r8, 5
mov r9d, dword [rsp + 0x30]
add r8, rdx
movzx r11d, byte [r8 + 0x34]
lea r11, [r11 + r12 + 1]
add r11, qword [r15 + r9*8]
cmp byte [r11], 0
mov r12, r11
jne 0x41994c
test byte [r8 + 0x41], 1
jne 0x41994c
test bl, bl
je 0x419ea6
mov r8d, esi
mov r12, qword [r15 + r8*8]
test r12, r12
je 0x419eac
mov esi, dword [rsp + 0x30]
mov r8d, edi
add esi, 2
jmp 0x41932a
mov edi, r8d
mov ebx, 1
jmp 0x419ac4
mov qword [r13 + rbx*8 + 0x20], 0
jmp 0x4194f5
mov r8, rax
mov rdx, r14
mov rcx, r12
call sub.msvcrt.dll_memcpy
jmp 0x4195b2
mov r8d, dword [rsp + 0x64]
mov r9, r13
mov rdx, r12
mov rcx, r14
call fcn.00418e00
cmp edi, 1
jbe 0x41950b
mov r10d, dword [rsp + 0x30]
lea ecx, [rdi - 1]
mov eax, 1
add rcx, 2
add r10d, 1
lea r9, [r15 + r10*8]
nop dword [rax + rax]
mov rdx, qword [r9 + rax*8 - 8]
mov r8d, eax
test rdx, rdx
je 0x419bbf
mov qword [r13 + rax*8 + 0x20], rdx
add rax, 1
cmp rcx, rax
jne 0x419ba0
add r8d, 1
cmp esi, r8d
jne 0x49fa03
mov rax, qword [rsp + 0x28]
mov qword [r13 + 0x40], rax
jmp 0x41950b
lea rcx, [0x005de460]
mov rdx, rbp
call fcn.0047ffa0
mov rax, qword [0x005de478]
mov r12, qword [0x005de470]
mov rdx, qword [0x005de480]
add rax, rbp
cmp rax, r12
jne 0x41953b
or byte [0x005de4b0], 2
jmp 0x41953b
mov r12, qword [r15]
mov dword [rsp + 0x64], 1
mov eax, 1
xor edx, edx
mov dword [rsp + 0x30], 0
mov qword [r13], 0x5d4
xor edi, edi
mov qword [r13 + 0x10], r12
mov dword [r13 + 0x48], eax
mov dword [r13 + 0x4c], edx
mov qword [r13 + 8], 0
mov qword [rsp + 0x40], 0
mov esi, 1
mov r14d, 0x5d4
mov qword [rsp + 0x28], 1
mov dword [rsp + 0x38], 0
jmp 0x4194af
cmp eax, 1
movzx edx, word [rbp + 0x46]
jne 0x49fa33
movsxd rax, edx
mov r9d, dword [rsp + 0xd0]
mov rdx, r12
mov qword [rsp + 0x38], r10
lea rbx, [rax + rax*2]
lea r8, [rsp + 0x64]
shl rbx, 4
add rbx, qword [0x005cfd60]
mov rcx, qword [rbx + 0x10]
call fcn.004184a0
mov r10, qword [rsp + 0x38]
test al, al
jne 0x419f80
or dword [rsp + 0x28], 0x20
mov eax, dword [rsp + 0x64]
jmp 0x419467
lea eax, [rbx - 1]
lea r8, [rax + rax*4]
lea rdx, [rsi + 0x50]
shl r8, 4
lea rcx, [rsi + 0xa0]
call sub.msvcrt.dll_memmove
lea rax, [rbp + rbp*4]
shl rax, 4
add rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov qword [rsi + 0x50], rdx
mov rdx, qword [rax + 8]
mov qword [rsi + 0x58], rdx
mov rdx, qword [rax + 0x10]
mov qword [rsi + 0x60], rdx
mov rdx, qword [rax + 0x18]
mov qword [rsi + 0x68], rdx
mov rdx, qword [rax + 0x20]
mov qword [rsi + 0x70], rdx
mov rdx, qword [rax + 0x28]
mov qword [rsi + 0x78], rdx
mov rdx, qword [rax + 0x30]
mov qword [rsi + 0x80], rdx
mov rdx, qword [rax + 0x38]
mov qword [rsi + 0x88], rdx
mov rdx, qword [rax + 0x40]
mov rax, qword [rax + 0x48]
mov qword [rsi + 0x90], rdx
mov qword [rsi + 0x98], rax
lea eax, [rbx + 1]
lea rdi, [rax + rax*4]
mov rbx, rax
shl rdi, 4
jmp 0x41976b
mov rcx, r12
mov qword [rsp + 0x38], r10
call fcn.00418750
mov ebx, dword [rsp + 0x28]
mov dword [rsp + 0x64], eax
mov r10, qword [rsp + 0x38]
mov edx, ebx
or edx, 8
cmp eax, 0xffffffff
cmovne edx, ebx
mov dword [rsp + 0x28], edx
mov edx, dword [rbp + 0x5c]
cmp edx, 0xffffffff
je 0x41945d
cmp eax, dword [rbp + 0x58]
jl 0x419dc2
cmp eax, edx
jle 0x41945d
or dword [rsp + 0x28], 0x10
jmp 0x41945d
lea rax, [r14 + r14*2]
shl rax, 5
add rdx, rax
cmp qword [rdx + 0x20], 0
jne 0x49f95b
mov r12, qword [rdx + 0x28]
test r12, r12
jne 0x49f973
mov dword [rsp + 0x64], 1
mov r14d, 0x5d5
jmp 0x419350
mov rdx, qword [0x005cfd90]
lea rbp, [rax + rax*2]
mov r14, rax
mov eax, 1
shl rbp, 5
add rbp, rdx
movzx ecx, byte [rbp + 0x40]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x58], 0
jmp 0x419296
mov r12, qword [r15]
mov edx, 0x40
jmp 0x419c3a
cmp edi, 1
movzx r9d, byte [rsp + 0x5f]
ja 0x419a17
lea rax, [r8 + r8*2]
shl rax, 5
test byte [rdx + rax + 0x40], 6
je 0x419a34
jmp 0x419a17
lea rax, [r8 + r8*2]
shl rax, 5
test byte [rdx + rax + 0x41], 1
je 0x419ff9
lea rax, [0x004b3db5]
test r12, r12
cmove r12, rax
jmp 0x419a59
mov r8d, edi
mov edi, r8d
or dword [rsp + 0x28], 2
xor r12d, r12d
jmp 0x41994c
or dword [rsp + 0x28], 2
add esi, edi
jmp 0x419321
lea rcx, [0x005de460]
mov rdx, r8
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], r8
call fcn.0047ffa0
mov rdx, qword [0x005de478]
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x005de470]
mov rax, qword [0x005de480]
mov r10, qword [rsp + 0x40]
add rdx, r8
cmp rdx, rcx
jne 0x4193de
or byte [0x005de4b0], 2
jmp 0x4193de
test r9, r9
je 0x419f48
cmp eax, 1
jne 0x49f9bb
test r12, r12
jne 0x49f8e3
and ecx, 0x10
jne 0x49f8cb
mov r12, r9
jmp 0x4199e5
and ecx, 0x10
je 0x419f59
test eax, eax
sete al
movzx eax, al
mov dword [rsp + 0x64], eax
test eax, eax
jne 0x4199e5
lea rax, [r8 + r8*2]
shl rax, 5
cmp byte [rdx + rax + 0x40], 0
jns 0x4199e5
jmp 0x49f8b3
mov qword [rsp + 0x68], 0
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x68]
mov r9d, dword [rsp + 0xd0]
mov rcx, qword [rbx + 0x10]
call fcn.00418830
mov r10, qword [rsp + 0x38]
test al, al
jne 0x41a019
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x49f89b
mov eax, dword [rsp + 0x64]
jmp 0x419467
mov rsi, qword [rsp + 0x48]
mov ecx, 0x50
mov edi, 1
mov rax, qword [rsp + 0xd8]
mov qword [rax], rsi
mov rax, qword [rsp + 0xe0]
mov dword [rax], 1
call fcn.00482890
mov rsi, rax
jmp 0x41967f
test r12, r12
jne 0x419a59
jmp 0x49f8fb
xor ebx, ebx
xor edi, edi
jmp 0x41976b
mov r12, qword [rsp + 0x68]
mov rax, r12
jmp 0x419fb2
test rcx, rcx
mov byte [rcx], 0
jne 0x41944a
mov eax, dword [rsp + 0x64]
xor r12d, r12d
jmp 0x419467
cmp esi, 1
je 0x419c58
jmp 0x49f913
jne 0x419759
jmp 0x4196ba