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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x2f0
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rax, qword [rcx + 0x10]
mov rdi, rcx
add rcx, 0x10
mov r12, rdx
call qword [rax + 0x168]
xor esi, esi
movsxd rbp, eax
cmp ebp, 0xffffffff
jne 0x140078b68
mov rcx, qword [rdi + 0x3b0]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x140078dab
movsxd rcx, dword [rbx + 0x14]
mov rax, qword [rdi + 0x58]
mov rdx, r12
imul rcx, rcx, 0x250
lea rcx, [rcx + rax + 0x2c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140078b63
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x3b0]
jne 0x140078b31
jmp 0x140078dab
mov eax, dword [rbx + 0x14]
jmp 0x140078baa
mov rcx, qword [rdi + 0x38]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x80], 4
mov dword [rsp + 0x84], ebp
mov dword [rsp + 0x88], esi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140078dab
mov eax, dword [rsp + 0xa8]
cmp eax, 0xffffffff
je 0x140078dab
mov rcx, qword [rdi + 0x58]
movsxd rbx, eax
mov r9d, 2
mov r8, rbp
mov edx, 0x102c
mov qword [rsp + 0x330], r13
imul rbx, rbx, 0x250
mov eax, dword [rbx + rcx + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + rcx + 0x1c]
mov rcx, qword [rdi + 0x38]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
sub qword [rdi + 0x2a8], rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
jne 0x140078c22
mov rcx, qword [rdi + 0x58]
mov eax, dword [rbx + rcx + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + rcx + 0x1c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
sub qword [rdi + 0x2b0], rax
lea r8, [rdi + 0xa0]
lea rax, [rsp + 0xd0]
mov edx, 0x104
sub r8, rax
lea rcx, [rsp + 0xd0]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140078c65
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140078c65
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140078c41
jmp 0x140078c6a
test rdx, rdx
jne 0x140078c6e
sub rcx, 2
mov word [rcx], si
lea rcx, [rsp + 0xd0]
mov rdx, r12
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov r11, qword [rdi + 0x58]
lea rcx, [rsp + 0xd0]
lea rdx, [rbx + r11]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140078d93
mov r8, qword [rdi + 0x58]
mov r9d, 2
mov edx, 0x102c
mov ecx, dword [rbx + r8 + 0x20]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rbx + r8 + 0x1c]
mov r8, rbp
mov dword [rsp + 0x24], ecx
mov rcx, qword [rsp + 0x20]
add qword [rdi + 0x2a8], rcx
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
jne 0x140078d04
mov rcx, qword [rdi + 0x58]
mov eax, dword [rbx + rcx + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + rcx + 0x1c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
add qword [rdi + 0x2b0], rax
mov rax, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x38]
mov dword [rsp + 0x40], 4
test byte [rbx + rax], 2
lea r9, [rsp + 0x30]
mov r8, rbp
mov edx, 0x102b
mov dword [rsp + 0x3c], 4
jne 0x140078d33
mov dword [rsp + 0x3c], esi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rdi + 0x2c4], 4
jne 0x140078d88
mov rax, qword [rdi + 0x4a0]
test rax, rax
je 0x140078d88
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140078d88
nop dword [rax]
cmp dword [rbx + 0x14], 0
je 0x140078d79
mov edx, dword [rbx + 0x10]
mov r9d, esi
mov r8d, ebp
mov rcx, rdi
call fcn.140081140
inc esi
mov rax, qword [rdi + 0x4a0]
mov rbx, qword [rbx]
cmp rbx, qword [rax]
jne 0x140078d60
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140078da3
mov rax, qword [rdi + 0x58]
mov dword [rbx + rax + 0x20], esi
mov rax, qword [rdi + 0x58]
mov dword [rbx + rax + 0x1c], esi
mov r13, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x2f0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret