Function at 0x22dc41b90
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov edx, 0x38
lea rcx, [0x22ddfacc0]
call fcn.22dc27b50
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rax, [0x22ddfac80]
mov qword [rbx], rax
mov r12, qword [0x22ddfad00]
test r12, r12
je 0x22dc41d40
lea rcx, [0x22dd0df00]
call fcn.22dcfcd40
lea rdx, str.PyThreadState_Get
mov byte [rax], 1
mov rax, qword [0x22ddfad00]
mov rcx, qword [rax]
call rsi
call rax
mov rcx, qword [0x22ddfad00]
mov qword [rbx + 0x30], rax
mov rdx, qword [rcx + 0x250]
cmp rdx, 2
je 0x22dc41d00
cmp rdx, 3
jne 0x22dc41cf0
mov rdx, qword [rcx + 0x258]
mov r8, qword [rcx + 0x260]
cmp rdx, 0xb
je 0x22dc41d28
cmp rdx, 0xa
jle 0x22dc41d31
nop dword [rax]
mov rcx, qword [rcx]
lea rdx, str.PyImport_AddModule
call rsi
lea rdx, str.PyModule_GetDict
mov qword [rbx + 0x10], rax
mov rax, qword [0x22ddfad00]
mov rcx, qword [rax]
call rsi
lea rdx, str.PyCode_NewEmpty
mov qword [rbx + 0x18], rax
mov rax, qword [0x22ddfad00]
mov rcx, qword [rax]
call rsi
lea rdx, str.PyFrame_New
mov qword [rbx + 0x20], rax
mov rax, qword [0x22ddfad00]
mov rcx, qword [rax]
call rsi
mov rdx, qword [rbx + 0x10]
mov qword [rbx + 0x28], rax
test rdx, rdx
je 0x22dc41d0b
cmp qword [rbx + 0x18], 0
je 0x22dc41d0b
cmp qword [rbx + 0x20], 0
je 0x22dc41d0b
test rax, rax
je 0x22dc41d0b
mov rcx, qword [0x22ddfad00]
mov rax, qword [rcx + 0x250]
cmp rax, 2
je 0x22dc41f90
cmp rax, 3
je 0x22dc41f20
lea rcx, [0x22dd99fa0]
call fcn.22dc17330
nop
lea rcx, [0x22dd99fe0]
call fcn.22dc17330
nop dword [rax]
cmp qword [rax + 0x10], 0
je 0x22dc41c50
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r8, r8
jns 0x22dc41c50
cmp qword [rax + 0x18], 0
jne 0x22dc41d0b
jmp 0x22dc41c50
lea rcx, [0x22dd99f80]
mov r9d, 3
mov edx, 1
lea r8, [0x22dd99f60]
call fcn.22dc373b0
mov rcx, rax
test rax, rax
je 0x22dc42008
cmp qword [rax], 0
je 0x22dc42008
lea r14, [0x22ddfac40]
lea r13, [0x22ddfac00]
call fcn.22dc36f10
mov edx, 0x20
mov rcx, r14
mov rdi, rax
call fcn.22dc27b50
mov rbp, qword [0x22ddb2e50]
movdqa xmm6, xmmword [0x22dd9a2f0]
mov qword [rax], r13
mov rsi, rax
mov rcx, rsi
call fcn.22dc418e0
cmp qword [rsi + 8], 0
mov r10, rax
js 0x22dc42167
mov qword [rsp + 0x60], 0
test rdi, rdi
je 0x22dc41de8
mov rcx, qword [rdi]
test rax, rax
je 0x22dc41df2
add rcx, qword [rax]
jno 0x22dc41df2
call fcn.22dc28aa0
nop word [rax + rax]
xor ecx, ecx
test rax, rax
je 0x22dc41dfb
mov rcx, qword [rax]
test rcx, rcx
js 0x22dc41ff0
mov eax, 7
mov qword [rsp + 0x40], r10
cmp rcx, rax
cmovge rax, rcx
mov rcx, rbp
lea rdx, [rax + 0x11]
mov r15, rax
call fcn.22dc27b50
lea rdx, [rsp + 0x68]
mov r8, rdi
mov qword [rax + 8], r15
lea r15, [rsp + 0x60]
mov qword [rax], 0
mov rcx, r15
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x68], 0
call fcn.22dc36110
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, r15
call fcn.22dc36110
mov r15, qword [rsp + 0x60]
test r15, r15
je 0x22dc42140
mov rax, qword [r15]
mov rcx, rbp
lea r8, [rax + 4]
mov eax, 7
cmp r8, rax
cmovl r8, rax
lea rdx, [r8 + 0x11]
mov qword [rsp + 0x38], r8
call fcn.22dc27b50
mov r8, qword [rsp + 0x38]
lea rdx, [r15 + 0x10]
mov qword [rax], 0
lea rcx, [rax + 0x10]
mov qword [rax + 8], r8
mov qword [rsp + 0x38], rax
mov rax, qword [r15]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
mov r9, qword [rsp + 0x38]
mov qword [r9], rax
add rax, 0x10
add rax, r9
mov dword [rax], 0x6c6c642e
mov byte [rax + 4], 0
add qword [r9], 4
jne 0x22dc420e0
lea rcx, [0x22dd990cc]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x22dc41dac
mov r12, rax
nop word [rax + rax]
cmp qword [0x22ddfad00], 0
je 0x22dc42100
lea rcx, [0x22dd9a0a0]
call fcn.22dc17330
nop word [rax + rax]
mov rax, qword [rcx + 0x258]
mov rcx, qword [rcx + 0x260]
cmp rax, 0xb
je 0x22dc41fe0
cmp rax, 0xa
jg 0x22dc41d0b
lea rcx, str.__main__
call rdx
mov rcx, rax
call qword [rbx + 0x18]
xor r8d, r8d
lea rdx, [0x22dd990b2]
lea rcx, str.null.py
mov rsi, rax
call qword [rbx + 0x20]
mov r8, rsi
mov rcx, qword [rbx + 0x30]
mov r9, rsi
mov rdx, rax
call qword [rbx + 0x28]
mov r8, rax
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x18], r8
jmp 0x22dc41d0b
lea rcx, str.__main__
call rdx
mov rcx, rax
call qword [rbx + 0x18]
xor r8d, r8d
lea rdx, [0x22dd990b2]
lea rcx, str.null.py
mov rsi, rax
call qword [rbx + 0x20]
mov r8, rsi
mov rcx, qword [rbx + 0x30]
mov r9, rsi
mov rdx, rax
call qword [rbx + 0x28]
mov r8, rax
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x10], r8
jmp 0x22dc41d0b
test rcx, rcx
js 0x22dc41f42
jmp 0x22dc41d0b
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.22dc29cd0
nop dword [rax]
mov rcx, qword [0x22ddad910]
mov edx, 0x30
lea r14, [0x22dd990e1]
call fcn.22dc27b50
lea rcx, [0x22dd99f20]
mov r13, rax
mov rax, qword [0x22ddadb20]
mov qword [r13 + 0x10], r14
mov rsi, qword [r13 + 0x18]
mov qword [r13], rax
call fcn.22dc28300
mov qword [r13 + 0x18], rax
test rsi, rsi
je 0x22dc42079
mov rax, qword [rsi - 0x10]
lea r15, [rsi - 0x10]
sub rax, 8
mov qword [rsi - 0x10], rax
cmp rax, 7
ja 0x22dc42079
mov rcx, qword [0x22ddae200]
call fcn.22dcfcd40
mov rdx, r15
lea rcx, [rax + 0x18]
call fcn.22dc1c480
mov rax, qword [r13 + 8]
test rax, rax
je 0x22dc420b0
mov rdi, qword [rax - 0x10]
lea r15, [rax - 0x10]
lea rdx, [rdi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x22dc420b0
mov rcx, qword [0x22ddae200]
call fcn.22dcfcd40
mov rdx, r15
lea rcx, [rax + 0x18]
call fcn.22dc1c480
mov qword [r13 + 8], 0
mov qword [rsp + 0x20], 0x196
lea r9, [0x22dd990ec]
lea r8, str.pythonLibHandleFromExternalLib
mov rdx, r14
mov rcx, r13
call fcn.22dc29b30
jmp 0x22dc41f00
lea rcx, [r9 + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x22dc41dac
jmp 0x22dc41ef7
lea r13, str.Py_InitializeEx
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov rdx, r13
call rsi
mov rdi, rax
test rax, rax
je 0x22dc4215d
xor ecx, ecx
call rdi
mov rcx, r12
call fcn.22dc3f9b0
mov qword [0x22ddfad00], rax
jmp 0x22dc41bdd
mov edx, 0x18
mov rcx, rbp
call fcn.22dc27b50
mov r9, rax
movups xmmword [rax], xmm6
mov eax, 0x10
jmp 0x22dc41eca
mov rcx, r13
call fcn.22dc3f780
jmp 0x22dc4211e
mov edx, 0x20
mov rcx, r14
mov qword [rsp + 0x58], 0
call fcn.22dc27b50
mov qword [rax], r13
mov rbp, rax
xor r13d, r13d
nop word cs:[rax + rax]
mov rcx, rbp
call fcn.22dc418e0
cmp qword [rbp + 8], 0
mov r14, rax
js 0x22dc4220a
mov rdx, qword [0x22ddada40]
mov rcx, r13
call fcn.22dc28c40
mov rcx, r14
mov rsi, qword [rax]
mov r13, rax
lea rax, [rsi + 1]
add rsi, 2
mov qword [r13], rax
mov r15, qword [r13 + rsi*8]
call fcn.22dc28300
mov qword [r13 + rsi*8], rax
test r15, r15
je 0x22dc42190
mov rax, qword [r15 - 0x10]
lea rsi, [r15 - 0x10]
sub rax, 8
mov qword [r15 - 0x10], rax
cmp rax, 7
ja 0x22dc42190
mov rcx, qword [0x22ddae200]
call fcn.22dcfcd40
mov rdx, rsi
lea rcx, [rax + 0x18]
call fcn.22dc1c480
jmp 0x22dc42190
test r13, r13
je 0x22dc423c4
mov rcx, qword [r13]
test rcx, rcx
js 0x22dc41ff0
mov rdx, rcx
mov rcx, qword [0x22ddada40]
call fcn.22dc28b80
mov r15, rax
mov rax, qword [r13]
mov qword [rsp + 0x38], rax
movdqa xmm6, xmmword [0x22dd9a2f0]
xor ebp, ebp
xor r14d, r14d
cmp rbp, qword [rsp + 0x38]
jge 0x22dc423f0
test rbp, rbp
js 0x22dc423af
test r13, r13
je 0x22dc423e3
mov rax, qword [r13]
cmp rbp, rax
jge 0x22dc423af
test r15, r15
je 0x22dc4251e
test r14, r14
js 0x22dc42519
cmp r14, qword [r15]
jge 0x22dc4250a
mov rdx, qword [r13 + rbp*8 + 0x10]
mov rcx, rdi
call fcn.22dc361b0
mov r11, rax
test rax, rax
je 0x22dc42554
mov rax, qword [rax]
mov rcx, qword [0x22ddb2e50]
mov qword [rsp + 0x48], r11
lea r8, [rax + 4]
mov eax, 7
cmp r8, rax
cmovl r8, rax
lea rdx, [r8 + 0x11]
mov qword [rsp + 0x40], r8
call fcn.22dc27b50
mov r11, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov qword [rax], 0
mov rsi, rax
lea rcx, [rax + 0x10]
mov qword [rax + 8], r8
mov rax, qword [r11]
lea rdx, [r11 + 0x10]
mov qword [rsp + 0x40], r11
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov r11, qword [rsp + 0x40]
mov rax, qword [r11]
mov qword [rsi], rax
mov rax, qword [rsi]
lea r8, [r14 + 2]
lea rax, [rsi + rax + 0x10]
mov dword [rax], 0x6c6c642e
mov byte [rax + 4], 0
add qword [rsi], 4
add qword [rsi - 0x10], 8
mov rax, qword [r15 + r8*8]
test rax, rax
je 0x22dc42376
lea rdx, [rax - 0x10]
mov qword [rsp + 0x48], rdx
mov rdx, qword [rax - 0x10]
lea rcx, [rdx - 8]
mov qword [rax - 0x10], rcx
cmp rcx, 7
ja 0x22dc42376
mov rcx, qword [0x22ddae200]
mov qword [rsp + 0x40], r8
call fcn.22dcfcd40
mov rdx, qword [rsp + 0x48]
lea rcx, [rax + 0x18]
call fcn.22dc1c480
mov r8, qword [rsp + 0x40]
add r14, 1
mov qword [r15 + r8*8], rsi
jo 0x22dc41ddd
mov r10, rbp
add r10, 1
mov rbp, r10
jo 0x22dc41ddd
mov rax, qword [rsp + 0x38]
cmp rax, qword [r13]
je 0x22dc42248
lea rcx, [0x22dd99ea0]
call fcn.22dc17330
test r13, r13
je 0x22dc423ea
mov rdx, qword [r13]
sub rdx, 1
mov rcx, rbp
call fcn.22dc29e70
mov rcx, qword [0x22ddada40]
xor edx, edx
call fcn.22dc28b80
mov qword [rsp + 0x38], 0
mov r15, rax
jmp 0x22dc4223b
xor eax, eax
jmp 0x22dc42269
or rdx, 0xffffffffffffffff
jmp 0x22dc423bc
mov r8, qword [0x22ddada40]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x68], r15
call fcn.22dc31470
mov rcx, qword [rsp + 0x58]
xor edx, edx
test rcx, rcx
je 0x22dc42421
mov rdx, qword [rcx]
add rcx, 0x10
lea r8, [0x22dd99e80]
lea r14, [0x22dd990e1]
call fcn.22dc340c0
mov rcx, qword [0x22ddad910]
mov edx, 0x30
mov r15, rax
call fcn.22dc27b50
mov r13, rax
mov rax, qword [0x22ddadb20]
mov qword [r13 + 0x10], r14
mov qword [r13], rax
test r15, r15
je 0x22dc42524
mov rax, qword [r15]
lea rsi, [0x22dd99e50]
lea rcx, [rax + 0x20]
call fcn.22dc27b90
mov ecx, 0x21
mov rbp, rax
mov rax, qword [rax]
lea rax, [rbp + rax + 0x10]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp]
lea rdx, [rax + 0x20]
lea rcx, [rbp + rax + 0x30]
mov qword [rbp], rdx
mov rax, qword [r15]
lea rdx, [r15 + 0x10]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r15]
add qword [rbp], rax
add qword [rbp - 0x10], 8
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x22dc424ef
mov rdi, qword [rax - 0x10]
lea r15, [rax - 0x10]
lea rdx, [rdi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x22dc424ef
mov rcx, qword [0x22ddae200]
call fcn.22dcfcd40
mov rdx, r15
lea rcx, [rax + 0x18]
call fcn.22dc1c480
mov qword [r13 + 0x18], rbp
lea rcx, [r13 + 8]
call fcn.22dccd140
mov qword [rsp + 0x20], 0x194
jmp 0x22dc420c1
mov rdx, qword [r15]
sub rdx, 1
mov rcx, r14
call fcn.22dc29e70
test r15, r15
jne 0x22dc4250a
or rdx, 0xffffffffffffffff
jmp 0x22dc42511
mov ecx, 0x20
lea rsi, [0x22dd99e50]
call fcn.22dc27b90
mov ecx, 0x21
mov rbp, rax
mov rax, qword [rax]
lea rax, [rbp + rax + 0x10]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
add qword [rbp], 0x20
jmp 0x22dc424b3
mov rcx, qword [0x22ddb2e50]
mov edx, 0x18
call fcn.22dc27b50
mov rsi, rax
movups xmmword [rax], xmm6
jmp 0x22dc4230f