Function at 0x140033210
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movzx ebx, r9b
mov rdi, r8
mov rsi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140033678
movzx r8d, bl
mov rdx, rdi
mov rcx, rax
call fcn.140032b40
test al, al
je 0x140033678
mov edx, VarDecFromUI1
lea rcx, [rbp - 0x41]
call fcn.1400160a0
cmp qword [rax + 0x18], 0x10
jb 0x140033290
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [rbp - 0x29]
cmp rcx, 0x10
jb 0x1400332f6
inc rcx
mov rdx, qword [rbp - 0x41]
cmp rcx, 0x1000
jb 0x1400332ee
test dl, 0x1f
je 0x1400332c1
call fcn.140128ff4
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x1400332d0
call fcn.140128ff4
int3
sub rdx, rax
cmp rdx, 8
jae 0x1400332df
call fcn.140128ff4
int3
cmp rdx, 0x27
jbe 0x1400332eb
call fcn.140128ff4
int3
mov rdx, rax
mov rcx, rdx
call fcn.1400eb7f4
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
xor r13d, r13d
mov qword [rbp - 0x31], r13
mov byte [rbp - 0x41], r13b
test rbx, rbx
je 0x140033678
mov edx, VarDecFromUI1
lea rcx, [rbp + 0xf]
call fcn.1400160a0
cmp qword [rax + 0x18], 0x10
jb 0x14003332a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rcx, [rbp + 0xf]
call fcn.14000c7e0
test r12, r12
je 0x140033678
mov rbx, r13
mov edx, reloc.OLEAUT32.dll_VarDecFromUI1
lea rcx, [rbp - 0x19]
call fcn.1400160a0
mov rdi, rax
mov edx, VarDecFromUI1
lea rcx, [rbp - 0x41]
call fcn.1400160a0
cmp qword [rdi + 0x18], 0x10
jb 0x140033377
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x140033381
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400333a2
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmovne rbx, rax
lea rcx, [rbp - 0x41]
call fcn.14000c7e0
nop
lea rcx, [rbp - 0x19]
call fcn.14000c7e0
test rbx, rbx
je 0x140033678
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r15
call rbx
mov r14, rax
test rax, rax
je 0x140033678
mov rdi, r13
mov edx, 0xbe
lea rcx, [rbp - 0x41]
call fcn.1400160a0
mov rbx, rax
mov edx, VarDecFromUI1
lea rcx, [rbp - 0x19]
call fcn.1400160a0
cmp qword [rbx + 0x18], 0x10
jb 0x140033411
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 0x10
jb 0x14003341b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14003343c
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmovne rdi, rax
lea rcx, [rbp - 0x19]
call fcn.14000c7e0
nop
lea rcx, [rbp - 0x41]
call fcn.14000c7e0
test rdi, rdi
je 0x140033678
or r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp word [rsi + r9*2], 0
jne 0x140033460
add r9, r9
mov qword [rsp + 0x20], r13
mov r8, rsi
mov rdx, r14
mov rcx, r15
call rdi
test eax, eax
je 0x140033678
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x21], r13d
mov rbx, r13
mov edx, 0xc0
lea rcx, [rbp - 0x41]
call fcn.1400160a0
mov rdi, rax
mov edx, 0xbf
lea rcx, [rbp - 0x19]
call fcn.1400160a0
cmp qword [rdi + 0x18], 0x10
jb 0x1400334ba
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x1400334c4
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400334e5
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmovne rbx, rax
lea rcx, [rbp - 0x19]
call fcn.14000c7e0
nop
lea rcx, [rbp - 0x41]
call fcn.14000c7e0
test rbx, rbx
je 0x14003367c
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call rbx
cmp qword [rbp - 0x49], 0
jne 0x14003367c
mov rdi, r13
mov edx, 0xc1
lea rcx, [rbp - 0x41]
call fcn.1400160a0
mov rbx, rax
mov edx, 0xbf
lea rcx, [rbp - 0x19]
call fcn.1400160a0
cmp qword [rbx + 0x18], 0x10
jb 0x140033567
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 0x10
jb 0x140033571
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140033592
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmovne rdi, rax
lea rcx, [rbp - 0x19]
call fcn.14000c7e0
nop
lea rcx, [rbp - 0x41]
call fcn.14000c7e0
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov r9, r15
xor r8d, r8d
mov edx, 0x10000000
lea rcx, [rbp - 0x49]
call rdi
cmp qword [rbp - 0x49], 0
jne 0x14003367c
mov rbx, r13
mov edx, 0xc2
lea rcx, [rbp - 0x41]
call fcn.1400160a0
mov rdi, rax
mov edx, VarDecFromUI1
lea rcx, [rbp - 0x19]
call fcn.1400160a0
cmp qword [rdi + 0x18], 0x10
jb 0x140033610
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x14003361a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14003363b
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmovne rbx, rax
lea rcx, [rbp - 0x19]
call fcn.14000c7e0
nop
lea rcx, [rbp - 0x41]
call fcn.14000c7e0
test rbx, rbx
je 0x140033678
lea rax, [rbp - 0x21]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r14
mov r9, r12
xor r8d, r8d
xor edx, edx
mov rcx, r15
call rbx
test rax, rax
jne 0x14003367c
xor al, al
jmp 0x14003367e
mov al, 1
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret