Function at 0x507740
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x468]
cmp r12, qword [r14 + 0x10]
jbe 0x508967
sub rsp, 0x4e8
mov qword [rsp + 0x4e0], rbp
lea rbp, [rsp + 0x4e0]
cmp qword [rbx + 0x10], 0
jne 0x507774
xor eax, eax
jmp 0x507787
cmp byte [rbx], 0
je 0x507782
mov rax, 0xffffffffffffffff
jmp 0x507787
mov eax, 1
test rax, rax
jge 0x507900
mov byte [rsp + 0x250], 0
mov qword [rsp + 0x258], 0
movups xmmword [rsp + 0x260], xmm15
nop
lea rdx, [rsp + 0x250]
cmp rbx, rdx
je 0x5078d7
mov qword [rsp + 0x4f8], rbx
mov rdx, qword [rbx + 0x10]
mov rsi, qword [rbx + 8]
test rdx, rdx
jg 0x5077e5
mov rax, rdx
xor ecx, ecx
xor edi, edi
nop dword [rax + rax]
jmp 0x507868
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x220], rsi
cmp rdx, 1
jne 0x507830
lea rax, [0x0062f260]
mov ebx, 1
mov rcx, rbx
call fcn.004493e0
mov rbx, qword [rsp + 0x4f8]
mov rsi, qword [rsp + 0x220]
mov edx, 1
mov rcx, rax
mov edi, 1
mov rax, qword [rsp + 0x58]
jmp 0x507868
lea rcx, [rdx + 4]
mov qword [rsp + 0x48], rcx
lea rax, [0x0062f260]
mov rbx, rdx
call fcn.004493e0
mov rbx, qword [rsp + 0x4f8]
mov rsi, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
mov rdi, qword [rsp + 0x48]
mov rax, rdx
cmp rdx, rax
mov r8, rdx
cmovg rdx, rax
cmp rcx, rsi
je 0x5078b5
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x210], rcx
shl rdx, 3
mov rax, rcx
mov rbx, rsi
mov rcx, rdx
call fcn.004641a0
mov rcx, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x4f8]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0x260], r8
mov qword [rsp + 0x268], rdi
mov qword [rsp + 0x258], rcx
movzx ecx, byte [rbx]
mov byte [rsp + 0x250], cl
cmp qword [rsp + 0x260], 0
jle 0x5078ef
movzx ecx, byte [rsp + 0x250]
xor ecx, 1
jmp 0x5078f1
xor ecx, ecx
mov byte [rsp + 0x250], cl
lea rbx, [rsp + 0x250]
mov qword [rsp + 0x228], rbx
mov rcx, qword [0x0086dca0]
mov rcx, qword [rcx + 8]
mov rax, rbx
mov rbx, rcx
call fcn.004ee9c0
nop
test rax, rax
jge 0x50792f
mov rax, qword [rsp + 0x228]
jmp 0x50796c
mov byte [rsp + 0x230], 0
mov qword [rsp + 0x238], 0
movups xmmword [rsp + 0x240], xmm15
mov rdx, qword [0x0086dca0]
mov rcx, qword [rdx + 8]
lea rax, [rsp + 0x230]
mov rbx, qword [rsp + 0x228]
call fcn.004ee740
lea rdi, [rsp + 0xf0]
lea rdi, [rdi - 0x20]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00463ac6
mov rbp, qword [rbp]
mov ebx, 4
mov ecx, 8
mov rdi, rax
lea rax, [rsp + 0x1d0]
call fcn.005089a0
lea rdx, [rsp + 0xd0]
movups xmmword [rdx], xmm15
lea rsi, [rsp + 0xe0]
movups xmmword [rsi], xmm15
movabs rsi, 0x83244c95be79eea2
mov qword [rsp + 0xd0], rsi
movabs rsi, 0x4699799c49bd6fa6
mov qword [rsp + 0xd8], rsi
movabs rsi, 0x2845b2392b6bec59
mov qword [rsp + 0xe0], rsi
movabs rsi, 0x66e12d94f3d95620
mov qword [rsp + 0xe8], rsi
lea rsi, [rsp + 0xf0]
mov qword [rsp], rsi
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0x24
lea r8, [rsp + 0x1d0]
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 4
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0x24
mov qword [rsp + 0x30], 1
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x110]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0x20
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
lea r8, [rsp + 0xf0]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 0x24
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x130]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0x1c
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
lea r8, [rsp + 0x110]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 0x20
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x150]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0x18
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
lea r8, [rsp + 0x130]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 0x1c
nop
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
lea rsi, [rsp + 0x130]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0x1c
mov qword [rsp + 0x30], 1
nop
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x170]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0x14
lea rsi, [rsp + 0x130]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0x1c
lea r8, [rsp + 0x1d0]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 8
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1f0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 4
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], 1
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x190]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0x10
lea rsi, [rsp + 0x1f0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 4
lea r8, [rsp + 0xf0]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 0x24
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
lea rsi, [rsp + 0x190]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], 1
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1b0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 0xc
lea rsi, [rsp + 0x130]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0x1c
lea r8, [rsp + 0x1d0]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 8
nop dword [rax]
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
lea rsi, [rsp + 0x190]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 8
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1f0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 4
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], 2
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1f0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 4
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 4
lea rsi, [rsp + 0x110]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 0x20
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
lea rsi, [rsp + 0x1f0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x30], 8
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
lea rsi, [rsp + 0x1f0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 4
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1f0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 4
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], 0x10
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1f0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 4
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 4
lea rsi, [rsp + 0x1d0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 8
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
lea rsi, [rsp + 0x1f0]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0x40
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
lea rsi, [rsp + 0x1f0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 4
nop dword [rax]
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], 0x20
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
lea rsi, [rsp + 0x1f0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 4
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [rsp + 0x76]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x80]
movups xmmword [rdx], xmm15
movabs rdx, 0x303040505040506
mov qword [rsp + 0x76], rdx
movabs rdx, 0x405060502060905
mov qword [rsp + 0x7e], rdx
movabs rdx, 0x30505020a030505
mov qword [rsp + 0x86], rdx
mov word [rsp + 0x8e], 0x607
lea rdi, [rsp + 0x270]
lea rdi, [rdi - 0x10]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00463a4e
mov rbp, qword [rbp]
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x270], rdx
mov qword [rsp + 0x278], 4
mov qword [rsp + 0x280], 0xc
lea rsi, [rsp + 0x150]
mov qword [rsp + 0x288], rsi
mov qword [rsp + 0x290], 4
mov qword [rsp + 0x298], 0x18
lea r8, [rsp + 0x110]
mov qword [rsp + 0x2a0], r8
mov qword [rsp + 0x2a8], 4
mov qword [rsp + 0x2b0], 0x20
lea r9, [rsp + 0x170]
mov qword [rsp + 0x2b8], r9
mov qword [rsp + 0x2c0], 4
mov qword [rsp + 0x2c8], 0x14
lea r10, [rsp + 0x190]
mov qword [rsp + 0x2d0], r10
mov qword [rsp + 0x2d8], 4
mov qword [rsp + 0x2e0], 0x10
lea r11, [rsp + 0x130]
mov qword [rsp + 0x2e8], r11
mov qword [rsp + 0x2f0], 4
mov qword [rsp + 0x2f8], 0x1c
mov qword [rsp + 0x300], r11
mov qword [rsp + 0x308], 4
mov qword [rsp + 0x310], 0x1c
mov qword [rsp + 0x318], r11
mov qword [rsp + 0x320], 4
mov qword [rsp + 0x328], 0x1c
mov qword [rsp + 0x330], rsi
mov qword [rsp + 0x338], 4
mov qword [rsp + 0x340], 0x18
mov qword [rsp + 0x348], rdx
mov qword [rsp + 0x350], 4
mov qword [rsp + 0x358], 0xc
mov qword [rsp + 0x360], r9
mov qword [rsp + 0x368], 4
mov qword [rsp + 0x370], 0x14
lea r12, [rsp + 0xf0]
mov qword [rsp + 0x378], r12
mov qword [rsp + 0x380], 4
mov qword [rsp + 0x388], 0x24
mov qword [rsp + 0x390], r12
mov qword [rsp + 0x398], 4
mov qword [rsp + 0x3a0], 0x24
mov qword [rsp + 0x3a8], r9
mov qword [rsp + 0x3b0], 4
mov qword [rsp + 0x3b8], 0x14
mov qword [rsp + 0x3c0], rsi
mov qword [rsp + 0x3c8], 4
mov qword [rsp + 0x3d0], 0x18
mov qword [rsp + 0x3d8], rsi
mov qword [rsp + 0x3e0], 4
mov qword [rsp + 0x3e8], 0x18
mov qword [rsp + 0x3f0], rsi
mov qword [rsp + 0x3f8], 4
mov qword [rsp + 0x400], 0x18
mov qword [rsp + 0x408], r11
mov qword [rsp + 0x410], 4
mov qword [rsp + 0x418], 0x1c
mov qword [rsp + 0x420], r8
mov qword [rsp + 0x428], 4
mov qword [rsp + 0x430], 0x20
mov qword [rsp + 0x438], rdx
mov qword [rsp + 0x440], 4
mov qword [rsp + 0x448], 0xc
mov qword [rsp + 0x450], r8
mov qword [rsp + 0x458], 4
mov qword [rsp + 0x460], 0x20
mov qword [rsp + 0x468], r8
mov qword [rsp + 0x470], 4
mov qword [rsp + 0x478], 0x20
mov qword [rsp + 0x480], r8
mov qword [rsp + 0x488], 4
mov qword [rsp + 0x490], 0x20
mov qword [rsp + 0x498], r12
mov qword [rsp + 0x4a0], 4
mov qword [rsp + 0x4a8], 0x24
mov qword [rsp + 0x4b0], r10
mov qword [rsp + 0x4b8], 4
mov qword [rsp + 0x4c0], 0x10
mov qword [rsp + 0x4c8], r9
mov qword [rsp + 0x4d0], 4
mov qword [rsp + 0x4d8], 0x14
xor eax, eax
jmp 0x5087f5
mov qword [rsp + 0x60], rax
movzx ecx, byte [rsp + rax + 0x76]
lea rdx, [rsp + 0x1d0]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], rcx
call fcn.0050e6a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
lea rcx, [rax + rax*2]
mov rdx, qword [rsp + rcx*8 + 0x270]
mov rbx, qword [rsp + rcx*8 + 0x278]
mov rcx, qword [rsp + rcx*8 + 0x280]
lea rsi, [rsp + 0x1d0]
mov qword [rsp], rsi
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
inc rax
cmp rax, 0x1a
jl 0x508712
lea rax, [rsp + 0xb0]
movups xmmword [rax], xmm15
lea rcx, [rsp + 0xc0]
movups xmmword [rcx], xmm15
mov qword [rsp + 0xb0], 1
lea rcx, [rsp + 0x1d0]
mov qword [rsp], rcx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], 4
call fcn.0050e320
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rax, [rsp + 0x90]
movups xmmword [rax], xmm15
lea rcx, [rsp + 0xa0]
movups xmmword [rcx], xmm15
mov qword [rsp], rax
mov qword [rsp + 8], 0x20
mov qword [rsp + 0x10], 0x20
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 8
call fcn.0050da20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rax, [0x0064bd60]
call fcn.0040d180
mov qword [rsp + 0x218], rax
mov rcx, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
lea rdi, [rsp + 0x90]
mov esi, 0x20
mov r8, rsi
mov rax, rcx
mov rcx, rdx
call fcn.004f8780
mov rdx, qword [rsp + 0x218]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x008c5390], 0
jne 0x508948
mov qword [rdx + 8], rax
jmp 0x508951
lea rdi, [rdx + 8]
call fcn.004633a0
mov byte [rdx], 0
mov rax, rdx
mov rbp, qword [rsp + 0x4e0]
add rsp, 0x4e8
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00507740