Function at 0x140002210
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push r12
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14000d020]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r15, rdx
xor r12d, r12d
lea rdx, [rbp + 0x190]
mov word [rbp + 0x190], r12w
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rsi, 0xffffffffffffffff
lea rcx, [rbp + 0x190]
mov rax, rsi
nop dword [rax]
cmp word [rcx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x140002270
lea rcx, [rbp + 0x190]
lea rax, [rcx + rax*2]
lea rcx, [rbp + 0x190]
cmp rax, rcx
jbe 0x1400022a9
cmp word [rax], 0x5c
je 0x1400022a9
sub rax, 2
lea rcx, [rbp + 0x190]
cmp rax, rcx
ja 0x140002293
mov word [rax], r12w
lea rdx, str.Python_d_d.dll
lea rax, str.......
mov qword [rsp + 0x8f0], rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
lea rax, str.......PCBuild_amd64
mov qword [rsp + 0x900], r14
mov qword [rsp + 0x48], rax
mov r9d, 0xb
lea rax, [0x140006df0]
mov qword [rsp + 0x50], rax
lea rax, str.PCBuild_amd64
mov qword [rsp + 0x58], rax
lea r8d, [r9 - 8]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x140002391
mov rdi, r12
nop
test rbx, rbx
jne 0x140002391
mov r9, qword [rsp + rdi*8 + 0x40]
lea rax, [rsp + 0x60]
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea rdx, str._s_s_s
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc rdi
mov rbx, rax
cmp rdi, 4
jl 0x140002320
test rax, rax
jne 0x140002391
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, str.The_application_can_not_locate__s___d__n
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000253c
lea rdx, str.Py_IsInitialized
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400023b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_p____d_n
jmp 0x14000252f
call rax
test eax, eax
sete byte [0x14000d140]
test eax, eax
jne 0x1400023f0
lea rdx, str.Py_Initialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400023ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_p____d_n
jmp 0x14000252f
call rax
lea rdx, str.PyImport_ImportModule
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14000241a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_p____d_n
jmp 0x14000252f
lea rdx, str.PyObject_GetAttrString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140002444
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_p____d_n
jmp 0x14000252f
lea rdx, str.PyUnicode_AsWideChar
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14000246e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_p____d_n
jmp 0x14000252f
lea rcx, str.win32ui
call rdi
test rax, rax
jne 0x140002492
lea rdx, str.Failed_to_import_win32ui_n
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000253c
lea rdx, str.__file__
mov rcx, rax
call r14
test rax, rax
jne 0x1400024ba
lea rdx, str.Failed_to_get___file___from_win32ui_n
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000253c
mov r8d, 0x208
lea rdx, [rbp + 0x3a0]
mov rcx, rax
call rbx
cmp rax, rsi
jne 0x1400024e4
lea rdx, str.Failed_to_get_unicode_from___file___n
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000253c
add rax, rax
cmp rax, 0x410
jae 0x1400025d0
lea rcx, [rbp + 0x3a0]
mov word [rbp + rax + 0x3a0], r12w
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.Win32uiApplicationInit
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400025bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_Win32uiApplicationInit____d_n
mov r8d, eax
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp - 0x70]
inc rsi
cmp word [rax + rsi*2], r12w
jne 0x140002540
mov edi, pe_nt_image_headers64
lea rbx, [rbp - 0x70]
sub edi, esi
lea rbx, [rbx + rsi*2]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov r8d, eax
mov dword [rsp + 0x28], edi
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
xor r8d, r8d
lea rcx, [rbp - 0x70]
xor edx, edx
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
xor eax, eax
mov r14, qword [rsp + 0x900]
mov rdi, qword [rsp + 0x8f0]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140003540
add rsp, 0x8c0
pop r15
pop r12
pop rsi
pop rbx
pop rbp
ret
xor r8d, r8d
lea rcx, vtable.Win32uiHostGlue.0
mov rdx, r15
call rax
jmp 0x140002591
call fcn.1400039d8
int3