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

Disassembly:
lea r12, [rsp - 0x2d8]
cmp r12, qword [r14 + 0x10]
jbe 0x499f0e
sub rsp, 0x358
mov qword [rsp + 0x350], rbp
lea rbp, [rsp + 0x350]
test rsi, rsi
jle 0x4982f7
test r10, r10
jne 0x499efc
mov rcx, r14
cmp rcx, rdi
jne 0x498310
mov rdx, qword [rcx + 0x30]
cmp qword [rdx + 0x90], rcx
je 0x499eeb
mov edx, dword [0x005f6594]
mov rcx, qword [rcx + 0x30]
mov r12d, dword [rcx + 0xc4]
movzx ecx, byte [rcx + 0xf9]
test cl, cl
jne 0x498340
shr edx, 2
cmp r12d, 2
mov r12d, 2
cmovae edx, r12d
mov ecx, edx
nop
cmp rax, 0xffffffffffffffff
jne 0x49836d
cmp rbx, 0xffffffffffffffff
jne 0x498365
mov rdx, qword [rdi + 0x70]
test rdx, rdx
je 0x49835b
mov rbx, qword [rdi + 0x78]
jmp 0x498373
mov rbx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x38]
jmp 0x498373
mov rdx, rbx
mov rbx, rax
jmp 0x498373
mov rdx, rbx
mov rbx, rax
mov qword [rsp + 0x300], r11
movups xmmword [rsp + 0x308], xmm15
movups xmmword [rsp + 0x310], xmm15
movups xmmword [rsp + 0x320], xmm15
movups xmmword [rsp + 0x330], xmm15
movups xmmword [rsp + 0x340], xmm15
mov qword [rsp + 0x318], rbx
mov qword [rsp + 0x330], rdx
mov r12, qword [rdi + 0x150]
mov r13, qword [rdi + 0x158]
mov r15, qword [rdi + 8]
mov eax, ecx
mov rcx, qword [rdi]
test r8, r8
je 0x4983ea
mov dword [rsp + 0xd8], eax
xor eax, eax
mov byte [rsp + 0x2e], al
mov eax, dword [rsp + 0xd8]
jmp 0x4983fe
test r10, r10
sete r11b
mov byte [rsp + 0x2e], r11b
mov r11, qword [rsp + 0x300]
mov qword [rsp + 0x380], rdi
mov qword [rsp + 0x388], rsi
mov qword [rsp + 0x3a0], r10
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x390], r8
mov qword [rsp + 0x398], r9
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x2c0], r12
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x118], rcx
mov dword [rsp + 0x3c], eax
test rbx, rbx
jne 0x49847e
mov rdx, qword [rdx]
mov qword [rsp + 0x318], rdx
mov rdx, qword [rsp + 0x128]
lea r11, [rdx + 8]
mov qword [rsp + 0x330], r11
mov rax, qword [rsp + 0x318]
call fcn.00492800
test rax, rax
je 0x498515
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x310], rbx
lea rdi, [rsp + 0x168]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004a5e14
mov rbp, qword [rbp]
mov rsi, qword [rsp + 0x398]
mov r9, qword [rsp + 0x130]
mov r10, qword [rsp + 0x128]
mov r11, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x118]
mov r15, qword [rsp + 0x120]
mov rax, qword [rsp + 0x388]
mov r12, qword [rsp + 0x2c0]
mov r13, qword [rsp + 0xa8]
xor edx, edx
xor ebx, ebx
xor edi, edi
xor r8d, r8d
jmp 0x498687
mov rcx, qword [rsp + 0x3a0]
nop dword [rax]
test rcx, rcx
jne 0x498532
movzx edx, byte [rsp + 0x2e]
test dl, dl
je 0x4985d2
mov rax, qword [rsp + 0x380]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x318]
mov qword [rsp + 0x130], rcx
call fcn.0047a020
lea rax, [0x0053498a]
mov ebx, 0xb
call fcn.0047a920
mov rax, qword [rsp + 0x110]
call fcn.0047a620
lea rax, [0x00534ed3]
mov ebx, 0xd
call fcn.0047a920
mov rax, qword [rsp + 0x130]
call fcn.0047a780
call fcn.0047a280
nop
call fcn.0047a0a0
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
lea rcx, [rsp + 0x308]
xor edi, edi
nop
call fcn.0049bbe0
mov rax, qword [rsp + 0x3a0]
test rax, rax
jmp 0x4985d5
test rcx, rcx
jne 0x4985e9
xor eax, eax
mov rbp, qword [rsp + 0x350]
add rsp, 0x358
ret
lea rax, [0x005345f0]
mov ebx, 0xa
call fcn.004786e0
sete r9b
mov qword [rsp + 0x308], r13
mov r12, qword [rsp + 0x2a8]
mov qword [rsp + 0x310], r12
mov r12, qword [rsp + 0x328]
mov qword [rsp + 0x318], r12
mov qword [rsp + 0x328], 0
mov r12, qword [rsp + 0x338]
mov qword [rsp + 0x330], r12
mov qword [rsp + 0x338], 0
mov r12, qword [rsp + 0x130]
mov r13, qword [rsp + 0x128]
mov rdx, r10
mov ebx, r9d
mov r13, r11
mov r12, qword [rsp + 0x2c0]
mov r11, qword [rsp + 0x2e0]
mov r9, qword [rsp + 0x130]
mov r10, qword [rsp + 0x128]
cmp rsi, rdx
jle 0x49937d
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x2c0], r12
mov r12, qword [rsp + 0x308]
mov r13, qword [rsp + 0x310]
cmp dword [r12 + 0x10], 0
je 0x49937d
mov qword [rsp + 0x2f8], r13
mov qword [rsp + 0x2f0], r12
movzx r13d, byte [r12 + 0x29]
movzx r12d, byte [r12 + 0x28]
cmp r12b, 4
jne 0x4986e2
and r13d, 0xfffffffd
cmp qword [rsp + 0x318], r9
jne 0x49870a
cmp qword [rsp + 0x330], r10
jne 0x49870a
cmp qword [r11 + 0x78], r9
jne 0x49870a
nop dword [rax]
cmp qword [r11 + 0x70], r10
jne 0x49870a
and r13d, 0xfffffffd
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x108], rax
mov byte [rsp + 0x2f], dil
mov byte [rsp + 0x2d], bl
cmp qword [rsp + 0x338], 0
je 0x498758
mov r12, qword [rsp + 0x2f0]
mov r12, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], r12
mov r12, qword [rsp + 0x2f0]
jmp 0x498a47
mov r10, qword [rsp + 0x360]
bt r10d, 2
jae 0x498954
mov r9, qword [r11 + 0x30]
cmp qword [r9], r11
jne 0x498927
mov rsi, qword [r9 + 0x90]
nop
test rsi, rsi
je 0x4988fa
cmp qword [rsi + 0x30], r9
jne 0x4988ca
cmp r12b, 0xc
je 0x498825
nop dword [rax]
cmp r12b, 0x13
jne 0x4987f0
mov r9, qword [rsi + 0x38]
mov qword [rsp + 0x330], r9
mov r15, qword [rsi + 8]
mov rcx, qword [rsi]
mov r12, qword [rsi + 0x150]
mov r9, qword [rsi + 0x158]
and r13d, 0xfffffffd
mov r11, qword [rsp + 0x2f0]
mov r11, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], r11
mov r11, qword [rsp + 0x2f0]
jmp 0x49897f
mov rsi, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], rsi
mov r9, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x2c0]
mov rsi, r11
mov r11, qword [rsp + 0x2f0]
nop dword [rax + rax]
jmp 0x49897f
mov qword [rsp + 0x2e8], rsi
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x318], rax
call fcn.00492800
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x310], rbx
movzx r13d, byte [rax + 0x29]
mov r11, qword [rsp + 0x2e8]
mov rcx, qword [r11 + 0x60]
mov qword [rsp + 0x328], rcx
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x330], rcx
mov r15, qword [r11 + 8]
mov rcx, qword [r11]
mov r12, qword [r11 + 0x150]
mov rdx, qword [r11 + 0x158]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r10, qword [rsp + 0x360]
mov r11, rax
mov qword [rsp + 0x2b0], rbx
mov r9, rdx
mov rsi, qword [rsp + 0x2e8]
mov rax, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x88]
movzx ebx, byte [rsp + 0x2d]
jmp 0x49897f
mov rsi, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], rsi
mov r9, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x2c0]
mov rsi, r11
mov r11, qword [rsp + 0x2f0]
jmp 0x49897f
mov rsi, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], rsi
mov r9, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x2c0]
mov rsi, r11
mov r11, qword [rsp + 0x2f0]
jmp 0x49897f
mov r9, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], r9
mov r9, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x2c0]
mov rsi, r11
mov r11, qword [rsp + 0x2f0]
jmp 0x49897f
mov r12, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], r12
mov r9, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x2c0]
mov rsi, r11
mov r11, qword [rsp + 0x2f0]
mov qword [rsp + 0x2c0], r12
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x2b8], r11
mov qword [rsp + 0x2e0], rsi
mov byte [rsp + 0x30], r13b
mov rdx, qword [rsp + 0x318]
mov rax, r11
mov rbx, qword [rsp + 0x2b0]
lea rdi, [rsp + 0x168]
mov rcx, rdx
call fcn.004933e0
movsxd rdx, eax
add rdx, qword [rsp + 0x330]
mov qword [rsp + 0x338], rdx
add rdx, 8
mov qword [rsp + 0x338], rdx
mov rax, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x88]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x130]
mov r10, qword [rsp + 0x128]
movzx r13d, byte [rsp + 0x30]
mov r12, qword [rsp + 0x2b8]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov r11, qword [rsp + 0x2e0]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x2b8], r12
mov qword [rsp + 0x2e0], r11
test r13b, 1
je 0x498a89
mov qword [rsp + 0x328], 0
xor r13d, r13d
xor r13d, r13d
mov qword [rsp + 0x2a8], r13
xor r13d, r13d
jmp 0x498d86
test r13b, 2
je 0x498ae5
mov r13, qword [rsp + 0x3a0]
test r13, r13
je 0x498aae
nop dword [rax]
test rdx, rdx
jle 0x498aed
test r13, r13
jne 0x499e85
mov qword [rsp + 0x328], 0
mov qword [rsp + 0xc8], rax
xor eax, eax
mov qword [rsp + 0x290], rax
xor eax, eax
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0xc8]
nop
jmp 0x498d5e
mov r13, qword [rsp + 0x3a0]
cmp qword [rsp + 0x328], 0
jne 0x498b19
mov r10, qword [rsp + 0x338]
add r10, 0xfffffffffffffff8
mov qword [rsp + 0x90], r10
mov r10, qword [r10]
mov qword [rsp + 0x328], r10
jmp 0x498b2b
mov qword [rsp + 0xd0], rax
xor eax, eax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x328]
call fcn.00492800
test rax, rax
je 0x498b65
mov rcx, qword [rsp + 0x2e0]
movzx r9d, byte [rsp + 0x2e]
mov r10, qword [rsp + 0x2b8]
mov r11, qword [rsp + 0x3a0]
nop dword [rax + rax]
jmp 0x498cf5
movzx r9d, byte [rsp + 0x2e]
test r9b, r9b
je 0x498ba3
mov rcx, qword [rsp + 0x2e0]
mov r10, qword [rcx + 0x30]
cmp byte [r10 + 0xe8], 0
je 0x498b99
mov r10, qword [rsp + 0x2b8]
cmp byte [r10 + 0x28], 0x12
jne 0x498bb3
xor edx, edx
jmp 0x498bb6
mov r10, qword [rsp + 0x2b8]
jmp 0x498bb3
mov rcx, qword [rsp + 0x2e0]
mov r10, qword [rsp + 0x2b8]
mov edx, r9d
mov qword [rsp + 0x2d8], rax
mov qword [rsp + 0x2d0], rbx
mov r11, qword [rsp + 0x3a0]
test r11, r11
jne 0x498bdf
test dl, dl
jne 0x498bdf
test r11, r11
jmp 0x498cef
mov rax, r10
mov rbx, qword [rsp + 0x2b0]
call fcn.00492fa0
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x100], rbx
mov rcx, qword [rsp + 0x2e0]
mov rdx, qword [rcx + 0x98]
mov qword [rsp + 0x110], rdx
mov rsi, qword [rsp + 0x328]
mov qword [rsp + 0x120], rsi
call fcn.0047a020
lea rax, [0x0053498a]
mov ebx, 0xb
call fcn.0047a920
mov rax, qword [rsp + 0x110]
call fcn.0047a620
lea rax, [0x0053899e]
mov ebx, 0x1b
call fcn.0047a920
mov rax, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x100]
call fcn.0047a920
lea rax, [0x00534e10]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.0047a920
mov rax, qword [rsp + 0x120]
call fcn.0047a780
call fcn.0047a280
call fcn.0047a0a0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x308]
mov rdi, qword [rsp + 0x90]
call fcn.0049bbe0
mov rdx, qword [rsp + 0x3a0]
test rdx, rdx
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2e0]
mov rbx, qword [rsp + 0x2d0]
movzx r9d, byte [rsp + 0x2e]
mov r10, qword [rsp + 0x2b8]
mov r11, rdx
jne 0x499e74
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x130]
mov r10, qword [rsp + 0x128]
mov r11, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x3a0]
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x288], rbx
mov rax, qword [rsp + 0x108]
movzx ebx, byte [rsp + 0x2d]
mov r13, qword [rsp + 0x290]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0xc0]
mov r10, qword [rsp + 0x338]
mov qword [rsp + 0x340], r10
lea r9, [r10 - 8]
mov qword [rsp + 0x340], r9
cmp qword [rsp + 0x330], r9
jae 0x498db8
lea r9, [r10 - 0x10]
mov qword [rsp + 0x340], r9
mov qword [rsp + 0x290], r13
mov r9, qword [rsp + 0x338]
mov qword [rsp + 0x348], r9
mov r9, qword [rsp + 0x318]
mov qword [rsp + 0x320], r9
test bl, bl
je 0x498e79
mov r9, qword [rsp + 0x308]
cmp dword [r9 + 0xc], 0
jne 0x498e05
mov qword [rsp + 0x320], 0
jmp 0x498e79
mov rax, qword [rsp + 0x310]
mov ebx, dword [r9]
call fcn.004924c0
mov rcx, qword [rsp + 0x308]
mov ecx, dword [rcx + 0xc]
lea rcx, [rcx + rax]
lea rcx, [rcx + 1]
mov qword [rsp + 0x320], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r11, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x60]
mov r9, qword [rsp + 0x3a0]
test r9, r9
jne 0x498e96
mov r10, qword [rsp + 0x390]
test r10, r10
jmp 0x498f1a
mov rcx, qword [r9]
lea rax, [rsp + 0x308]
mov rbx, qword [rsp + 0x300]
mov rdx, r9
call rcx
test al, al
je 0x499365
mov rax, qword [rsp + 0x390]
test rax, rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x3a0]
mov r10, qword [rsp + 0x390]
mov r11, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x60]
nop word [rax + rax]
je 0x4990c5
mov r11, qword [rsp + 0x318]
test rdx, rdx
jne 0x498f4a
mov r15, qword [rsp + 0x360]
bt r15d, 1
jb 0x498fcf
test bl, bl
jmp 0x498f54
test bl, bl
mov r15, qword [rsp + 0x360]
jne 0x498fcf
mov qword [rsp + 0x68], r11
mov ebx, dword [r12]
mov rax, qword [rsp + 0x2b0]
call fcn.004924c0
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jne 0x498fd5
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x3a0]
mov r10, qword [rsp + 0x390]
mov r11, qword [rsp + 0x68]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
lea r9, [r11 + 1]
jmp 0x49902a
lea r11, [rcx - 1]
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0x70]
mov r10, qword [rsp + 0x390]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
mov r9, qword [rsp + 0x68]
cmp byte [r12 + 0x2b], 3
ja 0x49904e
mov qword [rsp + 0xb8], rax
xor eax, eax
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0xb8]
jmp 0x4990aa
mov qword [rsp + 0x50], r11
lea r13, [r12 + 0x2b]
mov r11d, dword [r12 + 0x1c]
lea r11, [r13 + r11*4]
lea r11, [r11 + 0xd]
mov r11d, dword [r11]
cmp r11d, 0xffffffff
sete r13b
mov r15, qword [rsp + 0x2b0]
mov r15, qword [r15 + 0x140]
movzx r13d, r13b
dec r13
add r11, r15
and r11, r13
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
mov qword [rsp + 0x270], r11
mov r11, qword [rsp + 0x50]
mov r13, qword [rsp + 0x270]
test r13, r13
je 0x499deb
nop dword [rax + rax]
jmp 0x499c7f
mov qword [rsp + 0x108], rax
movzx r10d, byte [rsp + 0x2e]
test r10b, r10b
je 0x499236
mov byte [rsp + 0x33], dil
mov qword [rsp + 0x100], rdx
mov r10, qword [rsp + 0x318]
mov qword [rsp + 0x48], r10
test rdx, rdx
jg 0x499122
mov r15, qword [rsp + 0x360]
bt r15d, 1
jae 0x499122
mov qword [rsp + 0xb0], rax
xor eax, eax
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0xb0]
jmp 0x49919b
mov ebx, dword [r12]
mov rax, qword [rsp + 0x2b0]
call fcn.004924c0
cmp qword [rsp + 0x318], rax
seta cl
mov rax, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x100]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x33]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x3a0]
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
mov byte [rsp + 0x32], cl
mov rcx, qword [rsp + 0x58]
movzx r11d, byte [rsp + 0x32]
test r11b, r11b
je 0x4991ad
test bl, bl
jne 0x4991ad
dec r10
cmp byte [r12 + 0x2b], 3
ja 0x4991b9
xor ebx, ebx
jmp 0x499205
lea r11, [r12 + 0x2b]
mov r9d, dword [r12 + 0x1c]
lea r9, [r11 + r9*4]
lea r9, [r9 + 0xd]
mov r9d, dword [r9]
cmp r9d, 0xffffffff
sete r11b
mov r13, qword [rsp + 0x2b0]
mov r13, qword [r13 + 0x140]
movzx r11d, r11b
dec r11
add r9, r13
and r9, r11
mov r13, qword [rsp + 0x290]
mov rbx, r9
mov r9, qword [rsp + 0x3a0]
test rbx, rbx
je 0x499841
mov qword [rsp + 0x268], rbx
movups xmmword [rsp + 0x13c], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
jmp 0x499622
mov ebx, r10d
lea r10, [rdx + 1]
cmp byte [r12 + 0x28], 4
jne 0x4992f0
mov rdx, r11
mov r11, qword [rsp + 0xa8]
test r11, r11
je 0x4992fb
mov r15, qword [rsp + 0x2c0]
mov r15, qword [r15 + r11*8 - 8]
test rax, rax
jne 0x4992e6
test r9, r9
jne 0x4992e6
mov qword [rsp + 0xf8], r8
mov byte [rsp + 0x31], dil
mov rax, qword [rsp + 0x390]
mov rcx, r15
mov rdi, r10
call fcn.0049a4e0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x2e0]
movzx ebx, byte [rsp + 0x2e]
mov rsi, qword [rsp + 0x398]
movzx edi, byte [rsp + 0x31]
mov r8, qword [rsp + 0xf8]
mov r9, qword [rsp + 0x3a0]
mov r11, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r10, rax
mov rax, qword [rsp + 0x108]
dec r11
mov r15, qword [rsp + 0x60]
jmp 0x4992fb
mov rdx, r11
mov r11, qword [rsp + 0xa8]
movzx r12d, byte [r12 + 0x28]
cmp r12b, 0x12
test r13, r13
je 0x499525
mov r9, qword [rsp + 0x318]
nop word [rax + rax]
nop
cmp qword [rsp + 0x328], r9
jne 0x499357
mov qword [rsp + 0x120], r9
mov r9, qword [rsp + 0x330]
nop word [rax + rax]
cmp qword [rsp + 0x338], r9
je 0x499530
cmp r12b, 0x12
jmp 0x4985fa
cmp r12b, 0x12
nop dword [rax + rax]
jmp 0x4985fa
mov rax, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x350]
add rsp, 0x358
ret
movzx ecx, byte [rsp + 0x2e]
movzx ecx, cl
test rcx, rcx
cmovne rdx, r8
mov rcx, qword [rsp + 0x3a0]
test rcx, rcx
je 0x4993b2
cmp rsi, rdx
jle 0x4993b2
mov rcx, qword [rsp + 0x330]
mov rbx, qword [r11 + 0x80]
cmp rbx, rcx
jne 0x4993c5
mov rax, rdx
mov rbp, qword [rsp + 0x350]
add rsp, 0x358
ret
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x2e8], r11
mov rax, qword [r11 + 0x98]
mov qword [rsp + 0x110], rax
call fcn.0047a020
lea rax, [0x00534596]
mov ebx, 0xa
call fcn.0047a920
mov rax, qword [rsp + 0x110]
call fcn.0047a620
lea rax, [0x0053470c]
mov ebx, 0xb
call fcn.0047a920
mov rax, qword [rsp + 0x130]
call fcn.0047a780
lea rax, [0x005338e1]
mov ebx, 5
call fcn.0047a920
mov rax, qword [rsp + 0x128]
call fcn.0047a780
call fcn.0047a280
call fcn.0047a0a0
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
mov qword [rsp + 0x130], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x128], rax
nop dword [rax]
call fcn.0047a020
lea rax, [0x00533f76]
mov ebx, 8
call fcn.0047a920
mov rax, qword [rsp + 0x130]
nop
call fcn.0047a780
lea rax, [0x00566f60]
mov ebx, 1
call fcn.0047a920
mov rax, qword [rsp + 0x128]
nop
call fcn.0047a780
lea rax, [0x00533834]
mov ebx, 4
call fcn.0047a920
mov rax, qword [rsp + 0x88]
nop
call fcn.0047a720
lea rax, [0x005338cd]
mov ebx, 5
call fcn.0047a920
mov rax, qword [rsp + 0x398]
nop
call fcn.0047a720
call fcn.0047a280
call fcn.0047a0a0
lea rax, [0x0053a9a2]
mov ebx, 0x23
nop dword [rax + rax]
call fcn.004786e0
mov r11, rdx
mov rdx, r10
jmp 0x49937d
mov qword [rsp + 0x130], r9
call fcn.0047a020
lea rax, [0x005394c3]
mov ebx, 0x1d
call fcn.0047a920
mov rax, qword [rsp + 0x120]
call fcn.0047a780
lea rax, [0x005337b8]
mov ebx, 4
call fcn.0047a920
mov rax, qword [rsp + 0x130]
call fcn.0047a780
call fcn.0047a280
nop
call fcn.0047a0a0
mov rdi, qword [rsp + 0x330]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x308]
nop
call fcn.0049bbe0
lea rax, [0x00535765]
mov ebx, 0xf
call fcn.004786e0
mov qword [rsp + 0xf0], r8
mov rcx, qword [rsp + 0x308]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x268]
movzx edi, byte [rsi + rdx]
mov byte [rsp + 0x2f], dil
mov rax, qword [rsp + 0x310]
mov ebx, dword [rcx]
call fcn.004924c0
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x268]
lea rcx, [rdx + rcx]
lea rcx, [rcx + 8]
movsxd rcx, dword [rcx]
lea r10, [rcx + rax]
mov r12, qword [rsp + 0x2b8]
movzx edi, byte [rsp + 0x2f]
mov r8, qword [rsp + 0xf0]
mov qword [rsp + 0xf0], r8
mov byte [rsp + 0x2f], dil
mov qword [rsp + 0x48], r10
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
mov ecx, 2
xor esi, esi
mov rdi, r10
call fcn.004935e0
test eax, eax
jl 0x4997f2
movsxd rax, eax
nop dword [rax]
cmp rax, 0x100000
jae 0x499bf5
shl rax, 4
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x268]
mov r9d, dword [rdx + rax + 4]
mov dword [rsp + 0x140], r9d
movzx r9d, byte [rdx + rax]
mov byte [rsp + 0x164], r9b
mov r9d, dword [rdx + rax + 0xc]
mov dword [rsp + 0x160], r9d
mov r9, qword [rsp + 0x360]
bt r9d, 0
jb 0x4996f8
mov rdx, qword [rsp + 0xf0]
test rdx, rdx
sete dil
movzx esi, byte [rsp + 0x164]
lea rax, [rsp + 0x13c]
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2e0]
movzx r8d, byte [rsp + 0x2f]
call fcn.0049b4a0
test al, al
je 0x4997e5
lea rax, [rsp + 0x13c]
mov rbx, qword [rsp + 0x2b0]
call fcn.00492fa0
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x80], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
call fcn.00493380
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0xa0], rbx
mov dword [rsp + 0x38], ecx
call fcn.0047a020
mov rax, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x80]
call fcn.0047a920
lea rax, [0x00533a99]
mov ebx, 6
call fcn.0047a920
call fcn.0047a0a0
nop dword [rax + rax]
call fcn.0047a020
lea rax, [0x00566ec0]
mov ebx, 1
call fcn.0047a920
mov rax, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0xa0]
call fcn.0047a920
lea rax, [0x005335dc]
mov ebx, 1
call fcn.0047a920
mov ecx, dword [rsp + 0x38]
movsxd rax, ecx
call fcn.0047a720
call fcn.0047a280
call fcn.0047a0a0
mov r8, qword [rsp + 0xf0]
inc r8
nop dword [rax]
jmp 0x4995b6
mov r8, qword [rsp + 0xf0]
jmp 0x4995b6
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x398]
mov r9, qword [rsp + 0x3a0]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
movzx edi, byte [rsp + 0x2f]
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0xf0]
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x48], r10
bt r15d, 0
jae 0x49985c
mov ebx, 1
jmp 0x4998d4
test r8, r8
sete dl
movzx esi, byte [r12 + 0x28]
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2e0]
mov r9d, edi
mov edi, edx
mov r8d, r9d
call fcn.0049b4a0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x398]
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0x3a0]
mov r10, qword [rsp + 0x48]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
mov ebx, eax
mov rax, qword [rsp + 0x108]
test bl, bl
je 0x499bd7
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
call fcn.00492fa0
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
call fcn.00493380
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0x34], ecx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jne 0x499970
movabs rsi, 0x2e656d69746e7572
mov rdi, qword [rsp + 0x278]
cmp qword [rdi], rsi
jne 0x499978
cmp dword [rdi + 8], 0x61706f67
jne 0x499978
cmp word [rdi + 0xc], 0x696e
jne 0x499978
cmp byte [rdi + 0xe], 0x63
nop
jne 0x499978
mov edx, 5
lea rdi, [0x005339db]
jmp 0x499978
mov rdi, qword [rsp + 0x278]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x278], rdi
call fcn.0047a020
mov rax, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x78]
call fcn.0047a920
lea rax, [0x00566f50]
mov ebx, 1
call fcn.0047a920
call fcn.0047a0a0
mov rcx, qword [rsp + 0x348]
mov rax, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x48]
call fcn.00499f80
call fcn.0047a020
lea rax, [0x005335fe]
mov ebx, 2
call fcn.0047a920
call fcn.0047a0a0
call fcn.0047a020
lea rax, [0x00566ec0]
mov ebx, 1
call fcn.0047a920
mov rax, qword [rsp + 0x298]
mov rbx, qword [rsp + 0x98]
call fcn.0047a920
lea rax, [0x005335dc]
mov ebx, 1
call fcn.0047a920
mov eax, dword [rsp + 0x34]
movsxd rax, eax
call fcn.0047a720
call fcn.0047a0a0
mov rax, qword [rsp + 0x2b8]
mov ebx, dword [rax]
mov rax, qword [rsp + 0x2b0]
call fcn.004924c0
cmp qword [rsp + 0x318], rax
jbe 0x499ab9
mov rcx, qword [rsp + 0x2b8]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x2b0]
call fcn.004924c0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x318]
mov qword [rsp + 0x120], rcx
call fcn.0047a020
lea rax, [0x005335ee]
mov ebx, 2
call fcn.0047a920
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x40]
sub rax, rcx
call fcn.0047a780
call fcn.0047a0a0
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x499adc
cmp dword [rcx + 0xc4], 2
jb 0x499adc
cmp qword [rcx + 0x90], rax
je 0x499ae9
mov ecx, dword [rsp + 0x3c]
cmp ecx, 2
jl 0x499b80
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x330]
mov qword [rsp + 0x118], rcx
mov rdx, qword [rsp + 0x318]
mov qword [rsp + 0xe0], rdx
call fcn.0047a020
lea rax, [0x0053379c]
mov ebx, 4
call fcn.0047a920
mov rax, qword [rsp + 0x120]
call fcn.0047a780
lea rax, [0x005337b8]
mov ebx, 4
call fcn.0047a920
mov rax, qword [rsp + 0x118]
call fcn.0047a780
lea rax, [0x005337b0]
mov ebx, 4
call fcn.0047a920
mov rax, qword [rsp + 0xe0]
call fcn.0047a780
call fcn.0047a0a0
nop dword [rax]
call fcn.0047a020
call fcn.0047a280
call fcn.0047a0a0
mov r8, qword [rsp + 0xf0]
inc r8
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x398]
mov r9, qword [rsp + 0x3a0]
mov r12, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x360]
movzx edi, byte [r12 + 0x28]
movzx r10d, byte [rsp + 0x2e]
mov r11, qword [rsp + 0x2e0]
mov r15, qword [rsp + 0x60]
jmp 0x499236
mov ecx, 0x100000
call fcn.004a5b80
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0xf0], rcx
mov rdi, qword [rsp + 0x308]
movzx r8d, byte [rdx + rax]
mov byte [rsp + 0x2f], r8b
mov r9, qword [rsp + 0x310]
mov ebx, dword [rdi]
mov rax, r9
call fcn.004924c0
mov rcx, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x270]
lea rcx, [rdx + rcx]
lea rcx, [rcx + 8]
movsxd rcx, dword [rcx]
lea r11, [rcx + rax]
lea r9, [rcx + rax]
lea r9, [r9 + 1]
mov r12, qword [rsp + 0x2b8]
movzx edi, byte [rsp + 0x2f]
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x120], r9
mov qword [rsp + 0x100], rdx
mov byte [rsp + 0x2f], dil
mov rbx, qword [rsp + 0x2b0]
mov ecx, 2
lea rsi, [rsp + 0x168]
mov rax, r12
mov rdi, r11
call fcn.004935e0
nop dword [rax]
test eax, eax
jl 0x499d9f
movsxd rax, eax
cmp rax, 0x100000
jae 0x499e6a
shl rax, 4
mov rdx, qword [rsp + 0x270]
movzx esi, byte [rdx + rax]
cmp sil, 0x15
jne 0x499d1b
movzx esi, byte [rsp + 0x2f]
cmp sil, 9
je 0x499d1b
cmp sil, 0x12
je 0x499d1b
nop
cmp sil, 0xe
je 0x499d1b
mov rcx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
jmp 0x499bff
mov rsi, qword [rsp + 0x108]
test rsi, rsi
jle 0x499d4c
lea rcx, [rsi - 1]
mov rdi, qword [rsp + 0x398]
mov r9, qword [rsp + 0x390]
mov rsi, rcx
mov rcx, qword [rsp + 0x100]
jmp 0x499bff
mov rdi, qword [rsp + 0x398]
mov r8, qword [rsp + 0x100]
nop dword [rax]
cmp rdi, r8
jle 0x499d8f
cmp r8, 0x100000
jae 0x499e5d
mov rcx, qword [rsp + 0x120]
mov r9, qword [rsp + 0x390]
mov qword [r9 + r8*8], rcx
lea rcx, [r8 + 1]
jmp 0x499bff
mov r9, qword [rsp + 0x390]
mov rcx, r8
jmp 0x499bff
mov rcx, qword [rsp + 0x58]
movzx ebx, byte [rsp + 0x2d]
mov rsi, qword [rsp + 0x398]
mov r8, qword [rsp + 0x70]
mov r10, qword [rsp + 0x390]
mov r12, qword [rsp + 0x2b8]
mov r15, qword [rsp + 0x360]
movzx edi, byte [rsp + 0x2f]
mov rdx, qword [rsp + 0x100]
mov r9, qword [rsp + 0x120]
mov rax, qword [rsp + 0x108]
cmp byte [r12 + 0x28], 0x15
jne 0x499e06
cmp dil, 9
je 0x499e06
cmp dil, 0x12
je 0x499e06
nop
cmp dil, 0xe
jne 0x499e25
test rax, rax
jle 0x499e10
dec rax
jmp 0x499e25
cmp rsi, rdx
jle 0x499e25
cmp rdx, 0x100000
jae 0x499e50
mov qword [r10 + rdx*8], r9
inc rdx
movzx edi, byte [r12 + 0x28]
dec rdx
mov r9, qword [rsp + 0x3a0]
mov r11, qword [rsp + 0x2e0]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x60]
jmp 0x4990c5
mov rax, rdx
mov ecx, 0x100000
call fcn.004a5b80
mov rax, r8
mov ecx, 0x100000
call fcn.004a5b80
mov ecx, 0x100000
call fcn.004a5b80
lea rax, [0x00535e86]
mov ebx, 0x11
call fcn.004786e0
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
call fcn.00492fa0
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x108], rbx
call fcn.0047a020
lea rax, [0x0053b3c8]
mov ebx, 0x27
call fcn.0047a920
mov rax, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x108]
call fcn.0047a920
call fcn.0047a280
call fcn.0047a0a0
lea rax, [0x00534305]
mov ebx, 9
call fcn.004786e0
lea rax, [0x0053d0a8]
mov ebx, 0x39
call fcn.004786e0
lea rax, [0x0053cf24]
mov ebx, 0x37
call fcn.004786e0
nop
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], r11
nop dword [rax + rax]
call fcn.004a3500
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x50]
jmp fcn.004982c0