Function at 0x1401aa800
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 0x128]
test r14, r14
jne 0x1401aa915
xor edi, edi
cmp byte [rsi + 0x15], 0
je 0x1401aa9e7
mov r14, qword [rsi + 0x128]
mov ebx, edi
test r14, r14
jne 0x1401aa915
cmp byte [rsi + 0x10], 0
jne 0x1401aa8c4
cmp byte [rsi + 0x15], 0
jne 0x1401aa8c4
test ebx, ebx
jne 0x1401aa8c4
mov rax, qword [rsi + 0x128]
test rax, rax
jne 0x1401aa8fe
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401aacab
lea rdx, [rsp + 0x30]
mov qword [rdx], 0
mov rax, qword [rax + 0x30]
call qword [0x140505c38]
test eax, eax
jne 0x1401aac3f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsi + 0xc8]
add rax, rcx
dec rax
cqo
idiv rcx
cmp eax, dword [rsi + 0xbc]
ja 0x1401aaca0
mov dword [rsi + 0x20], eax
jmp 0x1401aa8cc
test ebx, ebx
jne 0x1401aac41
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 [0x140516040]
je 0x1401aa8ed
call fcn.14029bbb0
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 0x1401aa86e
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1401aa8b3
jmp 0x1401aa86e
mov dword [rsp + 0x30], 0
cmp byte [r14 + 0x40], 0
jne 0x1401aad81
movzx edi, word [r14 + 0x3c]
test di, di
js 0x1401aa944
cmp byte [r14 + 0x3f], 0
je 0x1401ab0d5
mov word [r14 + 0x3c], 0xffff
mov rcx, qword [rsi + 0x128]
lea rdi, [rsp + 0x30]
mov rdx, rdi
call fcn.1401ab1a0
mov ebx, eax
mov eax, dword [rdi]
or eax, ebx
je 0x1401aa84e
inc dword [rsi + 0x84]
mov rax, qword [rsi + 0x70]
test rax, rax
jne 0x1401ab10c
mov r14, qword [rsi + 0x120]
cmp qword [r14 + 0x48], 0
je 0x1401aa9b4
mov rcx, qword [r14]
test rcx, rcx
jne 0x1401ab11c
mov edi, 1
cmp qword [r14 + 0x18], 0
jne 0x1401ab157
mov rax, qword [0x140527b90]
mov rcx, qword [r14 + 0x48]
mov edx, edi
call qword [0x140505c38]
cmp byte [rsi + 0x1b], 0
je 0x1401aa84e
jmp 0x1401ab139
cmp al, 1
jbe 0x1401aaa27
jmp 0x1401aaeff
cmp word [rax + 0x3c], 0
js 0x1401aaaae
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1401aaaf3
jmp 0x1401aaaae
movzx eax, byte [rsi + 0x16]
cmp eax, 5
je 0x1401aa9f4
test eax, eax
jne 0x1401aa9c3
cmp byte [rsi + 0x11], 0
jne 0x1401aaa1b
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov edx, 1
call qword [0x140505c38]
test eax, eax
jne 0x1401aaccd
mov al, byte [rsi + 0x16]
cmp al, 5
je 0x1401aaeff
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 0x1401aaa6f
mov rdx, qword [rsi + 0xe0]
mov rax, qword [r14 + 0x38]
lea r9, [rsp + 0x2c]
mov rcx, r14
xor r8d, r8d
call qword [0x140505c38]
mov ebx, eax
test eax, eax
jne 0x1401aac19
cmp dword [rsp + 0x2c], 0
je 0x1401aac19
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 [0x140505c38]
mov ebx, eax
xor ebp, ebp
mov eax, dword [r15]
or eax, ebx
jne 0x1401aab59
mov rax, qword [rsi + 0x128]
test rax, rax
jne 0x1401aa9cc
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401aacc6
lea rdx, [rsp + 0x30]
mov qword [rdx], 0
mov rax, qword [rax + 0x30]
call qword [0x140505c38]
test eax, eax
jne 0x1401aac3f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsi + 0xc8]
add rax, rcx
dec rax
cqo
idiv rcx
cmp eax, dword [rsi + 0xbc]
ja 0x1401aacbb
test r12, r12
jne 0x1401aab0c
test eax, eax
je 0x1401aae35
test r12, r12
je 0x1401aadc6
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 [0x140505c38]
mov ebx, eax
cmp eax, 0x20a
cmove ebx, r14d
test r12, r12
je 0x1401aacfe
xor ebp, ebp
cmp byte [rsp + 0x30], 0
setne bpl
test ebx, ebx
jne 0x1401aac41
test ebp, ebp
jne 0x1401aaeff
cmp byte [rsi + 0x10], 0
jne 0x1401aa83c
cmp byte [rsi + 0x1c], 0
je 0x1401aabd2
movdqa xmm0, xmmword [0x140484a40]
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 [0x140505c38]
test eax, eax
jne 0x1401aac23
movdqu xmm0, xmmword [rsi + 0x88]
pcmpeqb xmm0, xmmword [rsp + 0x30]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x1401aac4e
cmp byte [rsi + 0x10], 0
jne 0x1401aa83c
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 [0x140505c38]
test eax, eax
jne 0x1401aad55
cmp dword [rsp + 0x30], 0
jne 0x1401aad27
xor edi, edi
cmp byte [rsi + 9], 5
jne 0x1401aa83c
jmp 0x1401aacb2
test ebx, ebx
je 0x1401aab69
jmp 0x1401aac41
mov ebx, eax
cmp eax, 0x20a
jne 0x1401aa8c4
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x1401aabab
mov ebx, eax
mov rcx, rsi
call fcn.1401a7610
jmp 0x1401aa8d6
inc dword [rsi + 0x84]
mov rax, qword [rsi + 0x70]
jmp 0x1401aac65
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1401aac5a
mov rcx, qword [rsi + 0x120]
xor edx, edx
call fcn.1401a7b20
cmp byte [rsi + 0x1b], 0
je 0x1401aabc8
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
xor edx, edx
xor r8d, r8d
call qword [0x140505c38]
jmp 0x1401aabc8
mov dword [rsi + 0xbc], eax
jmp 0x1401aa8bf
xor eax, eax
jmp 0x1401aa8bf
mov byte [rsi + 9], 0
jmp 0x1401aa83c
mov dword [rsi + 0xbc], eax
jmp 0x1401aab0c
xor eax, eax
jmp 0x1401aaaff
mov ebx, eax
cmp eax, 5
jne 0x1401aa8c4
mov rax, qword [rsi + 0xe8]
mov rcx, qword [rsi + 0xf0]
call qword [0x140505c38]
test eax, eax
jne 0x1401aa9e7
mov ebx, 5
jmp 0x1401aac41
mov r14, qword [rsi + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x1401aab4e
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x140505c38]
mov qword [r14], 0
jmp 0x1401aab4e
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rsi
call fcn.14040c400
mov edi, eax
test eax, eax
jne 0x1401aa83c
cmp dword [rsp + 0x2c], 0
je 0x1401aad5c
mov rcx, rsi
xor edx, edx
call fcn.14040c370
mov edi, eax
jmp 0x1401aa83c
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1401aad7a
mov rdx, qword [rsi + 0x130]
xor r8d, r8d
call qword [0x140505c38]
jmp 0x1401aad55
xor edi, edi
jmp 0x1401aa83c
cmp byte [r14 + 0x3f], 0
jne 0x1401aadaf
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 [0x140505c38]
and byte [r14 + 0x8d], 0xfe
xor eax, eax
mov byte [r14 + 0x40], al
mov dword [r14 + 0x7c], 0
mov byte [r14 + 0x43], al
jmp 0x1401aa928
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 [0x140505c38]
cmp eax, 0xe
je 0x1401aae08
mov ebx, eax
test eax, eax
je 0x1401aab15
jmp 0x1401aab59
mov ebp, 1
jmp 0x1401aab61
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov edx, 2
call qword [0x140505c38]
test eax, eax
jne 0x1401aaebb
mov al, byte [rsi + 0x16]
jmp 0x1401aae60
mov rax, qword [0x140536988]
test rax, rax
je 0x1401aae47
call qword [0x140505c38]
movzx eax, byte [rsi + 0x16]
cmp eax, 5
ja 0x1401aae68
mov ecx, 0x23
bt ecx, eax
jae 0x1401aae68
cmp byte [rsi + 0x11], 0
je 0x1401aae12
cmp al, 5
je 0x1401aae68
mov byte [rsi + 0x16], 2
mov rax, qword [r14 + 0x30]
test rax, rax
je 0x1401aae84
mov rdx, qword [rsi + 0xe0]
mov rcx, r14
xor r8d, r8d
call qword [0x140505c38]
cmp byte [rsi + 8], 0
jne 0x1401aaebb
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401aaeb5
cmp byte [rsi + 0x11], 0
jne 0x1401aaeab
mov rax, qword [rax + 0x40]
mov edx, 1
call qword [0x140505c38]
cmp byte [rsi + 0x16], 5
je 0x1401aaeb5
mov byte [rsi + 0x16], 1
mov al, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
mov rax, qword [0x140536990]
xor ebp, ebp
test rax, rax
je 0x1401aab61
call qword [0x140505c38]
jmp 0x1401aab61
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov edx, 4
call qword [0x140505c38]
test eax, eax
jne 0x1401aac3f
jmp 0x1401aaf1d
cmp eax, 5
je 0x1401aaf17
jmp 0x1401aaf21
mov ebx, 0x308
cmp byte [rsi + 0x12], 0
jne 0x1401aac41
movzx eax, byte [rsi + 0x16]
cmp eax, 4
jae 0x1401aaef8
cmp byte [rsi + 0x11], 0
je 0x1401aaed8
mov byte [rsi + 0x16], 4
mov r8, qword [rsi + 0x50]
mov rax, qword [r8]
test rax, rax
je 0x1401aaf98
cmp byte [rsi + 0xb], 0
je 0x1401aaf79
lea rdx, [rsi + 0x68]
mov rax, qword [rax + 0x30]
mov rcx, r8
call qword [0x140505c38]
test eax, eax
je 0x1401ab05b
mov ebx, eax
cmp bl, 0xd
je 0x1401aaf5f
movzx eax, bl
cmp eax, 0xa
jne 0x1401aac41
mov dword [rsi + 0x30], ebx
mov byte [rsi + 0x15], 6
lea rax, [0x14040a7f0]
mov qword [rsi + 0x110], rax
jmp 0x1401aac41
mov rax, qword [rax + 0x28]
mov rcx, r8
mov edx, 2
call qword [0x140505c38]
test eax, eax
jne 0x1401aaf4c
mov r8, qword [rsi + 0x50]
mov rax, qword [r8]
jmp 0x1401aaf33
xor ebx, ebx
cmp byte [rsi + 9], 2
je 0x1401ab017
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 [0x140505c38]
mov ebx, eax
mov r8, qword [rsi + 0x50]
test eax, eax
jne 0x1401ab00b
cmp dword [rsp + 0x30], 0
je 0x1401ab00b
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 [0x140505c38]
mov ebx, eax
test eax, eax
je 0x1401ab074
mov r8, qword [rsi + 0x50]
mov rax, qword [r8]
test rax, rax
jne 0x1401aaf2d
cmp byte [rsi + 8], 0
jne 0x1401ab04e
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1401ab048
cmp byte [rsi + 0x11], 0
jne 0x1401ab03e
mov rax, qword [rax + 0x40]
mov edx, 1
call qword [0x140505c38]
cmp byte [rsi + 0x16], 5
je 0x1401ab048
mov byte [rsi + 0x16], 1
mov al, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
test ebx, ebx
jne 0x1401aaf4e
jmp 0x1401aab69
xor edx, edx
cmp byte [rsi + 0x10], 0
sete dl
mov rcx, rsi
call fcn.14040a910
mov ebx, eax
mov byte [rsi + 0x15], 0
jmp 0x1401ab04e
xor ebx, ebx
test byte [rsp + 0x2c], 1
je 0x1401ab007
lea rax, [0x1404f37d1]
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, 0xf3c7
call fcn.14019af90
mov r14, qword [rsi + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x1401ab007
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x140505c38]
mov qword [r14], 0
jmp 0x1401ab007
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 [0x140505c38]
mov eax, 0xfffffffe
mov ecx, edi
rol eax, cl
and dword [r14 + 0x8c], eax
jmp 0x1401aa93d
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
jmp 0x1401aa96e
mov rdi, qword [rcx + 0x40]
cmp dword [rcx + 0x30], 0
je 0x1401ab12b
call fcn.140409c10
mov rcx, rdi
test rdi, rdi
je 0x1401aa991
jmp 0x1401ab11c
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
xor edx, edx
xor r8d, r8d
call qword [0x140505c38]
jmp 0x1401aa84e
mov rax, qword [0x140527b78]
mov rcx, qword [r14 + 0x48]
mov edx, 1
xor r8d, r8d
call qword [0x140505c38]
test rax, rax
je 0x1401aa9a1
mov rcx, qword [rax]
movsxd r8, dword [r14 + 0x28]
xor edx, edx
call fcn.1402d9b60
mov edi, 2
jmp 0x1401aa9a1