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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov r8, qword [rsp + 0x198]
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.180129000
jmp 0x18012b0f7
lea rax, [rsp + 0x50]
mov rcx, rax
call fcn.18012a1d0
mov dword [rsp + 0x60], eax
call fcn.18001ebc0
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x148], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x148]
mov rdi, qword [rsp + 0x198]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x198]
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x18012b116
mov dword [rsp + 0x2c], 1
jmp 0x18012b11e
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x18012b24c
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
call fcn.18001ebc0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0xc8], rax
jne 0x18012b1a0
mov dword [rsp + 0x30], 1
jmp 0x18012b1a8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18012b1bb
mov dword [rsp + 0x34], 1
jmp 0x18012b1c3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x18012b215
mov rax, qword [rsp + 0x198]
mov eax, dword [rax]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 2
je 0x18012b200
cmp dword [rsp + 0x24], 3
je 0x18012b200
cmp dword [rsp + 0x24], 0x35
je 0x18012b200
cmp dword [rsp + 0x24], 0x7b
je 0x18012b200
jmp 0x18012b207
mov byte [rsp + 0x20], 1
jmp 0x18012b20c
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18012b247
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x18012b242
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
call fcn.18005b3b0
jmp 0x18012b594
jmp 0x18012b4a9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x18012b26e
mov dword [rsp + 0x38], 1
jmp 0x18012b276
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x18012b289
mov dword [rsp + 0x3c], 1
jmp 0x18012b291
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x18012b29f
jmp 0x18012b4a9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
add rax, 0x20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov r8d, 6
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0xe8]
call fcn.18012a370
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x70], eax
call fcn.18001ebc0
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x158], eax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x158]
mov rdi, qword [rsp + 0x198]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x198]
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x18012b374
mov dword [rsp + 0x40], 1
jmp 0x18012b37c
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18012b3b7
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 8], 0
je 0x18012b3b2
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.18005b3b0
jmp 0x18012b594
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 3
jne 0x18012b3e8
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x98]
call fcn.18012b070
jmp 0x18012b43c
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x98]
call fcn.180132470
movzx eax, al
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x198]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x18012b461
mov dword [rsp + 0x44], 1
jmp 0x18012b469
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x18012b4a4
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x18012b49f
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call fcn.18005b3b0
jmp 0x18012b594
jmp 0x18012b0a4
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rax + 8], 0
je 0x18012b4d6
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 8]
call fcn.18005b3b0
mov dword [rsp + 0x28], 0
jmp 0x18012b4ea
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jge 0x18012b594
mov rax, qword [rsp + 0x190]
mov rcx, rax
call fcn.180012050
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.1801ada6c
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x48]
mov rcx, qword [rsp + 0x1a0]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
call fcn.18001ebc0
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x138], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x138]
mov rdi, qword [rsp + 0x198]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x4c], 0x91
je 0x18012b58f
cmp dword [rsp + 0x4c], 5
je 0x18012b58f
jmp 0x18012b594
jmp 0x18012b4e0
add rsp, 0x178
pop rdi
pop rsi
ret