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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x20]
cmp eax, 0x4c
je 0x14012d8ba
mov dword [rsp + 0x70], 1
jmp 0x14012d8c2
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x50]
call fcn.1401c6920
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0xa8], 2
jne 0x14012d8ff
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x21]
cmp eax, 0x5a
jne 0x14012d8ff
xor eax, eax
jmp 0x14012de84
cmp dword [rsp + 0xb0], 0
jle 0x14012da2a
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x20]
cmp eax, 0x59
jne 0x14012da06
mov rcx, qword [rsp + 0x30]
call fcn.1401c64a0
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0xa8], 2
jne 0x14012d9c7
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x21]
cmp eax, 0x56
jne 0x14012d988
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x34]
mov edx, gethostname
mov rcx, qword [rsp + 0xa0]
call fcn.14012dea0
jmp 0x14012d9c5
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x2c]
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, qword [rsp + 0xa0]
call fcn.14012dea0
jmp 0x14012da04
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x3c]
mov edx, gethostname
mov rcx, qword [rsp + 0xa0]
call fcn.14012dea0
jmp 0x14012da2a
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0xb0]
mov edx, 0x3b
mov rcx, qword [rsp + 0x30]
call fcn.1401c7170
cmp dword [rsp + 0xa8], 1
jne 0x14012da51
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x84], 0
jne 0x14012da51
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.14012eed0
mov rcx, qword [rsp + 0x30]
call fcn.1401c64a0
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x21]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 0x22]
cmp eax, ecx
jne 0x14012db97
cmp dword [rsp + 0xb0], 0
je 0x14012db97
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x20]
cmp eax, 0x59
jne 0x14012db97
mov rcx, qword [rsp + 0x50]
call fcn.140196210
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x50]
call fcn.140196210
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0xa8], 2
jne 0x14012db25
mov r9d, dword [rsp + 0x48]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x2c]
mov edx, 0x87
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
mov r9d, dword [rsp + 0x58]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x3c]
mov edx, 0x87
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x58]
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, qword [rsp + 0x30]
call fcn.1401c7170
jmp 0x14012db7b
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x28], 0
je 0x14012db7b
mov r9d, dword [rsp + 0x48]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x3c]
mov edx, 0x87
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x3c]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x28]
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, qword [rsp + 0x30]
call fcn.1401c7170
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.1401961b0
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1401961b0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 1
je 0x14012dbb5
cmp dword [rsp + 0x74], 2
je 0x14012dbe5
jmp 0x14012dc62
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0xa0]
call fcn.14012e5e0
jmp 0x14012dcda
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x84], 0
je 0x14012dc34
mov r9d, 1
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x84]
mov edx, 0x56
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
jmp 0x14012dc60
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
mov r9d, 1
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.14012f0d0
jmp 0x14012dcda
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x84], 0
je 0x14012dcb1
mov r9d, 1
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x88]
mov edx, 0x56
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
jmp 0x14012dcda
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.14012f0d0
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x24]
cmp dword [rsp + 0xa8], eax
jne 0x14012dd10
mov r8d, dword [rsp + 0x38]
mov edx, 0x82
mov rcx, qword [rsp + 0x30]
call fcn.1401c72b0
mov dx, 2
mov rcx, qword [rsp + 0x30]
call fcn.1401c6150
cmp dword [rsp + 0xb8], 0
je 0x14012dd56
mov rcx, qword [rsp + 0x30]
call fcn.1401c64a0
add eax, 2
mov r9d, eax
mov r8d, dword [rsp + 0x38]
mov edx, 0x27
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
mov edx, 9
mov rcx, qword [rsp + 0x30]
call fcn.1401c72f0
mov dword [rsp + 0x84], eax
jmp 0x14012dd9d
mov rcx, qword [rsp + 0x30]
call fcn.1401c64a0
mov ecx, dword [rsp + 0x5c]
lea eax, [rax + rcx + 1]
mov r9d, eax
mov r8d, dword [rsp + 0x38]
mov edx, 0x27
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
cmp dword [rsp + 0x5c], 0
je 0x14012dd9d
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
mov edx, 9
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
cmp dword [rsp + 0x5c], 0
je 0x14012de51
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0
je 0x14012ddc5
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
jmp 0x14012ddcd
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14012ddf0
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x50]
call fcn.140196110
mov dword [rsp + 0x7c], eax
jmp 0x14012ddf8
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x68], eax
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
call fcn.14012f680
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x68]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.14012e270
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.1401960b0
cmp dword [rsp + 0x6c], 0
je 0x14012de6f
mov r9d, dword [rsp + 0x6c]
xor r8d, r8d
mov edx, 9
mov rcx, qword [rsp + 0x30]
call fcn.1401c7260
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.1401c67c0
mov eax, dword [rsp + 0x84]
add rsp, 0x98
ret