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

Disassembly:
lea r12, [rsp - 0x2d8]
cmp r12, qword [r14 + 0x10]
jbe 0x497fae
sub rsp, 0x358
mov qword [rsp + 0x350], rbp
lea rbp, [rsp + 0x350]
test rsi, rsi
jle 0x4963b7
test r10, r10
jne 0x497f9c
mov rcx, r14
cmp rcx, rdi
jne 0x4963d0
mov rdx, qword [rcx + 0x30]
cmp qword [rdx + 0x90], rcx
je 0x497f8b
mov edx, dword [0x007ff6fc]
mov rcx, qword [rcx + 0x30]
mov r12d, dword [rcx + 0xc4]
movzx ecx, byte [rcx + 0xf9]
test cl, cl
jne 0x496400
shr edx, 2
cmp r12d, 2
mov r12d, 2
cmovae edx, r12d
mov ecx, edx
nop
cmp rax, 0xffffffffffffffff
jne 0x49642d
cmp rbx, 0xffffffffffffffff
jne 0x496425
mov rdx, qword [rdi + 0x70]
test rdx, rdx
je 0x49641b
mov rbx, qword [rdi + 0x78]
jmp 0x496433
mov rbx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x38]
jmp 0x496433
mov rdx, rbx
mov rbx, rax
jmp 0x496433
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 0x4964aa
mov dword [rsp + 0xd8], eax
xor eax, eax
mov byte [rsp + 0x2e], al
mov eax, dword [rsp + 0xd8]
jmp 0x4964be
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 0x49653e
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.004905a0
test rax, rax
je 0x4965d5
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.004a5294
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 0x496747
mov rcx, qword [rsp + 0x3a0]
nop dword [rax]
test rcx, rcx
jne 0x4965f2
movzx edx, byte [rsp + 0x2e]
test dl, dl
je 0x496692
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.00475940
lea rax, [0x00673f79]
mov ebx, 0xb
call fcn.00476240
mov rax, qword [rsp + 0x110]
call fcn.00475f40
lea rax, [0x00674696]
mov ebx, 0xd
call fcn.00476240
mov rax, qword [rsp + 0x130]
call fcn.004760a0
call fcn.00475ba0
nop
call fcn.004759c0
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
lea rcx, [rsp + 0x308]
xor edi, edi
nop
call fcn.00499c80
mov rax, qword [rsp + 0x3a0]
test rax, rax
jmp 0x496695
test rcx, rcx
jne 0x4966a9
xor eax, eax
mov rbp, qword [rsp + 0x350]
add rsp, 0x358
ret
lea rax, [0x00673b25]
mov ebx, 0xa
call fcn.00474000
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 0x497426
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 0x497426
mov qword [rsp + 0x2f8], r13
mov qword [rsp + 0x2f0], r12
movzx r13d, byte [r12 + 0x29]
movzx r12d, byte [r12 + 0x28]
cmp r12b, 4
jne 0x4967a2
and r13d, 0xfffffffd
cmp qword [rsp + 0x318], r9
jne 0x4967ca
cmp qword [rsp + 0x330], r10
jne 0x4967ca
cmp qword [r11 + 0x78], r9
jne 0x4967ca
nop dword [rax]
cmp qword [r11 + 0x70], r10
jne 0x4967ca
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 0x496818
mov r12, qword [rsp + 0x2f0]
mov r12, qword [rsp + 0x2f8]
mov qword [rsp + 0x2b0], r12
mov r12, qword [rsp + 0x2f0]
jmp 0x496b07
mov r10, qword [rsp + 0x360]
bt r10d, 2
jae 0x496a14
mov r9, qword [r11 + 0x30]
cmp qword [r9], r11
jne 0x4969e7
mov rsi, qword [r9 + 0x90]
nop
test rsi, rsi
je 0x4969ba
cmp qword [rsi + 0x30], r9
jne 0x49698a
cmp r12b, 0xc
je 0x4968e5
nop dword [rax]
cmp r12b, 0x13
jne 0x4968b0
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 0x496a3f
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 0x496a3f
mov qword [rsp + 0x2e8], rsi
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x318], rax
call fcn.004905a0
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 0x496a3f
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 0x496a3f
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 0x496a3f
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 0x496a3f
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.00491180
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 0x496b49
mov qword [rsp + 0x328], 0
xor r13d, r13d
xor r13d, r13d
mov qword [rsp + 0x2a8], r13
xor r13d, r13d
jmp 0x496e46
test r13b, 2
je 0x496ba5
mov r13, qword [rsp + 0x3a0]
test r13, r13
je 0x496b6e
nop dword [rax]
test rdx, rdx
jle 0x496bad
test r13, r13
jne 0x497f25
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 0x496e1e
mov r13, qword [rsp + 0x3a0]
cmp qword [rsp + 0x328], 0
jne 0x496bd9
mov r10, qword [rsp + 0x338]
add r10, 0xfffffffffffffff8
mov qword [rsp + 0x90], r10
mov r10, qword [r10]
mov qword [rsp + 0x328], r10
jmp 0x496beb
mov qword [rsp + 0xd0], rax
xor eax, eax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x328]
call fcn.004905a0
test rax, rax
je 0x496c25
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 0x496db5
movzx r9d, byte [rsp + 0x2e]
test r9b, r9b
je 0x496c63
mov rcx, qword [rsp + 0x2e0]
mov r10, qword [rcx + 0x30]
cmp byte [r10 + 0xe8], 0
je 0x496c59
mov r10, qword [rsp + 0x2b8]
cmp byte [r10 + 0x28], 0x12
jne 0x496c73
xor edx, edx
jmp 0x496c76
mov r10, qword [rsp + 0x2b8]
jmp 0x496c73
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 0x496c9f
test dl, dl
jne 0x496c9f
test r11, r11
jmp 0x496daf
mov rax, r10
mov rbx, qword [rsp + 0x2b0]
call fcn.00490d40
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.00475940
lea rax, [0x00673f79]
mov ebx, 0xb
call fcn.00476240
mov rax, qword [rsp + 0x110]
call fcn.00475f40
lea rax, [0x00679cbe]
mov ebx, 0x1b
call fcn.00476240
mov rax, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x100]
call fcn.00476240
lea rax, [0x006745c6]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00476240
mov rax, qword [rsp + 0x120]
call fcn.004760a0
call fcn.00475ba0
call fcn.004759c0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x308]
mov rdi, qword [rsp + 0x90]
call fcn.00499c80
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 0x497f14
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 0x496e78
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 0x496f37
mov r9, qword [rsp + 0x308]
cmp dword [r9 + 0xc], 0
jne 0x496ec5
mov qword [rsp + 0x320], 0
jmp 0x496f37
mov rax, qword [rsp + 0x310]
mov ebx, dword [r9]
call fcn.0048ff80
mov rcx, qword [rsp + 0x308]
mov ecx, dword [rcx + 0xc]
inc rcx
add rcx, rax
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]
nop
test r9, r9
jne 0x496f55
mov r10, qword [rsp + 0x390]
test r10, r10
jmp 0x496fd9
mov rcx, qword [r9]
lea rax, [rsp + 0x308]
mov rbx, qword [rsp + 0x300]
mov rdx, r9
call rcx
test al, al
je 0x49740e
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]
je 0x497179
mov r11, qword [rsp + 0x318]
test rdx, rdx
jne 0x497003
mov r15, qword [rsp + 0x360]
bt r15d, 1
jb 0x497088
test bl, bl
jmp 0x49700d
test bl, bl
mov r15, qword [rsp + 0x360]
jne 0x497088
mov qword [rsp + 0x68], r11
mov ebx, dword [r12]
mov rax, qword [rsp + 0x2b0]
call fcn.0048ff80
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jne 0x49708e
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 0x4970e3
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 0x497107
mov qword [rsp + 0xb8], rax
xor eax, eax
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0xb8]
jmp 0x497163
mov qword [rsp + 0x50], r11
lea r13, [r12 + 0x2b]
mov r11d, dword [r12 + 0x1c]
lea r11, [r13 + r11*4]
add 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 0x497e8b
jmp 0x497d1e
mov qword [rsp + 0x108], rax
movzx r10d, byte [rsp + 0x2e]
test r10b, r10b
je 0x4972f1
mov byte [rsp + 0x33], dil
mov qword [rsp + 0x100], rdx
mov r10, qword [rsp + 0x318]
mov qword [rsp + 0x48], r10
test rdx, rdx
jg 0x4971d6
mov r15, qword [rsp + 0x360]
bt r15d, 1
jae 0x4971d6
mov qword [rsp + 0xb0], rax
xor eax, eax
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0xb0]
jmp 0x49724f
mov ebx, dword [r12]
mov rax, qword [rsp + 0x2b0]
call fcn.0048ff80
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 0x497261
test bl, bl
jne 0x497261
dec r10
cmp byte [r12 + 0x2b], 3
ja 0x49726d
xor ebx, ebx
jmp 0x4972c0
lea r11, [r12 + 0x2b]
mov r9d, dword [r12 + 0x1c]
lea r9, [r11 + r9*4]
add 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]
nop dword [rax]
test rbx, rbx
je 0x4978e1
mov qword [rsp + 0x268], rbx
movups xmmword [rsp + 0x13c], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
jmp 0x4976ca
mov ebx, r10d
lea r10, [rdx + 1]
cmp byte [r12 + 0x28], 4
nop
jne 0x4973ad
mov rdx, r11
mov r11, qword [rsp + 0xa8]
test r11, r11
je 0x4973b8
mov r15, qword [rsp + 0x2c0]
mov r15, qword [r15 + r11*8 - 8]
test rax, rax
jne 0x4973a3
test r9, r9
jne 0x4973a3
mov qword [rsp + 0xf8], r8
mov byte [rsp + 0x31], dil
mov rax, qword [rsp + 0x390]
mov rcx, r15
mov rdi, r10
call fcn.00498580
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 0x4973b8
mov rdx, r11
mov r11, qword [rsp + 0xa8]
movzx r12d, byte [r12 + 0x28]
cmp r12b, 0x12
test r13, r13
je 0x4975cd
mov r9, qword [rsp + 0x318]
cmp qword [rsp + 0x328], r9
jne 0x497405
mov qword [rsp + 0x120], r9
mov r9, qword [rsp + 0x330]
cmp qword [rsp + 0x338], r9
je 0x4975d8
cmp r12b, 0x12
nop
jmp 0x4966ba
cmp r12b, 0x12
jmp 0x4966ba
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]
nop dword [rax]
test rcx, rcx
je 0x49745e
cmp rsi, rdx
jle 0x49745e
mov rcx, qword [rsp + 0x330]
mov rbx, qword [r11 + 0x80]
cmp rbx, rcx
jne 0x497471
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.00475940
lea rax, [0x00673aa3]
mov ebx, 0xa
call fcn.00476240
mov rax, qword [rsp + 0x110]
nop
call fcn.00475f40
lea rax, [0x00673c56]
mov ebx, 0xb
call fcn.00476240
mov rax, qword [rsp + 0x130]
nop
call fcn.004760a0
lea rax, [0x0067285a]
mov ebx, 5
call fcn.00476240
mov rax, qword [rsp + 0x128]
nop
call fcn.004760a0
call fcn.00475ba0
call fcn.004759c0
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
mov qword [rsp + 0x130], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x128], rax
call fcn.00475940
lea rax, [0x00673162]
mov ebx, 8
nop
call fcn.00476240
mov rax, qword [rsp + 0x130]
call fcn.004760a0
lea rax, [0x0070c370]
mov ebx, 1
nop
call fcn.00476240
mov rax, qword [rsp + 0x128]
call fcn.004760a0
lea rax, [0x00672760]
mov ebx, 4
nop
call fcn.00476240
mov rax, qword [rsp + 0x88]
call fcn.00476040
lea rax, [0x00672846]
mov ebx, 5
nop
call fcn.00476240
mov rax, qword [rsp + 0x398]
call fcn.00476040
call fcn.00475ba0
call fcn.004759c0
lea rax, [0x0067cb30]
mov ebx, 0x23
call fcn.00474000
mov r11, rdx
mov rdx, r10
jmp 0x497426
mov qword [rsp + 0x130], r9
call fcn.00475940
lea rax, [0x0067adb2]
mov ebx, 0x1d
call fcn.00476240
mov rax, qword [rsp + 0x120]
nop
call fcn.004760a0
lea rax, [0x006726c0]
mov ebx, 4
call fcn.00476240
mov rax, qword [rsp + 0x130]
nop
call fcn.004760a0
call fcn.00475ba0
call fcn.004759c0
mov rdi, qword [rsp + 0x330]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x308]
call fcn.00499c80
lea rax, [0x00675344]
mov ebx, 0xf
call fcn.00474000
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.0048ff80
mov rcx, qword [rsp + 0xe8]
add rcx, 8
mov rdx, qword [rsp + 0x268]
add rcx, rdx
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.00491380
test eax, eax
jl 0x497892
movsxd rax, eax
cmp rax, 0x100000
jae 0x497c95
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 0x497799
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.00499540
test al, al
je 0x497885
lea rax, [rsp + 0x13c]
mov rbx, qword [rsp + 0x2b0]
call fcn.00490d40
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.00491120
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0xa0], rbx
mov dword [rsp + 0x38], ecx
call fcn.00475940
mov rax, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x80]
call fcn.00476240
lea rax, [0x00672a71]
mov ebx, 6
call fcn.00476240
call fcn.004759c0
nop dword [rax]
call fcn.00475940
lea rax, [0x0070c238]
mov ebx, 1
call fcn.00476240
mov rax, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0xa0]
call fcn.00476240
lea rax, [0x0070c3b0]
mov ebx, 1
call fcn.00476240
mov ecx, dword [rsp + 0x38]
movsxd rax, ecx
call fcn.00476040
call fcn.00475ba0
call fcn.004759c0
mov r8, qword [rsp + 0xf0]
inc r8
nop dword [rax]
jmp 0x49765f
mov r8, qword [rsp + 0xf0]
jmp 0x49765f
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 0x4978fc
mov ebx, 1
jmp 0x497974
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.00499540
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 0x497c77
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
call fcn.00490d40
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.00491120
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0x34], ecx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jne 0x497a10
movabs rsi, 0x2e656d69746e7572
mov rdi, qword [rsp + 0x278]
cmp qword [rdi], rsi
jne 0x497a18
cmp dword [rdi + 8], 0x61706f67
jne 0x497a18
cmp word [rdi + 0xc], 0x696e
jne 0x497a18
cmp byte [rdi + 0xe], 0x63
nop
jne 0x497a18
mov edx, 5
lea rdi, [0x006729a4]
jmp 0x497a18
mov rdi, qword [rsp + 0x278]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x278], rdi
call fcn.00475940
mov rax, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x78]
call fcn.00476240
lea rax, [0x0070c340]
mov ebx, 1
call fcn.00476240
call fcn.004759c0
mov rcx, qword [rsp + 0x348]
mov rax, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x48]
call fcn.00498020
call fcn.00475940
lea rax, [0x00672454]
mov ebx, 2
call fcn.00476240
call fcn.004759c0
call fcn.00475940
lea rax, [0x0070c238]
mov ebx, 1
call fcn.00476240
mov rax, qword [rsp + 0x298]
mov rbx, qword [rsp + 0x98]
call fcn.00476240
lea rax, [0x0070c3b0]
mov ebx, 1
call fcn.00476240
mov eax, dword [rsp + 0x34]
movsxd rax, eax
call fcn.00476040
call fcn.004759c0
mov rax, qword [rsp + 0x2b8]
mov ebx, dword [rax]
mov rax, qword [rsp + 0x2b0]
call fcn.0048ff80
cmp qword [rsp + 0x318], rax
jbe 0x497b59
mov rcx, qword [rsp + 0x2b8]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x2b0]
call fcn.0048ff80
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x318]
mov qword [rsp + 0x120], rcx
call fcn.00475940
lea rax, [0x00672440]
mov ebx, 2
call fcn.00476240
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x40]
sub rax, rcx
call fcn.004760a0
call fcn.004759c0
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x497b7c
cmp dword [rcx + 0xc4], 2
jb 0x497b7c
cmp qword [rcx + 0x90], rax
je 0x497b89
mov ecx, dword [rsp + 0x3c]
cmp ecx, 2
jl 0x497c20
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.00475940
lea rax, [0x006726a4]
mov ebx, 4
call fcn.00476240
mov rax, qword [rsp + 0x120]
call fcn.004760a0
lea rax, [0x006726c0]
mov ebx, 4
call fcn.00476240
mov rax, qword [rsp + 0x118]
call fcn.004760a0
lea rax, [0x006726b8]
mov ebx, 4
call fcn.00476240
mov rax, qword [rsp + 0xe0]
call fcn.004760a0
call fcn.004759c0
nop dword [rax]
call fcn.00475940
call fcn.00475ba0
call fcn.004759c0
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 0x4972f1
mov ecx, 0x100000
call fcn.004a4fe0
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.0048ff80
mov rcx, qword [rsp + 0x108]
add rcx, 8
mov rdx, qword [rsp + 0x270]
add rcx, rdx
movsxd rcx, dword [rcx]
lea r11, [rcx + rax]
lea rsi, [rax + 1]
lea r9, [rsi + rcx]
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.00491380
nop dword [rax + rax]
test eax, eax
jl 0x497e3f
movsxd rax, eax
cmp rax, 0x100000
jae 0x497f0a
shl rax, 4
mov rdx, qword [rsp + 0x270]
movzx esi, byte [rdx + rax]
cmp sil, 0x15
jne 0x497dbb
movzx esi, byte [rsp + 0x2f]
cmp sil, 9
je 0x497dbb
cmp sil, 0x12
je 0x497dbb
nop
cmp sil, 0xe
je 0x497dbb
mov rcx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
jmp 0x497c9f
mov rsi, qword [rsp + 0x108]
test rsi, rsi
jle 0x497dec
lea rcx, [rsi - 1]
mov rdi, qword [rsp + 0x398]
mov r9, qword [rsp + 0x390]
mov rsi, rcx
mov rcx, qword [rsp + 0x100]
jmp 0x497c9f
mov rdi, qword [rsp + 0x398]
mov r8, qword [rsp + 0x100]
nop dword [rax]
cmp rdi, r8
jle 0x497e2f
cmp r8, 0x100000
jae 0x497efd
mov rcx, qword [rsp + 0x120]
mov r9, qword [rsp + 0x390]
mov qword [r9 + r8*8], rcx
lea rcx, [r8 + 1]
jmp 0x497c9f
mov r9, qword [rsp + 0x390]
mov rcx, r8
jmp 0x497c9f
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 0x497ea6
cmp dil, 9
je 0x497ea6
cmp dil, 0x12
je 0x497ea6
nop
cmp dil, 0xe
jne 0x497ec5
test rax, rax
jle 0x497eb0
dec rax
jmp 0x497ec5
cmp rsi, rdx
jle 0x497ec5
cmp rdx, 0x100000
jae 0x497ef0
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 0x497179
mov rax, rdx
mov ecx, 0x100000
call fcn.004a4fe0
mov rax, r8
mov ecx, 0x100000
call fcn.004a4fe0
mov ecx, 0x100000
call fcn.004a4fe0
lea rax, [0x00675db3]
mov ebx, 0x11
call fcn.00474000
mov rax, r12
mov rbx, qword [rsp + 0x2b0]
call fcn.00490d40
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x108], rbx
call fcn.00475940
lea rax, [0x0067d9bb]
mov ebx, 0x27
call fcn.00476240
mov rax, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x108]
call fcn.00476240
call fcn.00475ba0
call fcn.004759c0
lea rax, [0x00673697]
mov ebx, 9
call fcn.00474000
lea rax, [0x0067ffec]
mov ebx, 0x39
call fcn.00474000
lea rax, [0x0067fdf8]
mov ebx, 0x37
call fcn.00474000
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.004a2960
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.00496380