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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc0
mov rax, qword [0x1401d1010]
xor rax, rsp
mov qword [rbp + 0xf], rax
xor esi, esi
mov r15, r8
mov r12, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp - 0x31]
mov ebx, esi
lea r8d, [rsi + 0x3c]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rdi + 0x10], rsi
lea edx, [rsi + 1]
mov qword [rbp - 0x61], rax
mov ecx, 0x4f8
mov dword [rbp - 0x59], eax
mov r14d, esi
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_378]
mov r13, rax
test rax, rax
je 0x1401058f9
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x4f4
call sub.VCRUNTIME140.dll_memset
mov dword [r13], 0x4f8
mov rdx, qword [rdi]
test rdx, rdx
je 0x1401058a6
or rcx, 0xffffffffffffffff
mov rax, rcx
inc rax
cmp word [rdx + rax*2], si
jne 0x140105598
cmp rax, 0x19
jne 0x1401058a6
mov r8, qword [rdi + 8]
test r8, r8
je 0x1401058a6
mov rax, rcx
inc rax
cmp word [r8 + rax*2], si
jne 0x1401055bb
mov r11d, 5
cmp rax, r11
jb 0x1401058a6
mov rcx, rsi
mov r10d, r11d
mov r9, r11
movzx eax, word [rdx]
add rdx, 2
mov word [rbp + rcx*2 - 0x31], ax
inc rcx
sub r9, 1
jne 0x1401055dd
lea eax, [r9 + 0x2d]
mov word [rbp + rcx*2 - 0x31], ax
inc rcx
sub r10, 1
jne 0x1401055da
lea r14d, [rax - 0x27]
mov word [rbp + 9], si
mov edx, r14d
lea rcx, [rbp - 0x61]
mov r9, r11
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov eax, esi
lea rcx, [rbp - 0x61]
lea edx, [r14 + 0x36]
cmp word [rcx], si
je 0x14010563f
cmp word [rcx], dx
je 0x1401056e7
inc eax
add rcx, 2
cmp eax, 5
jl 0x140105626
lea rcx, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp eax, 5
jge 0x1401056a4
xor eax, eax
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov dword [rbp - 0x39], eax
lea edx, [rax + 0xa]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.00000
mov rdx, r14
lea rcx, [rbp - 0x61]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov eax, 5
lea r8, [rbp - 0x49]
sub eax, esi
mov rdx, r14
movsxd rcx, eax
lea rax, [rbp - 0x61]
sub rdx, rcx
lea rcx, [rax + rcx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 1
mov ecx, 0xa4
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_378]
xor esi, esi
mov r14, rax
test rax, rax
je 0x1401058f9
xor r8d, r8d
mov dword [rax], 0xa4
xor edx, edx
mov rcx, r15
call fcn.140006864
test rax, rax
jne 0x140105700
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1401058ab
cdqe
add rax, rax
cmp rax, 0xc
jae 0x140105900
mov word [rbp + rax - 0x61], si
jmp 0x14010563f
lea rdx, str.PidGenX
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401056da
lea rcx, [rdi + 0x18]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
lea r8, [rbp - 0x61]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea rcx, [rbp - 0x31]
mov dword [rdi + 0xd4], esi
mov rdx, r12
call qword [case.0x140089b1f.8]
mov qword [rdi + 0x10], r13
test eax, eax
jns 0x140105752
movzx ebx, ax
jmp 0x1401058ab
mov r12b, 0xff
lea rax, [r13 + 0x478]
lea r15, str.ltFree
mov rcx, qword [r15]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140105787
inc esi
lea rax, [r13 + 0x478]
add r15, 0x10
cmp esi, 0xb
jb 0x140105763
jmp 0x140105797
mov eax, esi
lea rcx, [0x140195aa0]
add rax, rax
mov r12b, byte [rcx + rax*8]
lea rcx, [rdi + 0x18]
mov byte [rdi + 0xe0], r12b
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x17
jne 0x14010589d
xor eax, eax
lea r8, [r13 + 0x14]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], eax
lea edx, [rax + 6]
lea r9d, [rax + 5]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor eax, eax
lea r8, [rdi + 0x24]
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x51], rax
lea r15d, [rax + 3]
lea r12d, [rax + 4]
mov r9d, r15d
mov edx, r12d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rdx, [0x14013f470]
lea rcx, [rbp - 0x51]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
xor esi, esi
test eax, eax
jne 0x140105825
lea r8, [rdi + 0x30]
mov dword [rdi + 0xd4], 1
mov r9d, r15d
lea rcx, [rbp - 0x51]
mov edx, r12d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
xor edx, edx
lea rcx, [rbp - 0x51]
mov dword [rdi + 0xcc], eax
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
or r15, 0xffffffffffffffff
lea r8, [r13 + 0x118]
lea rcx, [rdi + 0xf0]
mov dword [rdi + 0xc8], eax
mov r9, r15
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
cmp eax, 0x50
jne 0x14010587d
mov ebx, 0x7a
jmp 0x1401058af
lea r8, [r13 + 0x88]
mov r9, r15
lea rcx, [rdi + 0x48]
mov edx, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
cmp eax, 0x50
jne 0x1401058c2
jmp 0x140105876
mov ebx, 0xd
xor esi, esi
jmp 0x1401058af
mov ebx, 0x57
test ebx, ebx
je 0x1401058c2
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1401058c2
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
mov qword [rdi + 0x10], rsi
test r14, r14
je 0x1401058d0
mov rcx, r14
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140107ad0
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1135]
int3
call fcn.1401086e8
int3