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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov r10, qword [rsp + 0x88]
mov r11, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
mov r12, qword [rsp + 0x58]
cmp cx, word [rsp + 0x60]
jne 0x140142ede
cmp byte [rdx], 0
je 0x140142f38
mov byte [rdx], 0
mov rax, qword [r12]
lea rcx, [rax + 1]
mov qword [r12], rcx
mov byte [rax], 0x2e
movzx ecx, byte [r15 + 0x17]
test cl, cl
jns 0x140142eb7
mov rcx, qword [r15 + 8]
xor eax, eax
test rcx, rcx
je 0x140142f3d
mov rcx, qword [r11]
mov rdx, rcx
sub rdx, r14
cmp rdx, 0x9f
jg 0x140142f3d
mov edx, dword [r10]
lea rbx, [rcx + 4]
mov qword [r11], rbx
mov dword [rcx], edx
jmp 0x140142f3d
cmp cx, word [rsp + 0x68]
jne 0x140142f25
movzx eax, byte [r15 + 0x17]
test al, al
jns 0x140142ef2
mov rax, qword [r15 + 8]
test rax, rax
je 0x140142f25
cmp byte [rdx], 0
je 0x140142f38
mov rcx, qword [r11]
mov rdx, rcx
sub rdx, r14
xor eax, eax
cmp rdx, 0x9f
jg 0x140142f3d
mov edx, dword [r10]
lea rbx, [rcx + 4]
mov qword [r11], rbx
mov dword [rcx], edx
mov dword [r10], 0
jmp 0x140142f3d
mov rsi, qword [rsp + 0x90]
cmp word [rsi], cx
jne 0x140142f47
xor edi, edi
xor ebx, ebx
jmp 0x140142f54
mov eax, 0xffffffff
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp word [rsi + 2], cx
jne 0x140142fcc
mov ebx, 1
xor edi, edi
lea rax, str.0123456789abcdefABCDEFxX_pPiInN
movzx ebx, byte [rbx + rax]
mov eax, ebx
and eax, 0x5f
movsx ecx, byte [r8]
cmp eax, ecx
jne 0x140142fa9
or cl, 0x80
mov byte [r8], cl
cmp byte [rdx], 0
je 0x140142fa9
mov byte [rdx], 0
movzx ecx, byte [r15 + 0x17]
test cl, cl
jns 0x140142f87
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x140142fa9
mov rcx, qword [r11]
mov rax, rcx
sub rax, r14
cmp rax, 0x9f
jg 0x140142fa9
mov eax, dword [r10]
lea rdx, [rcx + 4]
mov qword [r11], rdx
mov dword [rcx], eax
mov rax, qword [r12]
lea rcx, [rax + 1]
mov qword [r12], rcx
mov byte [rax], bl
xor eax, eax
test dil, dil
jne 0x140142f3d
inc dword [r10]
xor eax, eax
jmp 0x140142f3d
cmp word [rsi + 4], cx
jne 0x140142fdc
mov ebx, 2
jmp 0x140142f52
cmp word [rsi + 6], cx
jne 0x140142fec
mov ebx, 3
jmp 0x140142f52
cmp word [rsi + 8], cx
jne 0x140142ffc
mov ebx, 4
jmp 0x140142f52
cmp word [rsi + 0xa], cx
jne 0x14014300c
mov ebx, 5
jmp 0x140142f52
cmp word [rsi + 0xc], cx
jne 0x14014301c
mov ebx, 6
jmp 0x140142f52
cmp word [rsi + 0xe], cx
jne 0x14014302c
mov ebx, 7
jmp 0x140142f52
cmp word [rsi + 0x10], cx
jne 0x14014303c
mov ebx, 8
jmp 0x140142f52
cmp word [rsi + 0x12], cx
jne 0x14014304c
mov ebx, 9
jmp 0x140142f52
cmp word [rsi + 0x14], cx
jne 0x14014305c
mov ebx, 0xa
jmp 0x140142f52
cmp word [rsi + 0x16], cx
jne 0x14014306c
mov ebx, ntohl
jmp 0x140142f52
cmp word [rsi + 0x18], cx
jne 0x14014307c
mov ebx, ntohl
jmp 0x140142f52
cmp word [rsi + 0x1a], cx
jne 0x14014308c
mov ebx, ntohl
jmp 0x140142f52
cmp word [rsi + 0x1c], cx
jne 0x14014309c
mov ebx, reloc.WS2_32.dll_ntohl
jmp 0x140142f52
cmp word [rsi + 0x1e], cx
jne 0x1401430ac
mov ebx, 0xf
jmp 0x140142f52
cmp word [rsi + 0x20], cx
jne 0x1401430bc
mov ebx, 0x10
jmp 0x140142f52
cmp word [rsi + 0x22], cx
jne 0x1401430cc
mov ebx, 0x11
jmp 0x140142f52
cmp word [rsi + 0x24], cx
jne 0x1401430dc
mov ebx, 0x12
jmp 0x140142f52
cmp word [rsi + 0x26], cx
jne 0x1401430ec
mov ebx, 0x13
jmp 0x140142f52
cmp word [rsi + 0x28], cx
jne 0x1401430fc
mov ebx, 0x14
jmp 0x140142f52
cmp word [rsi + 0x2a], cx
jne 0x14014310c
mov ebx, 0x15
jmp 0x140142f52
mov eax, 0x16
cmp word [rsi + 0x2c], cx
je 0x140143122
mov eax, 0x17
cmp word [rsi + 0x2e], cx
jne 0x140143143
lea rcx, str.0123456789abcdefABCDEFxX_pPiInN
mov al, byte [rax + rcx]
mov byte [r8], 0x50
mov rcx, qword [r12]
lea rdx, [rcx + 1]
mov qword [r12], rdx
mov byte [rcx], al
jmp 0x140142fc5
mov edi, 0x18
cmp word [rsi + 0x30], cx
je 0x140143159
mov edi, 0x19
cmp word [rsi + 0x32], cx
jne 0x140143187
mov rcx, qword [r12]
cmp rcx, r9
je 0x14014317b
mov dl, byte [rcx - 1]
and dl, 0x5f
mov bl, byte [r8]
and bl, 0x7f
mov eax, 0xffffffff
cmp dl, bl
jne 0x140142f3d
lea rax, str.0123456789abcdefABCDEFxX_pPiInN
mov al, byte [rdi + rax]
jmp 0x140143134
mov ebx, 0x1a
mov dil, 1
cmp word [rsi + 0x34], cx
je 0x140142f54
mov ebx, 0x1b
cmp word [rsi + 0x36], cx
je 0x140142f54
mov ebx, 0x1c
cmp word [rsi + 0x38], cx
je 0x140142f54
mov ebx, 0x1d
cmp word [rsi + 0x3a], cx
je 0x140142f54
mov ebx, 0x1e
cmp word [rsi + 0x3c], cx
je 0x140142f54
mov eax, 0xffffffff
mov ebx, 0x1f
cmp word [rsi + 0x3e], cx
je 0x140142f54
jmp 0x140142f3d