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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
cmp qword [0x1401adba0], 0xffffffffffffffff
jne 0x140076c2b
lea rdx, [0x1401adba8]
mov rcx, qword [rsp + 0x70]
call fcn.14008d660
mov qword [0x1401adba0], rax
cmp qword [0x1401adba0], 0
je 0x140076dea
mov rax, qword [0x1401adba0]
movsx eax, byte [rax]
cmp eax, 0x33
jl 0x140076dea
mov rax, qword [rsp + 0x98]
add rax, 0x248
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x98]
add rcx, 2
mov qword [rsp + 0x38], rcx
call sub.MSVCR110.dll___iob_func
add rax, 0x60
mov rcx, qword [rsp + 0x30]
mov r9, rcx
mov rcx, qword [rsp + 0x38]
mov r8, rcx
lea rdx, str.Checkout_succeeded:__s__s_n
mov rcx, rax
call sub.MSVCR110.dll_fprintf
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x270]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x118]
mov qword [rsp + 0x48], rcx
call sub.MSVCR110.dll___iob_func
add rax, 0x60
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rcx + rdx*8]
lea rdx, str._tLicense_file:__s_n
mov rcx, rax
call sub.MSVCR110.dll_fprintf
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xf0]
cmp dword [rax + 0x14], 0
jl 0x140076dba
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x260], 0
je 0x140076dba
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x260]
movsx eax, byte [rax]
test eax, eax
je 0x140076dba
call sub.MSVCR110.dll___iob_func
add rax, 0x60
lea rdx, str._tLicense_Server:
mov rcx, rax
call sub.MSVCR110.dll_fprintf
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x260]
cmp dword [rax + 0x41c], 0xffffffff
je 0x140076d91
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x260]
mov qword [rsp + 0x50], rax
call sub.MSVCR110.dll___iob_func
add rax, 0x60
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rcx + 0x41c]
lea rdx, [0x1401adc0c]
mov rcx, rax
call sub.MSVCR110.dll_fprintf
call sub.MSVCR110.dll___iob_func
add rax, 0x60
mov rcx, qword [rsp + 0x98]
mov r8, qword [rcx + 0x260]
lea rdx, [0x1401adc10]
mov rcx, rax
call sub.MSVCR110.dll_fprintf
jmp 0x140076dd2
call sub.MSVCR110.dll___iob_func
add rax, 0x60
lea rdx, str._tNo_server_used
mov rcx, rax
call sub.MSVCR110.dll_fprintf
call sub.MSVCR110.dll___iob_func
add rax, 0x60
lea rdx, [0x1401adc14]
mov rcx, rax
call sub.MSVCR110.dll_fprintf
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140078f10
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140076f5f
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x2e0]
and eax, 1
test eax, eax
jne 0x140076f5f
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x2e0]
cmp eax, 4
je 0x140076f5f
cmp dword [rsp + 0xa8], 0xffffffdd
jne 0x140076e59
mov rax, qword [rsp + 0x28]
mov word [rax + 0x2e0], 4
jmp 0x140076e74
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x2e0]
and eax, 2
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2e0], ax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x88]
cmp dword [rax + 0x34], ecx
jge 0x140076e94
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x28]
add rax, 0x27
mov r8, qword [rsp + 0x80]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14007afe0
test eax, eax
jge 0x140076ed5
mov rax, qword [rsp + 0x28]
add rax, 0x27
mov r8d, 0xa
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call sub.MSVCR110.dll_strncpy
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + 0x3a3]
and eax, 1
test eax, eax
je 0x140076f2d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x2e8]
movzx eax, byte [rax + 0x3a3]
and eax, 1
test eax, eax
jne 0x140076f2d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x2e8]
movzx eax, byte [rax + 0x3a3]
or eax, 1
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x2e8]
mov byte [rcx + 0x3a3], al
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + 0x3a3]
xor eax, 1
test eax, eax
je 0x140076f57
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x2e8], rcx
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
jne 0x14007711d
cmp qword [rsp + 0x28], 0
jne 0x140076f81
mov rcx, qword [rsp + 0x70]
call fcn.140079100
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140076f90
xor eax, eax
jmp 0x140077162
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x180]
add eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x180], eax
mov rax, qword [rsp + 0x28]
add rax, 8
mov r8d, 0x1f
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.14007c160
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xf8]
add rax, 0xcb3
mov rcx, qword [rsp + 0x28]
add rcx, 0x2f0
mov rdx, rax
call sub.MSVCR110.dll_strcpy
mov rax, qword [rsp + 0x28]
add rax, 0x27
mov r8d, reloc.WSOCK32.dll_inet_ntoa
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.14007c160
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0x34], ecx
cmp dword [rsp + 0xa8], 0xffffffdd
jne 0x140077033
mov rax, qword [rsp + 0x28]
mov word [rax + 0x2e0], 4
jmp 0x140077041
mov rax, qword [rsp + 0x28]
mov word [rax + 0x2e0], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rcx]
mov word [rax + 0x40], cx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 4]
mov dword [rax + 0x44], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 8]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x54], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x58], ecx
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xf0]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xf0]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0xa0]
mov word [rax + 0x2e2], cx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x2e8], rcx
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x178], 0
jne 0x140077145
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x218], 0
jne 0x140077145
mov rcx, qword [rsp + 0x70]
call fcn.140078e30
cmp dword [rsp + 0x20], 0
jne 0x140077156
mov dword [rsp + 0x58], 1
jmp 0x14007715e
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
add rsp, 0x68
ret