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

Disassembly:
lea r12, [rsp - 0xe0]
cmp r12, qword [r14 + 0x10]
jbe 0x502ae0
push rbp
mov rbp, rsp
sub rsp, 0x158
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x178], rax
mov rdx, qword [rax]
cmp qword [rdx + 0x238], 0
je 0x501ecc
mov edx, 0xa
jmp 0x501fca
mov dword [rsp + 0x48], 0
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x10]
xor ebx, ebx
xor ecx, ecx
lea rdi, [rsp + 0x48]
xor esi, esi
mov r8, rsi
mov r9, rbx
mov r10d, ecx
mov rax, rdx
call fcn.004f84e0
nop word [rax + rax]
test rax, rax
jne 0x50201c
lea rax, [0x0053eee0]
call fcn.0040b820
mov rcx, qword [rsp + 0x178]
mov rdx, qword [rcx]
test byte [rdx], al
cmp dword [0x007a76d0], 0
je 0x501f3e
call fcn.00451e80
mov qword [r11], rax
mov rbx, qword [rdx + 0x238]
mov qword [r11 + 8], rbx
mov qword [rdx + 0x238], rax
lea rax, [0x0074d580]
call fcn.0046e0e0
lea rcx, [0x0052ed20]
nop dword [rax + rax]
cmp rax, rcx
jne 0x502ad0
mov rdx, qword [rsp + 0x178]
mov r12, qword [rdx]
mov r12, qword [r12 + 0x238]
test byte [r12], al
cmp dword [0x007a76d0], 0
je 0x501f99
call fcn.00451e80
mov qword [r11], rbx
mov r13, qword [r12]
mov qword [r11 + 8], r13
mov qword [r12], rbx
mov r12, qword [rdx]
mov r12, qword [r12 + 0x238]
mov r13d, dword [rsp + 0x48]
mov dword [r12 + 0x10], r13d
mov rax, rdx
mov rcx, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov edx, 0xb
mov r12, qword [rax]
mov r12, qword [r12 + 0x238]
mov qword [rsp + 0x110], r12
test rbx, rbx
mov r13, 0xffffffffffffffff
mov r15, rbx
cmovle rbx, r13
xor esi, esi
xor edi, edi
xor r8d, r8d
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
xor r13d, r13d
xor esi, esi
mov qword [rsp + 0x148], rsi
xor esi, esi
mov qword [rsp + 0x140], rsi
xor esi, esi
jmp 0x502106
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0xf0], rax
lea rax, [0x00540020]
call fcn.0040b820
mov qword [rax + 8], 7
lea rcx, [0x005544d2]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x230]
mov rcx, qword [rcx + 0x228]
mov qword [rax + 0x18], rdx
cmp dword [0x007a76d0], 0
je 0x502078
call fcn.00451e60
mov qword [r11], rcx
mov qword [rax + 0x10], rcx
mov rdx, qword [rsp + 0xf0]
mov qword [rax + 0x20], rdx
cmp dword [0x007a76d0], 0
jne 0x5020a0
mov rdx, qword [rsp + 0x150]
jmp 0x5020b0
call fcn.00451e60
mov rdx, qword [rsp + 0x150]
mov qword [r11], rdx
mov qword [rax + 0x28], rdx
lea rdx, [0x006b94a8]
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x170], rax
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rsi, rcx
mov r8, rcx
xor r9d, r9d
mov r10, rcx
mov r11, rcx
add rsp, 0x158
pop rbp
ret
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x70]
test rbx, rbx
je 0x502500
cmp qword [r12 + 8], 0
jne 0x5021f4
mov rcx, qword [rax]
test byte [rcx], al
mov r15, qword [r12]
mov r12, qword [r15 + 8]
test r12, r12
jbe 0x502ac6
mov qword [rsp + 0xe8], r9
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0x138], r13
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xb8], r11
mov dword [rsp + 0x4c], edx
mov rax, qword [rcx + 0x10]
mov rcx, qword [r15]
mov ebx, edx
mov rdi, r12
call fcn.004f82c0
test rax, rax
jne 0x502234
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x188]
mov rbx, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0xe8]
mov r10, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xb8]
mov r12, qword [rsp + 0x110]
mov r13, qword [rsp + 0x138]
mov r15, qword [rsp + 0x180]
mov edx, 0xa
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov byte [rsp + 0x47], cl
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
jmp 0x5025e0
mov r15, qword [rsp + 0x180]
jmp 0x5020ec
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0xf0], rax
lea rdx, [0x006b94c8]
cmp rax, rdx
jne 0x5022c3
lea rcx, [0x006b9118]
call fcn.00404360
nop dword [rax]
test al, al
je 0x5022ac
mov rdx, qword [rsp + 0x180]
test rdx, rdx
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0xe8]
mov r10, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xb8]
mov r13, qword [rsp + 0x138]
jmp 0x502503
mov rax, qword [rsp + 0xf0]
lea rdx, [0x006b94c8]
mov rbx, qword [rsp + 0x150]
mov r12d, dword [rsp + 0x4c]
cmp r12d, 0xb
jne 0x502302
cmp rax, rdx
je 0x5022d7
xor ecx, ecx
jmp 0x502304
lea rcx, [0x006b8450]
nop
call fcn.00404360
lea rdx, [0x006b94c8]
mov rbx, qword [rsp + 0x150]
mov ecx, eax
mov rax, qword [rsp + 0xf0]
nop
jmp 0x502304
xor ecx, ecx
test cl, cl
je 0x502350
mov rdx, qword [rsp + 0x180]
test rdx, rdx
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0xe8]
mov r10, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xb8]
mov r13, qword [rsp + 0x138]
jmp 0x502503
mov rax, qword [rsp + 0x178]
call fcn.00505320
nop dword [rax]
test rax, rax
je 0x502376
mov rcx, qword [rax + 0x18]
mov rax, rbx
call rcx
test al, al
je 0x502430
call fcn.00508820
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x130], rax
lea rax, [0x00540020]
call fcn.0040b820
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 8], rcx
cmp dword [0x007a76d0], 0
jne 0x5023b6
mov rdx, qword [rsp + 0x130]
jmp 0x5023c6
call fcn.00451e60
mov rdx, qword [rsp + 0x130]
mov qword [r11], rdx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x178]
mov rdx, qword [rdx]
mov r12, qword [rdx + 0x230]
mov rdx, qword [rdx + 0x228]
mov qword [rax + 0x18], r12
cmp dword [0x007a76d0], 0
je 0x5023f7
call fcn.00451e60
mov qword [r11], rdx
mov qword [rax + 0x10], rdx
mov rdx, qword [rsp + 0xf0]
mov qword [rax + 0x20], rdx
cmp dword [0x007a76d0], 0
jne 0x50241a
mov rdx, qword [rsp + 0x150]
jmp 0x50242a
call fcn.00451e60
mov rdx, qword [rsp + 0x150]
mov qword [r11], rdx
mov qword [rax + 0x28], rdx
jmp 0x502496
lea rax, [0x00540020]
call fcn.0040b820
mov qword [rax + 8], 7
lea rcx, [0x005544d2]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x230]
mov rcx, qword [rcx + 0x228]
mov qword [rax + 0x18], rdx
cmp dword [0x007a76d0], 0
je 0x50247c
call fcn.00451e60
mov qword [r11], rcx
mov qword [rax + 0x10], rcx
lea rdx, [0x006b94c8]
mov qword [rax + 0x20], rdx
lea rdx, [0x006b9120]
mov qword [rax + 0x28], rdx
lea rdx, [0x006b94a8]
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x140]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x148]
mov rsi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x138]
mov r10, qword [rsp + 0xe0]
mov r11, qword [rsp + 0xe8]
add rsp, 0x158
pop rbp
ret
test r15, r15
jle 0x502511
lea rdx, [r8 + rdi]
add rdx, rsi
test rdx, rdx
je 0x502548
movups xmmword [rsp + 0x168], xmm15
mov rax, qword [rsp + 0x140]
mov rbx, r8
mov rcx, r10
mov r8, r11
mov r10, rsi
mov r11, r9
mov rsi, rdi
mov r9, r13
mov rdi, qword [rsp + 0x148]
add rsp, 0x158
pop rbp
ret
mov rdx, qword [0x0074d1c0]
mov r12, qword [0x0074d1c8]
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x170], r12
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rsi, rcx
mov r8, rcx
xor r9d, r9d
mov r10, rcx
mov r11, rcx
add rsp, 0x158
pop rbp
ret
sete r12b
mov edx, dword [rsp + 0x54]
mov r13, r8
mov qword [rsp + 0x128], rsi
mov rsi, rdi
mov qword [rsp + 0x140], r11
mov r8, r10
mov byte [rsp + 0x47], r12b
mov r12, qword [rsp + 0x110]
mov r11, rcx
mov r10, r9
mov rdi, rbx
mov rcx, qword [rsp + 0x188]
mov rbx, r15
mov r9, rax
mov rax, qword [rsp + 0x178]
mov r15, qword [rsp + 0x180]
nop dword [rax]
test rbx, rbx
je 0x5020ec
movzx r15d, byte [rsp + 0x47]
test r15b, r15b
jne 0x502227
mov r15, qword [r12]
mov rax, qword [r15 + 8]
mov rdx, qword [r12 + 8]
cmp rdx, rax
jae 0x502abb
mov r15, qword [r15]
mov eax, dword [r15 + rdx]
add rax, rdx
mov qword [r12 + 8], rax
mov eax, dword [r15 + rdx]
test eax, eax
jne 0x50262e
mov qword [r12 + 8], 0
mov qword [rsp + 0xb0], rdx
mov r12d, dword [r15 + rdx + 0x3c]
shr r12d, 1
lea rdx, [r15 + rdx]
lea rdx, [rdx + 0x68]
test r12, r12
jl 0x502ab6
mov qword [rsp + 0x108], rdx
mov dword [rsp + 0x50], eax
mov eax, 2
mul r12
jo 0x502ab1
mov rdx, qword [rsp + 0x108]
neg rdx
cmp rax, rdx
ja 0x502ab1
mov qword [rsp + 0x120], r15
mov qword [rsp + 0xa8], r10
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x118], r13
mov rax, qword [rsp + 0x108]
mov ebx, r12d
mov ecx, ebx
call fcn.0049dcc0
cmp rbx, 1
jne 0x5026e7
cmp byte [rax], 0x2e
jne 0x5026e7
mov edx, dword [rsp + 0x50]
test edx, edx
jmp 0x5026fa
cmp rbx, 2
jne 0x50275c
cmp word [rax], 0x2e2e
jne 0x50275c
mov edx, dword [rsp + 0x50]
test edx, edx
mov rdx, qword [rsp + 0x110]
mov r13, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r10, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x128]
mov r11, qword [rsp + 0x140]
mov r15, qword [rsp + 0x98]
jmp 0x502587
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0x188]
test rdx, rdx
jne 0x502850
mov r12, qword [rsp + 0xa0]
inc r12
mov rcx, qword [rsp + 0xa8]
cmp rcx, r12
jb 0x50279c
mov rsi, qword [rsp + 0x140]
jmp 0x5027d3
mov rax, qword [rsp + 0x140]
mov rbx, r12
mov edi, 1
lea rsi, [0x0052fbe0]
call fcn.0043e7a0
mov rdx, qword [rsp + 0x188]
mov rsi, rax
mov r12, rbx
mov rax, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x58]
lea r13, [r12 - 1]
shl r13, 4
mov qword [rsi + r13 + 8], rbx
cmp dword [0x007a76d0], 0
je 0x5027fa
call fcn.00451e80
mov qword [r11], rax
mov r15, qword [rsi + r13]
mov qword [r11 + 8], r15
mov qword [rsi + r13], rax
mov rdx, qword [rsp + 0x110]
lea r15, [0x006b96c0]
mov rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov r9, rcx
mov r10, r12
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x118]
mov r11, rsi
mov r12, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x128]
jmp 0x502a96
nop
lea rax, [0x0054f380]
call fcn.0040b820
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x120]
mov ebx, dword [rdx + rcx + 0x38]
mov dword [rax + 0x10], ebx
mov ebx, dword [rdx + rcx + 0xc]
mov esi, dword [rdx + rcx + 8]
mov dword [rax + 0x14], esi
mov dword [rax + 0x18], ebx
mov ebx, dword [rdx + rcx + 0x14]
mov esi, dword [rdx + rcx + 0x10]
mov dword [rax + 0x1c], esi
mov dword [rax + 0x20], ebx
mov ebx, dword [rdx + rcx + 0x1c]
mov esi, dword [rdx + rcx + 0x18]
mov dword [rax + 0x24], esi
mov dword [rax + 0x28], ebx
mov rbx, qword [rdx + rcx + 0x28]
shr rbx, 0x20
mov dword [rax + 0x2c], ebx
mov rbx, qword [rdx + rcx + 0x28]
mov dword [rax + 0x30], ebx
mov ebx, dword [rdx + rcx + 0x40]
mov dword [rax + 0x34], ebx
mov rbx, qword [rdx + rcx + 0x60]
shr rbx, 0x20
mov dword [rax + 0x5c], ebx
mov rcx, qword [rdx + rcx + 0x60]
mov dword [rax + 0x60], ecx
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
cmp dword [0x007a76d0], 0
jne 0x5028e9
mov rdx, qword [rsp + 0xf8]
jmp 0x5028f9
call fcn.00451e60
mov rdx, qword [rsp + 0xf8]
mov qword [r11], rdx
mov qword [rsp + 0x100], rax
mov qword [rax], rdx
mov rdx, qword [rsp + 0x110]
mov r12d, dword [rdx + 0x10]
mov dword [rax + 0x58], r12d
movups xmmword [rax + 0x48], xmm15
mov r12, qword [rsp + 0x188]
cmp r12, 1
jne 0x5029d0
mov rbx, qword [rsp + 0x88]
inc rbx
mov rcx, qword [rsp + 0x90]
nop
cmp rcx, rbx
jb 0x50294f
mov rsi, qword [rsp + 0x128]
jmp 0x502983
mov rax, qword [rsp + 0x128]
mov edi, 1
lea rsi, [0x0053b8e0]
call fcn.0043e7a0
mov rdx, qword [rsp + 0x110]
mov r12, qword [rsp + 0x188]
mov rsi, rax
mov rax, qword [rsp + 0x100]
lea r13, [rbx - 1]
shl r13, 4
lea r15, [0x006b96c0]
mov qword [rsi + r13], r15
cmp dword [0x007a76d0], 0
je 0x5029b1
nop
call fcn.00451e80
mov qword [r11], rax
mov rdi, qword [rsi + r13 + 8]
mov qword [r11 + 8], rdi
mov qword [rsi + r13 + 8], rax
mov rax, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x118]
jmp 0x502a7e
mov rbx, qword [rsp + 0x78]
inc rbx
mov rcx, qword [rsp + 0x80]
cmp rcx, rbx
jb 0x5029ef
mov rsi, qword [rsp + 0x118]
jmp 0x502a23
mov rax, qword [rsp + 0x118]
mov edi, 1
lea rsi, [0x0053de00]
call fcn.0043e7a0
mov rdx, qword [rsp + 0x110]
mov r12, qword [rsp + 0x188]
mov rsi, rax
mov rax, qword [rsp + 0x100]
lea r13, [rbx - 1]
shl r13, 4
lea r15, [0x006b9900]
mov qword [rsi + r13], r15
cmp dword [0x007a76d0], 0
je 0x502a51
nop
call fcn.00451e80
mov qword [r11], rax
mov rdi, qword [rsi + r13 + 8]
mov qword [r11 + 8], rdi
mov qword [rsi + r13 + 8], rax
lea r15, [0x006b96c0]
mov rax, rcx
mov rdi, rbx
mov r8, rsi
mov rsi, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x140]
mov r15, qword [rsp + 0x98]
dec r15
mov r13, r12
mov r12d, dword [rsp + 0x50]
test r12d, r12d
jmp 0x502587
call fcn.0044b940
call fcn.0044b940
mov rcx, rax
mov rax, rdx
call fcn.004521e0
xor eax, eax
mov rcx, rax
call fcn.004521e0
mov rbx, rcx
lea rcx, [0x005330e0]
call fcn.004090e0
nop
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
call fcn.0044ff60
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
jmp fcn.00501e80