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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x638
mov rax, qword [rcx]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 8]
lea rbp, [rsp + 0x368]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov rax, qword [rdx]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 8]
mov edx, 0x10
mov qword [rsp + 0xa0], rax
call fcn.1400015d1
mov edx, 0x2c8
mov rcx, rbp
call fcn.1400015d1
call fcn.140004769
lea rcx, [0x140013080]
mov r12, rax
call fcn.14000c0c0
cmp byte [rax], 0
mov rbx, rax
jne 0x140004cbc
mov rsi, r12
mov ecx, 0xb2
mov rdi, rbp
mov r10, qword [r12 + 0x18]
rep movsd dword [rdi], dword [rsi]
lea r9, [rsp + 0x110]
mov edx, 0x128
mov rcx, r9
mov rdi, r9
call fcn.1400015d1
mov rax, qword [r10 + 0x10]
mov ecx, 0x4a
lea r10, [rsp + 0x240]
mov rsi, rax
mov qword [rsp + 0xd0], rax
mov rax, qword [rax + 8]
rep movsd dword [rdi], dword [rsi]
mov rcx, r10
mov rdi, r10
mov rsi, r9
mov qword [rsp + 0x58], rax
call fcn.1400015d1
mov rax, qword [rsp + 0x140]
mov ecx, 0x4a
mov r12, qword [rsp + 0x110]
rep movsd dword [rdi], dword [rsi]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x168]
mov word [rsp + 0x54], ax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
movzx edi, word [rsp + 0x54]
xor r15d, r15d
lea rbp, [0x140014230]
xor r13d, r13d
lea rsi, [rsp + 0x100]
lea r14, [rsp + 0xe0]
lea rdx, [r13 + 1]
mov rcx, rsi
call fcn.140002039
mov qword [rsp + 0xe0], r13
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
mov qword [rsp + 0xe8], rbp
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0xc0], xmm1
call fcn.1400021ad
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
mov cl, byte [rcx + r15]
inc r15
mov byte [rdx + rax + 9], 0
mov byte [rdx + rax + 8], cl
inc rax
mov rdx, qword [rsp + 0x30]
mov rcx, r14
mov qword [rsp + 0x100], rax
movups xmm2, xmmword [rsp + 0x100]
movups xmmword [rsp + 0xc0], xmm2
call fcn.140003552
mov r13, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
cmp edi, r15d
jae 0x1400048c5
lea rax, [r13 - 1]
test r13, r13
lea rdx, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rax, [0x1400140e9]
lea r14, [0x140014200]
cmovne rax, rdx
xor r15d, r15d
xor esi, esi
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x40]
or r10, 0xffffffffffffffff
sub r8, rsi
inc r8
test r8, r8
jle 0x1400049d1
lea rcx, [rbp + rsi + 8]
xor edx, edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memchr
or r10, 0xffffffffffffffff
test rax, rax
je 0x1400049d1
mov rdi, qword [rsp + 0x68]
sub rax, rdi
mov r10, rax
cmp byte [rbx], 0
jne 0x140004b70
test r10, r10
js 0x140004aba
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov r8, rsi
lea r9, [r10 - 1]
mov qword [rsp + 0x80], r10
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], rbp
call fcn.140002121
mov rsi, qword [rsp + 0xc0]
mov qword [rsp + 0xf8], r14
lea r14, [rsp + 0xf0]
mov rcx, r14
mov qword [rsp + 0xf0], r15
mov rdi, qword [rsp + 0xc8]
mov rdx, rsi
call fcn.140003e1c
mov rdx, qword [rsp + 0x30]
mov rcx, r14
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
call fcn.1400021ad
mov rcx, r14
xor edx, edx
call fcn.140003e1c
movups xmm0, xmmword [0x140014210]
mov rdx, qword [rsp + 0x30]
mov rcx, r14
movups xmmword [rsp + 0xc0], xmm0
call fcn.1400021ad
mov r10, qword [rsp + 0x80]
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
lea rsi, [r10 + 1]
test rdi, rdi
jne 0x140004b4b
cmp byte [rbx], 0
je 0x14000499d
jmp 0x140004b70
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov r8, rsi
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], rbp
call fcn.140002121
mov rsi, qword [rsp + 0xc0]
mov qword [rsp + 0xf8], r14
lea r14, [rsp + 0xf0]
mov rcx, r14
mov qword [rsp + 0xf0], r15
mov rdi, qword [rsp + 0xc8]
mov rdx, rsi
call fcn.140003e1c
mov rdx, qword [rsp + 0x30]
mov rcx, r14
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
call fcn.1400021ad
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
test rdi, rdi
jne 0x140004b62
jmp 0x140004b70
test byte [rdi + 7], 0x40
jne 0x140004aac
mov rcx, rdi
call fcn.1400034c6
jmp 0x140004aac
test byte [rdi + 7], 0x40
jne 0x140004b70
mov rcx, rdi
call fcn.1400034c6
cmp byte [rbx], 0
xchg r15, r14
jne 0x140004baa
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r15
call fcn.140003552
mov r13, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
cmp byte [rbx], 0
jne 0x140004ca1
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], rbp
call fcn.140003f09
cmp byte [rbx], 0
mov rax, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xc8]
jne 0x140004c19
mov rdi, qword [rsp + 0x38]
cmp rax, rdi
jne 0x140004c12
test rdi, rdi
je 0x140004c1e
mov rax, qword [rsp + 0x70]
lea rcx, [r13 + 8]
mov r8, rdi
lea rdx, [rax + 8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x140004c1e
cmp qword [rsp + 0x58], r12
jne 0x140004c52
mov rsi, r12
jmp 0x140004c86
test r13, r13
je 0x140004c32
test byte [r13 + 7], 0x40
jne 0x140004c32
mov rcx, r13
call fcn.1400034c6
test rbp, rbp
je 0x140004cd5
test byte [rbp + 7], 0x40
jne 0x140004cd5
mov rcx, rbp
call fcn.1400034c6
jmp 0x140004cd5
mov rax, qword [r12 + 0x30]
lea rdi, [rsp + 0x240]
mov ecx, 0x4a
mov rsi, r12
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [r12]
mov qword [rsp + 0x28], rax
mov eax, dword [r12 + 0x58]
mov word [rsp + 0x54], ax
mov rax, qword [r12 + 0x60]
mov qword [rsp + 0x48], rax
test r13, r13
je 0x140004c9a
test byte [r13 + 7], 0x40
jne 0x140004c9a
mov rcx, r13
call fcn.1400034c6
test rbp, rbp
jne 0x140004ca9
jmp 0x140004cb7
test rbp, rbp
je 0x140004cbc
mov rsi, r12
test byte [rbp + 7], 0x40
jne 0x140004cb7
mov rcx, rbp
call fcn.1400034c6
cmp byte [rbx], 0
je 0x140004cc6
xor r9d, r9d
mov qword [rsp + 0x28], r9
jmp 0x140004cd5
cmp qword [rsp + 0x58], r12
je 0x140004cbc
mov r12, rsi
jmp 0x1400048a3
cmp byte [rbx], 1
je 0x140004ce2
cmp qword [rsp + 0x28], 0
jne 0x140004cef
xor r8d, r8d
mov qword [rsp + 0x48], r8
jmp 0x1400053fc
lea r11, [rsp + 0x240]
mov edx, 0x40
lea r10, [rsp + 0x368]
mov rcx, r11
lea r9, [rsp + 0x110]
mov rdi, r11
call fcn.1400015d1
mov edx, 0x108
mov rcx, r10
call fcn.1400015d1
mov edx, 0x28
mov rcx, r9
call fcn.1400015d1
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x28]
xor edx, edx
mov ecx, 0x10
mov dword [rsp + 0x54], edx
rep movsd dword [rdi], dword [rsi]
movsxd rax, dword [rax + 0x3c]
mov rdi, qword [rsp + 0x28]
mov ecx, 0x42
add rax, rdi
mov rdi, r10
mov rsi, rax
rep movsd dword [rdi], dword [rsi]
mov edi, dword [rax + 0x8c]
movsxd rax, dword [rax + 0x88]
mov ecx, 0xa
mov dword [rsp + 0x90], edi
mov rdi, qword [rsp + 0x28]
add rax, rdi
mov rdi, r9
mov qword [rsp + 0x38], rax
mov rsi, rax
mov eax, dword [rax + 0x18]
rep movsd dword [rdi], dword [rsi]
mov rdi, qword [rsp + 0x28]
xor ecx, ecx
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rcx
movsxd rax, dword [rax + 0x1c]
add rax, rdi
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x20]
add rax, rdi
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x24]
add rax, rdi
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov edi, dword [rsp + 0x94]
cmp dword [rsp + 0x54], edi
jg 0x140004ce2
movsxd rax, dword [rsp + 0x54]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x28]
movsxd rdx, dword [rsi + rax*4]
add rdx, rdi
cmp byte [rbx], 0
jne 0x1400053fc
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rsi + rax*2]
movsxd rsi, dword [rdi + rax*4]
call fcn.140003584
cmp byte [rbx], 0
mov rax, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xc8]
jne 0x1400053cd
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r13
call fcn.140003f09
cmp byte [rbx], 0
mov rax, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
jne 0x1400053b8
cmp qword [rsp + 0x60], rax
jne 0x1400053b4
cmp qword [rsp + 0x60], 0
je 0x140004ed1
mov rax, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
lea rdx, [r12 + 8]
lea rcx, [rax + 8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x1400053b4
mov rax, qword [rsp + 0x28]
add rsi, rax
mov rax, qword [rsp + 0x38]
cmp rsi, rax
jb 0x140004ef8
movsxd rax, dword [rsp + 0x90]
mov rdi, qword [rsp + 0x38]
add rax, rdi
cmp rsi, rax
jb 0x140004f06
test r12, r12
jne 0x14000538e
jmp 0x14000539e
lea rcx, [rsp + 0xc0]
mov rdx, rsi
xor r14d, r14d
call fcn.140003584
mov rax, qword [rsp + 0xc0]
cmp byte [rbx], 0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
jne 0x1400053f5
mov qword [rsp + 0x40], 8
mov rax, qword [rsp + 0x58]
xor esi, esi
lea r9, [rax - 1]
mov eax, 1
cmp r9, 0xffffffffffffffff
jl 0x1400050c8
mov rbp, r9
cmp rbp, 0xffffffffffffffff
je 0x140004f97
xor edx, edx
cmp qword [rsp + 0x58], rbp
jle 0x140004f80
mov rdi, qword [rsp + 0x30]
xor edx, edx
cmp byte [rdi + rbp + 8], 0x2e
sete dl
cmp byte [rbx], 0
jne 0x1400050c8
dec rdx
jne 0x140004fa0
lea r8, [rbp + 1]
test rax, rax
jne 0x140004fa5
or rbp, 0xffffffffffffffff
xor r8d, r8d
jmp 0x140004fa5
dec rbp
jmp 0x140004f62
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
lea rdi, [rsp + 0xc0]
lea r15, [r14 + 1]
mov rcx, rdi
mov qword [rsp + 0xb8], rdx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rax
call fcn.140002121
xor eax, eax
lea rcx, [rsp + 0x100]
mov rdx, rdi
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
call fcn.140003552
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x88], rax
test rsi, rsi
je 0x140005056
mov r8, qword [rsi]
mov rcx, r8
btr rcx, 0x3e
cmp r14, rcx
jl 0x14000508c
call fcn.14000156b
mov rdx, rax
mov r14, rax
shl rdx, 4
add rdx, 8
bt r8, 0x3e
jb 0x140005069
mov rcx, rsi
call fcn.14000373a
jmp 0x140005086
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 0x10]
call fcn.140001fcd
mov qword [rax], r15
jmp 0x140005089
mov rcx, rdx
add rsi, 8
call fcn.140001fcd
mov rdi, qword [rsp + 0x40]
lea rdx, [rax + 8]
lea ecx, [rdi - 8]
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
mov qword [rax], r14
mov rsi, rax
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x98]
add qword [rsp + 0x40], 0x10
add rax, rsi
mov qword [rax], rdi
mov rdi, qword [rsp + 0x88]
mov qword [rax + 8], rdi
cmp r15, 2
je 0x1400050cb
lea r9, [rbp - 1]
mov r14d, 1
xor eax, eax
jmp 0x140004f55
mov r15, r14
mov r9b, byte [rbx]
test r9b, r9b
jne 0x14000512a
xor eax, eax
test rsi, rsi
je 0x1400050de
lea rax, [rsi + 8]
test r15, r15
mov ecx, 1
cmovg rcx, r15
xor r8d, r8d
mov rdx, rcx
dec rcx
shl rdx, 4
add rdx, rax
mov r10, rcx
sub rdx, 0x10
sub r10, r8
cmp r10, r8
jle 0x14000512a
mov r8, qword [rax + 8]
mov r10, qword [rax]
add rax, 0x10
movups xmm3, xmmword [rdx]
movups xmmword [rax - 0x10], xmm3
mov qword [rdx + 8], r8
mov r8d, 1
mov qword [rdx], r10
jmp 0x1400050fa
mov r14, r15
mov r15, rsi
test r9b, r9b
jne 0x14000534f
mov rax, qword [rsi + 8]
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, [rax + 4]
call fcn.140002039
lea rax, [rsp + 0xc0]
movups xmm4, xmmword [rsi + 8]
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0xc0], xmm4
call fcn.1400021ad
movups xmm5, xmmword [0x140014220]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
movups xmmword [rsp + 0xc0], xmm5
call fcn.1400021ad
lea rax, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
mov qword [rsp + 0x58], rax
mov rbp, qword [rsp + 0xd8]
movups xmmword [rsp + 0xb0], xmm0
call fcn.140003f09
mov r9, qword [rsp + 0xc0]
cmp byte [rbx], 0
mov rdi, qword [rsp + 0xc8]
mov qword [rsp + 0x88], r9
jne 0x140005329
movups xmm1, xmmword [rsi + 0x18]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
movups xmmword [rsp + 0xb0], xmm1
call fcn.140003f09
cmp byte [rbx], 0
mov rax, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
jne 0x140005315
mov r9, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0xb8], r8
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x88], r8
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xb0], rax
call fcn.140004783
cmp byte [rbx], 0
mov r8, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
jne 0x140005315
test r8, r8
je 0x140005281
test byte [r8 + 7], 0x40
jne 0x140005281
mov rcx, r8
call fcn.1400034c6
test rdi, rdi
je 0x140005294
test byte [rdi + 7], 0x40
jne 0x140005294
mov rcx, rdi
call fcn.1400034c6
test rbp, rbp
je 0x1400052a7
test byte [rbp + 7], 0x40
jne 0x1400052a7
mov rcx, rbp
call fcn.1400034c6
cmp qword [rsp + 0x30], 0
je 0x1400052c2
mov rax, qword [rsp + 0x30]
test byte [rax + 7], 0x40
jne 0x1400052c2
mov rcx, rax
call fcn.1400034c6
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r15
call fcn.140003661
test r12, r12
je 0x1400052f4
test byte [r12 + 7], 0x40
jne 0x1400052f4
mov rcx, r12
call fcn.1400034c6
test r13, r13
je 0x1400053fc
test byte [r13 + 7], 0x40
jne 0x1400053fc
mov rcx, r13
call fcn.1400034c6
jmp 0x1400053fc
test r8, r8
je 0x140005329
test byte [r8 + 7], 0x40
jne 0x140005329
mov rcx, r8
call fcn.1400034c6
test rdi, rdi
je 0x14000533c
test byte [rdi + 7], 0x40
jne 0x14000533c
mov rcx, rdi
call fcn.1400034c6
test rbp, rbp
je 0x14000534f
test byte [rbp + 7], 0x40
jne 0x14000534f
mov rcx, rbp
call fcn.1400034c6
cmp qword [rsp + 0x30], 0
je 0x14000536a
mov rax, qword [rsp + 0x30]
test byte [rax + 7], 0x40
jne 0x14000536a
mov rcx, rax
call fcn.1400034c6
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], rsi
call fcn.140003661
cmp byte [rbx], 0
je 0x1400053b4
jmp 0x1400053b8
test byte [r12 + 7], 0x40
jne 0x14000539e
mov rcx, r12
call fcn.1400034c6
test r13, r13
je 0x1400053ee
test byte [r13 + 7], 0x40
jne 0x1400053ee
mov rcx, r13
call fcn.1400034c6
jmp 0x1400053ee
inc dword [rsp + 0x54]
test r12, r12
je 0x1400053cd
test byte [r12 + 7], 0x40
jne 0x1400053cd
mov rcx, r12
call fcn.1400034c6
test r13, r13
jne 0x1400053dd
cmp byte [rbx], 0
je 0x140004df8
jmp 0x1400053fc
test byte [r13 + 7], 0x40
jne 0x1400053d2
mov rcx, r13
call fcn.1400034c6
jmp 0x1400053d2
mov qword [rsp + 0x48], rsi
jmp 0x1400053fc
xor esi, esi
jmp 0x14000534f
mov rax, qword [rsp + 0x48]
add rsp, 0x638
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret