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

Disassembly:
lea r12, [rsp - 0x2d8]
cmp r12, qword [r14 + 0x10]
jbe 0x49a5ae
sub rsp, 0x358
mov qword [rsp + 0x350], rbp
lea rbp, [rsp + 0x350]
test rsi, rsi
jle 0x498997
test r10, r10
jne 0x49a59c
mov rcx, r14
cmp rcx, rdi
jne 0x4989b0
mov rdx, qword [rcx + 0x30]
cmp qword [rdx + 0x90], rcx
je 0x49a58b
mov edx, dword [0x005d5558]
mov rcx, qword [rcx + 0x30]
mov r12d, dword [rcx + 0xc4]
movzx ecx, byte [rcx + 0xf9]
test cl, cl
jne 0x4989e0
shr edx, 2
cmp r12d, 2
mov r12d, 2
cmovae edx, r12d
mov ecx, edx
nop
cmp rax, 0xffffffffffffffff
jne 0x498a0d
cmp rbx, 0xffffffffffffffff
jne 0x498a05
mov rdx, qword [rdi + 0x70]
test rdx, rdx
je 0x4989fb
mov rbx, qword [rdi + 0x78]
jmp 0x498a13
mov rbx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x38]
jmp 0x498a13
mov rdx, rbx
mov rbx, rax
jmp 0x498a13
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 0x498a8a
mov dword [rsp + 0xd8], eax
xor eax, eax
mov byte [rsp + 0x2e], al
mov eax, dword [rsp + 0xd8]
jmp 0x498a9e
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 0x498b1e
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.00492ea0
test rax, rax
je 0x498bb5
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.004a6354
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 0x498d27
mov rcx, qword [rsp + 0x3a0]
nop dword [rax]
test rcx, rcx
jne 0x498bd2
movzx edx, byte [rsp + 0x2e]
test dl, dl
je 0x498c72
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.0047aaa0
lea rax, [0x0051e900]
mov ebx, 0xb
call fcn.0047b3a0
mov rax, qword [rsp + 0x110]
call fcn.0047b0a0
lea rax, [0x0051ee25]
mov ebx, 0xd
call fcn.0047b3a0
mov rax, qword [rsp + 0x130]
call fcn.0047b200
call fcn.0047ad00
nop
call fcn.0047ab20
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
lea rcx, [rsp + 0x308]
xor edi, edi
nop
call fcn.0049c280
mov rax, qword [rsp + 0x3a0]
test rax, rax
jmp 0x498c75
test rcx, rcx
jne 0x498c89
xor eax, eax
mov rbp, qword [rsp + 0x350]
add rsp, 0x358
ret
lea rax, [0x0051e571]
mov ebx, 0xa
call fcn.00479160
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 0x499a1d
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 0x499a1d
mov qword [rsp + 0x2f8], r13
mov qword [rsp + 0x2f0], r12
movzx r13d, byte [r12 + 0x29]
movzx r12d, byte [r12 + 0x28]
cmp r12b, 4
jne 0x498d82
and r13d, 0xfffffffd
cmp qword [rsp + 0x318], r9
jne 0x498daa
cmp qword [rsp + 0x330], r10
jne 0x498daa
cmp qword [r11 + 0x78], r9
jne 0x498daa
nop dword [rax]
cmp qword [r11 + 0x70], r10
jne 0x498daa
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 0x498df8
mov r12, qword [rsp + 0x2f0]
mov r12, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], r12
mov r12, qword [rsp + 0x2f0]
jmp 0x4990e7
mov r10, qword [rsp + 0x360]
bt r10d, 2
jae 0x498ff4
mov r9, qword [r11 + 0x30]
cmp qword [r9], r11
jne 0x498fc7
mov rsi, qword [r9 + 0x90]
nop
test rsi, rsi
je 0x498f9a
cmp qword [rsi + 0x30], r9
jne 0x498f6a
cmp r12b, 0xc
je 0x498ec5
nop dword [rax]
cmp r12b, 0x13
jne 0x498e90
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 0x49901f
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 0x49901f
mov qword [rsp + 0x2e8], rsi
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x318], rax
call fcn.00492ea0
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 0x49901f
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 0x49901f
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 0x49901f
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 0x49901f
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.00493a80
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 0x499129
mov qword [rsp + 0x328], 0
xor r13d, r13d
xor r13d, r13d
mov qword [rsp + 0x2a8], r13
xor r13d, r13d
jmp 0x499426
test r13b, 2
je 0x499185
mov r13, qword [rsp + 0x3a0]
test r13, r13
je 0x49914e
nop dword [rax]
test rdx, rdx
jle 0x49918d
test r13, r13
jne 0x49a525
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 0x4993fe
mov r13, qword [rsp + 0x3a0]
cmp qword [rsp + 0x328], 0
jne 0x4991b9
mov r10, qword [rsp + 0x338]
add r10, 0xfffffffffffffff8
mov qword [rsp + 0x90], r10
mov r10, qword [r10]
mov qword [rsp + 0x328], r10
jmp 0x4991cb
mov qword [rsp + 0xd0], rax
xor eax, eax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x328]
call fcn.00492ea0
test rax, rax
je 0x499205
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 0x499395
movzx r9d, byte [rsp + 0x2e]
test r9b, r9b
je 0x499243
mov rcx, qword [rsp + 0x2e0]
mov r10, qword [rcx + 0x30]
cmp byte [r10 + 0xe8], 0
je 0x499239
mov r10, qword [rsp + 0x2b8]
cmp byte [r10 + 0x28], 0x12
jne 0x499253
xor edx, edx
jmp 0x499256
mov r10, qword [rsp + 0x2b8]
jmp 0x499253
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 0x49927f
test dl, dl
jne 0x49927f
test r11, r11
jmp 0x49938f
mov rax, r10
mov rbx, qword [rsp + 0x2b0]
call fcn.00493640
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.0047aaa0
lea rax, [0x0051e900]
mov ebx, 0xb
call fcn.0047b3a0
mov rax, qword [rsp + 0x110]
call fcn.0047b0a0
lea rax, [0x0052282e]
mov ebx, 0x1b
call fcn.0047b3a0
mov rax, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x100]
call fcn.0047b3a0
lea rax, [0x0051ed62]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.0047b3a0
mov rax, qword [rsp + 0x120]
call fcn.0047b200
call fcn.0047ad00
call fcn.0047ab20
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x308]
mov rdi, qword [rsp + 0x90]
call fcn.0049c280
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 0x49a514
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 0x499458
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 0x499519
mov r9, qword [rsp + 0x308]
cmp dword [r9 + 0xc], 0
jne 0x4994a5
mov qword [rsp + 0x320], 0
jmp 0x499519
mov rax, qword [rsp + 0x310]
mov ebx, dword [r9]
call fcn.00492b60
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 0x499536
mov r10, qword [rsp + 0x390]
test r10, r10
jmp 0x4995ba
mov rcx, qword [r9]
lea rax, [rsp + 0x308]
mov rbx, qword [rsp + 0x300]
mov rdx, r9
call rcx
test al, al
je 0x499a05
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 0x499765
mov r11, qword [rsp + 0x318]
test rdx, rdx
jne 0x4995ea
mov r15, qword [rsp + 0x360]
bt r15d, 1
jb 0x49966f
test bl, bl
jmp 0x4995f4
test bl, bl
mov r15, qword [rsp + 0x360]
jne 0x49966f
mov qword [rsp + 0x68], r11
mov ebx, dword [r12]
mov rax, qword [rsp + 0x2b0]
call fcn.00492b60
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jne 0x499675
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 0x4996ca
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 0x4996ee
mov qword [rsp + 0xb8], rax
xor eax, eax
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0xb8]
jmp 0x49974a
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 0x49a48b
nop dword [rax + rax]
jmp 0x49a31f
mov qword [rsp + 0x108], rax
movzx r10d, byte [rsp + 0x2e]
test r10b, r10b
je 0x4998d6
mov byte [rsp + 0x33], dil
mov qword [rsp + 0x100], rdx
mov r10, qword [rsp + 0x318]
mov qword [rsp + 0x48], r10
test rdx, rdx
jg 0x4997c2
mov r15, qword [rsp + 0x360]
bt r15d, 1
jae 0x4997c2
mov qword [rsp + 0xb0], rax
xor eax, eax
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0xb0]
jmp 0x49983b
mov ebx, dword [r12]
mov rax, qword [rsp + 0x2b0]
call fcn.00492b60
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 0x49984d
test bl, bl
jne 0x49984d
dec r10
cmp byte [r12 + 0x2b], 3
ja 0x499859
xor ebx, ebx
jmp 0x4998a5
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 0x499ee1
mov qword [rsp + 0x268], rbx
movups xmmword [rsp + 0x13c], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
jmp 0x499cc2
mov ebx, r10d
lea r10, [rdx + 1]
cmp byte [r12 + 0x28], 4
jne 0x499990
mov rdx, r11
mov r11, qword [rsp + 0xa8]
test r11, r11
je 0x49999b
mov r15, qword [rsp + 0x2c0]
mov r15, qword [r15 + r11*8 - 8]
test rax, rax
jne 0x499986
test r9, r9
jne 0x499986
mov qword [rsp + 0xf8], r8
mov byte [rsp + 0x31], dil
mov rax, qword [rsp + 0x390]
mov rcx, r15
mov rdi, r10
call fcn.0049ab80
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 0x49999b
mov rdx, r11
mov r11, qword [rsp + 0xa8]
movzx r12d, byte [r12 + 0x28]
cmp r12b, 0x12
test r13, r13
je 0x499bc5
mov r9, qword [rsp + 0x318]
nop word [rax + rax]
nop
cmp qword [rsp + 0x328], r9
jne 0x4999f7
mov qword [rsp + 0x120], r9
mov r9, qword [rsp + 0x330]
nop word [rax + rax]
cmp qword [rsp + 0x338], r9
je 0x499bd0
cmp r12b, 0x12
jmp 0x498c9a
cmp r12b, 0x12
nop dword [rax + rax]
jmp 0x498c9a
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 0x499a52
cmp rsi, rdx
jle 0x499a52
mov rcx, qword [rsp + 0x330]
mov rbx, qword [r11 + 0x80]
cmp rbx, rcx
jne 0x499a65
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.0047aaa0
lea rax, [0x0051e517]
mov ebx, 0xa
call fcn.0047b3a0
mov rax, qword [rsp + 0x110]
call fcn.0047b0a0
lea rax, [0x0051e682]
mov ebx, 0xb
call fcn.0047b3a0
mov rax, qword [rsp + 0x130]
call fcn.0047b200
lea rax, [0x0051d89b]
mov ebx, 5
call fcn.0047b3a0
mov rax, qword [rsp + 0x128]
call fcn.0047b200
call fcn.0047ad00
call fcn.0047ab20
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.0047aaa0
lea rax, [0x0051df1d]
mov ebx, 8
call fcn.0047b3a0
mov rax, qword [rsp + 0x130]
nop
call fcn.0047b200
lea rax, [0x0054eaa8]
mov ebx, 1
call fcn.0047b3a0
mov rax, qword [rsp + 0x128]
nop
call fcn.0047b200
lea rax, [0x0051d7ee]
mov ebx, 4
call fcn.0047b3a0
mov rax, qword [rsp + 0x88]
nop
call fcn.0047b1a0
lea rax, [0x0051d887]
mov ebx, 5
call fcn.0047b3a0
mov rax, qword [rsp + 0x398]
nop
call fcn.0047b1a0
call fcn.0047ad00
call fcn.0047ab20
lea rax, [0x00524778]
mov ebx, 0x23
nop dword [rax + rax]
call fcn.00479160
mov r11, rdx
mov rdx, r10
jmp 0x499a1d
mov qword [rsp + 0x130], r9
call fcn.0047aaa0
lea rax, [0x005232fd]
mov ebx, 0x1d
call fcn.0047b3a0
mov rax, qword [rsp + 0x120]
call fcn.0047b200
lea rax, [0x0051d772]
mov ebx, 4
call fcn.0047b3a0
mov rax, qword [rsp + 0x130]
call fcn.0047b200
call fcn.0047ad00
nop
call fcn.0047ab20
mov rdi, qword [rsp + 0x330]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x308]
nop
call fcn.0049c280
lea rax, [0x0051f6a8]
mov ebx, 0xf
call fcn.00479160
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.00492b60
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.00493c80
test eax, eax
jl 0x499e92
movsxd rax, eax
nop dword [rax]
cmp rax, 0x100000
jae 0x49a295
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 0x499d98
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.0049bb40
test al, al
je 0x499e85
lea rax, [rsp + 0x13c]
mov rbx, qword [rsp + 0x2b0]
call fcn.00493640
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.00493a20
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0xa0], rbx
mov dword [rsp + 0x38], ecx
call fcn.0047aaa0
mov rax, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x80]
call fcn.0047b3a0
lea rax, [0x0051da4e]
mov ebx, 6
call fcn.0047b3a0
call fcn.0047ab20
nop dword [rax + rax]
call fcn.0047aaa0
lea rax, [0x0054ea08]
mov ebx, 1
call fcn.0047b3a0
mov rax, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0xa0]
call fcn.0047b3a0
lea rax, [0x0051d59c]
mov ebx, 1
call fcn.0047b3a0
mov ecx, dword [rsp + 0x38]
movsxd rax, ecx
call fcn.0047b1a0
call fcn.0047ad00
call fcn.0047ab20
mov r8, qword [rsp + 0xf0]
inc r8
nop dword [rax]
jmp 0x499c56
mov r8, qword [rsp + 0xf0]
jmp 0x499c56
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 0x499efc
mov ebx, 1
jmp 0x499f74
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.0049bb40
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 0x49a277
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
call fcn.00493640
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.00493a20
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0x34], ecx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jne 0x49a010
movabs rsi, 0x2e656d69746e7572
mov rdi, qword [rsp + 0x278]
cmp qword [rdi], rsi
jne 0x49a018
cmp dword [rdi + 8], 0x61706f67
jne 0x49a018
cmp word [rdi + 0xc], 0x696e
jne 0x49a018
cmp byte [rdi + 0xe], 0x63
nop
jne 0x49a018
mov edx, 5
lea rdi, [0x0051d990]
jmp 0x49a018
mov rdi, qword [rsp + 0x278]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x278], rdi
call fcn.0047aaa0
mov rax, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x78]
call fcn.0047b3a0
lea rax, [0x0054ea98]
mov ebx, 1
call fcn.0047b3a0
call fcn.0047ab20
mov rcx, qword [rsp + 0x348]
mov rax, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x48]
call fcn.0049a620
call fcn.0047aaa0
lea rax, [0x0051d5be]
mov ebx, 2
call fcn.0047b3a0
call fcn.0047ab20
call fcn.0047aaa0
lea rax, [0x0054ea08]
mov ebx, 1
call fcn.0047b3a0
mov rax, qword [rsp + 0x298]
mov rbx, qword [rsp + 0x98]
call fcn.0047b3a0
lea rax, [0x0051d59c]
mov ebx, 1
call fcn.0047b3a0
mov eax, dword [rsp + 0x34]
movsxd rax, eax
call fcn.0047b1a0
call fcn.0047ab20
mov rax, qword [rsp + 0x2b8]
mov ebx, dword [rax]
mov rax, qword [rsp + 0x2b0]
call fcn.00492b60
cmp qword [rsp + 0x318], rax
jbe 0x49a159
mov rcx, qword [rsp + 0x2b8]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x2b0]
call fcn.00492b60
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x318]
mov qword [rsp + 0x120], rcx
call fcn.0047aaa0
lea rax, [0x0051d5ae]
mov ebx, 2
call fcn.0047b3a0
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x40]
sub rax, rcx
call fcn.0047b200
call fcn.0047ab20
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x49a17c
cmp dword [rcx + 0xc4], 2
jb 0x49a17c
cmp qword [rcx + 0x90], rax
je 0x49a189
mov ecx, dword [rsp + 0x3c]
cmp ecx, 2
jl 0x49a220
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.0047aaa0
lea rax, [0x0051d756]
mov ebx, 4
call fcn.0047b3a0
mov rax, qword [rsp + 0x120]
call fcn.0047b200
lea rax, [0x0051d772]
mov ebx, 4
call fcn.0047b3a0
mov rax, qword [rsp + 0x118]
call fcn.0047b200
lea rax, [0x0051d76a]
mov ebx, 4
call fcn.0047b3a0
mov rax, qword [rsp + 0xe0]
call fcn.0047b200
call fcn.0047ab20
nop dword [rax]
call fcn.0047aaa0
call fcn.0047ad00
call fcn.0047ab20
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 0x4998d6
mov ecx, 0x100000
call fcn.004a60c0
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.00492b60
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.00493c80
nop dword [rax]
test eax, eax
jl 0x49a43f
movsxd rax, eax
cmp rax, 0x100000
jae 0x49a50a
shl rax, 4
mov rdx, qword [rsp + 0x270]
movzx esi, byte [rdx + rax]
cmp sil, 0x15
jne 0x49a3bb
movzx esi, byte [rsp + 0x2f]
cmp sil, 9
je 0x49a3bb
cmp sil, 0x12
je 0x49a3bb
nop
cmp sil, 0xe
je 0x49a3bb
mov rcx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
jmp 0x49a29f
mov rsi, qword [rsp + 0x108]
test rsi, rsi
jle 0x49a3ec
lea rcx, [rsi - 1]
mov rdi, qword [rsp + 0x398]
mov r9, qword [rsp + 0x390]
mov rsi, rcx
mov rcx, qword [rsp + 0x100]
jmp 0x49a29f
mov rdi, qword [rsp + 0x398]
mov r8, qword [rsp + 0x100]
nop dword [rax]
cmp rdi, r8
jle 0x49a42f
cmp r8, 0x100000
jae 0x49a4fd
mov rcx, qword [rsp + 0x120]
mov r9, qword [rsp + 0x390]
mov qword [r9 + r8*8], rcx
lea rcx, [r8 + 1]
jmp 0x49a29f
mov r9, qword [rsp + 0x390]
mov rcx, r8
jmp 0x49a29f
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 0x49a4a6
cmp dil, 9
je 0x49a4a6
cmp dil, 0x12
je 0x49a4a6
nop
cmp dil, 0xe
jne 0x49a4c5
test rax, rax
jle 0x49a4b0
dec rax
jmp 0x49a4c5
cmp rsi, rdx
jle 0x49a4c5
cmp rdx, 0x100000
jae 0x49a4f0
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 0x499765
mov rax, rdx
mov ecx, 0x100000
call fcn.004a60c0
mov rax, r8
mov ecx, 0x100000
call fcn.004a60c0
mov ecx, 0x100000
call fcn.004a60c0
lea rax, [0x0051fdb8]
mov ebx, 0x11
call fcn.00479160
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
call fcn.00493640
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x108], rbx
call fcn.0047aaa0
lea rax, [0x00525178]
mov ebx, 0x27
call fcn.0047b3a0
mov rax, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x108]
call fcn.0047b3a0
call fcn.0047ad00
call fcn.0047ab20
lea rax, [0x0051e29a]
mov ebx, 9
call fcn.00479160
lea rax, [0x00526df8]
mov ebx, 0x39
call fcn.00479160
lea rax, [0x00526c74]
mov ebx, 0x37
call fcn.00479160
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.004a3a40
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.00498960