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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 0x128]
test r14, r14
jne 0x1401a3f45
xor edi, edi
cmp byte [rsi + 0x15], 0
je 0x1401a4017
mov r14, qword [rsi + 0x128]
mov ebx, edi
test r14, r14
jne 0x1401a3f45
cmp byte [rsi + 0x10], 0
jne 0x1401a3ef4
cmp byte [rsi + 0x15], 0
jne 0x1401a3ef4
test ebx, ebx
jne 0x1401a3ef4
mov rax, qword [rsi + 0x128]
test rax, rax
jne 0x1401a3f2e
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401a44d0
lea rdx, [rsp + 0x30]
mov qword [rdx], 0
mov rax, qword [rax + 0x30]
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a426f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsi + 0xc8]
add rax, rcx
dec rax
cqo
idiv rcx
cmp eax, dword [rsi + 0xbc]
ja 0x1401a44c5
mov dword [rsi + 0x20], eax
jmp 0x1401a3efc
test ebx, ebx
jne 0x1401a4271
mov al, 1
mov byte [rsi + 0x15], al
mov byte [rsi + 0x1c], al
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401a3f1d
call fcn.140297b50
int3
mov eax, ebx
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp word [rax + 0x3c], 0
js 0x1401a3e9e
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1401a3ee3
jmp 0x1401a3e9e
mov dword [rsp + 0x30], 0
cmp byte [r14 + 0x40], 0
jne 0x1401a45a6
movzx edi, word [r14 + 0x3c]
test di, di
js 0x1401a3f74
cmp byte [r14 + 0x3f], 0
je 0x1401a46f5
mov word [r14 + 0x3c], 0xffff
mov rcx, qword [rsi + 0x128]
lea rdi, [rsp + 0x30]
mov rdx, rdi
call fcn.1401a4870
mov ebx, eax
mov eax, dword [rdi]
or eax, ebx
je 0x1401a3e7e
inc dword [rsi + 0x84]
mov rax, qword [rsi + 0x70]
test rax, rax
jne 0x1401a472c
mov r14, qword [rsi + 0x120]
cmp qword [r14 + 0x48], 0
je 0x1401a3fe4
mov rcx, qword [r14]
test rcx, rcx
jne 0x1401a473c
mov edi, 1
cmp qword [r14 + 0x18], 0
jne 0x1401a4777
mov rax, qword [0x14050f300]
mov rcx, qword [r14 + 0x48]
mov edx, edi
call qword [case.0x1403053b8.0]
cmp byte [rsi + 0x1b], 0
je 0x1401a3e7e
jmp 0x1401a4759
cmp al, 1
jbe 0x1401a4057
jmp 0x1401a42a1
cmp word [rax + 0x3c], 0
js 0x1401a40df
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1401a4124
jmp 0x1401a40df
movzx eax, byte [rsi + 0x16]
cmp eax, 5
je 0x1401a4024
test eax, eax
jne 0x1401a3ff3
cmp byte [rsi + 0x11], 0
jne 0x1401a404b
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov edx, 1
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a44f2
mov al, byte [rsi + 0x16]
cmp al, 5
je 0x1401a42a1
mov byte [rsi + 0x16], 1
mov r14, qword [rsi]
mov dword [rsp + 0x2c], 1
mov rax, qword [rsi + 0x50]
mov r12, qword [rax]
test r12, r12
jne 0x1401a409f
mov rdx, qword [rsi + 0xe0]
mov rax, qword [r14 + 0x38]
lea r9, [rsp + 0x2c]
mov rcx, r14
xor r8d, r8d
call qword [case.0x1403053b8.0]
mov ebx, eax
test eax, eax
jne 0x1401a4249
cmp dword [rsp + 0x2c], 0
je 0x1401a4249
lea r15, [rsp + 0x28]
mov dword [r15], 0
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
mov rdx, r15
call qword [case.0x1403053b8.0]
mov ebx, eax
mov bpl, 1
mov eax, dword [r15]
or eax, ebx
jne 0x1401a4188
mov rax, qword [rsi + 0x128]
test rax, rax
jne 0x1401a3ffc
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401a44eb
lea rdx, [rsp + 0x30]
mov qword [rdx], 0
mov rax, qword [rax + 0x30]
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a426f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsi + 0xc8]
add rax, rcx
dec rax
cqo
idiv rcx
cmp eax, dword [rsi + 0xbc]
ja 0x1401a44e0
test r12, r12
jne 0x1401a413d
test eax, eax
je 0x1401a4654
test r12, r12
je 0x1401a45eb
lea rdx, [rsp + 0x30]
mov byte [rdx], 0
mov rcx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
xor r14d, r14d
mov r8d, 1
xor r9d, r9d
call qword [case.0x1403053b8.0]
mov ebx, eax
cmp eax, 0x20a
cmove ebx, r14d
test r12, r12
je 0x1401a4523
cmp byte [rsp + 0x30], 0
sete bpl
test ebx, ebx
jne 0x1401a4271
test bpl, bpl
je 0x1401a42a1
cmp byte [rsi + 0x10], 0
jne 0x1401a3e6c
cmp byte [rsi + 0x1c], 0
je 0x1401a4202
movdqa xmm0, xmmword [0x140470090]
lea rdx, [rsp + 0x30]
movdqa xmmword [rdx], xmm0
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov r9d, 0x18
mov r8d, 0x10
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a4253
movdqu xmm0, xmmword [rsi + 0x88]
pcmpeqb xmm0, xmmword [rsp + 0x30]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x1401a4473
cmp byte [rsi + 0x10], 0
jne 0x1401a3e6c
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x130]
mov rax, qword [rcx + 0x38]
xor r8d, r8d
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a457a
cmp dword [rsp + 0x30], 0
jne 0x1401a454c
xor edi, edi
cmp byte [rsi + 9], 5
jne 0x1401a3e6c
jmp 0x1401a44d7
test ebx, ebx
je 0x1401a4199
jmp 0x1401a4271
mov ebx, eax
cmp eax, 0x20a
jne 0x1401a3ef4
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x1401a41db
mov ebx, eax
mov rcx, rsi
call fcn.1401a0b60
jmp 0x1401a3f06
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov edx, 4
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a426f
jmp 0x1401a42bb
cmp eax, 5
je 0x1401a42b5
jmp 0x1401a42bf
mov ebx, 0x308
cmp byte [rsi + 0x12], 0
jne 0x1401a4271
movzx eax, byte [rsi + 0x16]
cmp eax, 4
jae 0x1401a429a
cmp byte [rsi + 0x11], 0
je 0x1401a427e
mov byte [rsi + 0x16], 4
mov r8, qword [rsi + 0x50]
mov rax, qword [r8]
test rax, rax
je 0x1401a4336
cmp byte [rsi + 0xb], 0
je 0x1401a4317
lea rdx, [rsi + 0x68]
mov rax, qword [rax + 0x30]
mov rcx, r8
call qword [case.0x1403053b8.0]
test eax, eax
je 0x1401a43f9
mov ebx, eax
cmp bl, 0xd
je 0x1401a42fd
movzx eax, bl
cmp eax, 0xa
jne 0x1401a4271
mov dword [rsi + 0x30], ebx
mov byte [rsi + 0x15], 6
lea rax, [0x1403f5b20]
mov qword [rsi + 0x110], rax
jmp 0x1401a4271
mov rax, qword [rax + 0x28]
mov rcx, r8
mov edx, 2
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a42ea
mov r8, qword [rsi + 0x50]
mov rax, qword [r8]
jmp 0x1401a42d1
xor ebx, ebx
cmp byte [rsi + 9], 2
je 0x1401a43b5
mov r14, qword [rsi]
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rdx, qword [rsi + 0xe0]
mov rax, qword [r14 + 0x38]
mov rcx, r14
xor r8d, r8d
call qword [case.0x1403053b8.0]
mov ebx, eax
mov r8, qword [rsi + 0x50]
test eax, eax
jne 0x1401a43a9
cmp dword [rsp + 0x30], 0
je 0x1401a43a9
lea rcx, [rsp + 0x2c]
mov dword [rcx], 0
mov rdx, qword [rsi + 0xe0]
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, r14
mov r9d, 0x802
call qword [case.0x1403053b8.0]
mov ebx, eax
test eax, eax
je 0x1401a4412
mov r8, qword [rsi + 0x50]
mov rax, qword [r8]
test rax, rax
jne 0x1401a42cb
cmp byte [rsi + 8], 0
jne 0x1401a43ec
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401a43e6
cmp byte [rsi + 0x11], 0
jne 0x1401a43dc
mov rax, qword [rax + 0x40]
mov edx, 1
call qword [case.0x1403053b8.0]
cmp byte [rsi + 0x16], 5
je 0x1401a43e6
mov byte [rsi + 0x16], 1
mov al, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
test ebx, ebx
jne 0x1401a42ec
jmp 0x1401a4199
xor edx, edx
cmp byte [rsi + 0x10], 0
sete dl
mov rcx, rsi
call fcn.1403f5c40
mov ebx, eax
mov byte [rsi + 0x15], 0
jmp 0x1401a43ec
xor ebx, ebx
test byte [rsp + 0x2c], 1
je 0x1401a43a5
lea rax, [0x1404dd361]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.cannot_open_file
mov ebx, reloc.WS2_32.dll_ntohl
mov ecx, reloc.WS2_32.dll_ntohl
mov r9d, 0xf3d4
call fcn.1401946f0
mov r14, qword [rsi + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x1401a43a5
mov rax, qword [rax + 8]
mov rcx, r14
call qword [case.0x1403053b8.0]
mov qword [r14], 0
jmp 0x1401a43a5
inc dword [rsi + 0x84]
mov rax, qword [rsi + 0x70]
jmp 0x1401a448a
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1401a447f
mov rcx, qword [rsi + 0x120]
xor edx, edx
call fcn.1401a1070
cmp byte [rsi + 0x1b], 0
je 0x1401a41f8
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
xor edx, edx
xor r8d, r8d
call qword [case.0x1403053b8.0]
jmp 0x1401a41f8
mov dword [rsi + 0xbc], eax
jmp 0x1401a3eef
xor eax, eax
jmp 0x1401a3eef
mov byte [rsi + 9], 0
jmp 0x1401a3e6c
mov dword [rsi + 0xbc], eax
jmp 0x1401a413d
xor eax, eax
jmp 0x1401a4130
mov ebx, eax
cmp eax, 5
jne 0x1401a3ef4
mov rax, qword [rsi + 0xe8]
mov rcx, qword [rsi + 0xf0]
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a4017
mov ebx, 5
jmp 0x1401a4271
mov r14, qword [rsi + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x1401a417f
mov rax, qword [rax + 8]
mov rcx, r14
call qword [case.0x1403053b8.0]
mov qword [r14], 0
jmp 0x1401a417f
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rsi
call fcn.1401a47c0
mov edi, eax
test eax, eax
jne 0x1401a3e6c
cmp dword [rsp + 0x2c], 0
je 0x1401a4581
mov rcx, rsi
xor edx, edx
call fcn.1403f7620
mov edi, eax
jmp 0x1401a3e6c
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1401a459f
mov rdx, qword [rsi + 0x130]
xor r8d, r8d
call qword [case.0x1403053b8.0]
jmp 0x1401a457a
xor edi, edi
jmp 0x1401a3e6c
cmp byte [r14 + 0x3f], 0
jne 0x1401a45d4
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
xor edx, edx
mov r8d, 1
mov r9d, 9
call qword [case.0x1403053b8.0]
and byte [r14 + 0x8d], 0xfe
xor eax, eax
mov byte [r14 + 0x40], al
mov dword [r14 + 0x7c], 0
mov byte [r14 + 0x43], al
jmp 0x1401a3f58
lea rcx, [rsp + 0x30]
mov dword [rcx], 0x801
mov r8, qword [rsi + 0x50]
mov rdx, qword [rsi + 0xe0]
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, r14
mov r9d, 0x801
call qword [case.0x1403053b8.0]
cmp eax, 0xe
je 0x1401a42a1
mov ebx, eax
test eax, eax
jne 0x1401a4188
jmp 0x1401a4146
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov edx, 2
call qword [case.0x1403053b8.0]
test eax, eax
jne 0x1401a46da
mov al, byte [rsi + 0x16]
jmp 0x1401a467f
mov rax, qword [0x140521938]
test rax, rax
je 0x1401a4666
call qword [case.0x1403053b8.0]
movzx eax, byte [rsi + 0x16]
cmp eax, 5
ja 0x1401a4687
mov ecx, 0x23
bt ecx, eax
jae 0x1401a4687
cmp byte [rsi + 0x11], 0
je 0x1401a4631
cmp al, 5
je 0x1401a4687
mov byte [rsi + 0x16], 2
mov rax, qword [r14 + 0x30]
test rax, rax
je 0x1401a46a3
mov rdx, qword [rsi + 0xe0]
mov rcx, r14
xor r8d, r8d
call qword [case.0x1403053b8.0]
cmp byte [rsi + 8], 0
jne 0x1401a46da
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401a46d4
cmp byte [rsi + 0x11], 0
jne 0x1401a46ca
mov rax, qword [rax + 0x40]
mov edx, 1
call qword [case.0x1403053b8.0]
cmp byte [rsi + 0x16], 5
je 0x1401a46d4
mov byte [rsi + 0x16], 1
mov al, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
mov rax, qword [0x140521940]
test rax, rax
je 0x1401a4199
call qword [case.0x1403053b8.0]
jmp 0x1401a4199
add edi, 3
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
mov edx, edi
mov r8d, 1
mov r9d, 5
call qword [case.0x1403053b8.0]
mov eax, 0xfffffffe
mov ecx, edi
rol eax, cl
and dword [r14 + 0x8c], eax
jmp 0x1401a3f6d
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
jmp 0x1401a3f9e
mov rdi, qword [rcx + 0x40]
cmp dword [rcx + 0x30], 0
je 0x1401a474b
call fcn.1403f4f30
mov rcx, rdi
test rdi, rdi
je 0x1401a3fc1
jmp 0x1401a473c
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
xor edx, edx
xor r8d, r8d
call qword [case.0x1403053b8.0]
jmp 0x1401a3e7e
mov rax, qword [0x14050f2e8]
mov rcx, qword [r14 + 0x48]
mov edx, 1
xor r8d, r8d
call qword [case.0x1403053b8.0]
test rax, rax
je 0x1401a3fd1
mov rcx, qword [rax]
movsxd r8, dword [r14 + 0x28]
xor edx, edx
call fcn.1402d26c0
mov edi, 2
jmp 0x1401a3fd1