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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov rbx, rcx
cmp byte [rcx + 0x13], dil
je 0x14004350f
mov eax, dword [rcx + 0x2c]
test eax, eax
jne 0x140043885
mov qword [rsp + 0x78], rsi
cmp qword [rcx + 0x138], rdi
jne 0x1400437e8
cmp byte [rcx + 0x14], dil
jne 0x1400437e8
mov esi, 1
mov dword [rsp + 0x30], esi
movzx eax, byte [rbx + 0x15]
xor edi, edi
cmp al, sil
jb 0x140043543
cmp al, 5
jne 0x14004357b
cmp byte [rbx + 0x11], dil
jne 0x14004355b
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x140043565
cmp byte [rbx + 0x15], 5
je 0x140043565
mov byte [rbx + 0x15], sil
cmp edi, 5
jne 0x14004357b
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x140043534
test edi, edi
jne 0x1400436e5
cmp byte [rbx + 0x15], sil
ja 0x14004359c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400432d0
mov esi, dword [rsp + 0x30]
mov edi, eax
test edi, edi
jne 0x1400436e5
test esi, esi
je 0x1400436f2
cmp byte [rbx + 0x12], dil
je 0x1400435c4
mov rcx, rbx
mov edi, 0x308
call fcn.1400409c0
jmp 0x14004387e
movzx eax, byte [rbx + 0x15]
xor edi, edi
cmp al, 4
jb 0x1400435d2
cmp al, 5
jne 0x1400435f1
cmp byte [rbx + 0x11], dil
jne 0x1400435ed
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x1400435f1
mov byte [rbx + 0x15], 4
test edi, edi
jne 0x1400436e5
mov rax, qword [rbx + 0x50]
cmp qword [rax], 0
jne 0x140043686
mov rsi, qword [rbx]
lea r9, [rsp + 0x38]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + gethostname]
mov edi, eax
test eax, eax
jne 0x140043686
cmp dword [rsp + 0x38], eax
je 0x140043686
mov r8, qword [rbx + 0x50]
mov r9d, 0x802
mov rdx, qword [rbx + 0xd8]
mov rcx, rsi
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [rsi + Ordinal_41]
mov edi, eax
test eax, eax
jne 0x140043686
test byte [rsp + 0x30], 1
je 0x140043686
mov edi, select
lea r9, [0x14029d18c]
mov ecx, edi
lea rdx, str.cannot_open_file_at_line__d_of___.10s_
mov r8d, 0xbbc6
call fcn.140038190
mov rcx, qword [rbx + 0x50]
call fcn.140034f90
mov rax, qword [rbx + 0x50]
cmp qword [rax], 0
je 0x1400436b1
mov rcx, rbx
call fcn.1400423f0
mov edi, eax
test eax, eax
jne 0x1400436c8
lea edx, [rax + 1]
mov rcx, rbx
call fcn.140041600
mov edi, eax
mov byte [rbx + 0x14], 0
jmp 0x1400436c4
cmp byte [rbx + 8], 0
jne 0x1400436c4
mov edx, 1
mov rcx, rbx
call fcn.140040030
test edi, edi
je 0x1400436f2
movzx eax, dil
cmp eax, 0xd
je 0x1400436d6
cmp eax, 0xa
jne 0x1400436dd
mov dword [rbx + 0x2c], edi
mov byte [rbx + 0x14], 6
test edi, edi
je 0x140043876
mov rcx, rbx
call fcn.1400409c0
jmp 0x14004387e
cmp byte [rbx + 0x10], 0
jne 0x1400437de
cmp byte [rbx + 0x1b], 0
je 0x1400437de
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x140043720
cmp word [rax + 0x3c], 0
jl 0x140043720
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x140043758
mov rcx, qword [rbx + 0x48]
xor eax, eax
mov qword [rsp + 0x38], rax
cmp qword [rcx], rax
je 0x140043746
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + Ordinal_50]
mov edi, eax
test eax, eax
jne 0x1400436e5
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x140043766
mov dword [rbx + 0xc0], eax
test eax, eax
je 0x140043796
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x40]
mov r9d, Ordinal_27
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + reloc.WS2_32.dll_recv]
mov edi, eax
test eax, eax
je 0x1400437a2
cmp eax, 0x20a
jne 0x1400436dd
jmp 0x1400437a2
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x88]
cmp rax, qword [rsp + 0x40]
jne 0x1400437be
mov rax, qword [rbx + 0x90]
cmp rax, qword [rsp + 0x48]
je 0x1400437de
mov rcx, rbx
call fcn.1400407d0
cmp byte [rbx + 0x1a], 0
je 0x1400437de
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, rbx
call fcn.140041de0
mov edi, eax
cmp qword [rbx + 0x138], 0
je 0x1400437fc
mov rcx, rbx
call fcn.140041d20
mov edi, eax
cmp byte [rbx + 0x14], 0
jne 0x1400436dd
test edi, edi
jne 0x1400436e5
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x140043827
cmp word [rax + 0x3c], di
jl 0x140043827
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x140043863
mov rcx, qword [rbx + 0x48]
xor eax, eax
mov qword [rsp + 0x38], rax
cmp qword [rcx], rax
je 0x140043851
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + Ordinal_50]
mov edi, eax
test eax, eax
jne 0x1400436dd
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x140043871
mov dword [rbx + 0xc0], eax
mov dword [rbx + 0x1c], eax
xor edi, edi
mov byte [rbx + 0x14], 1
mov byte [rbx + 0x1b], 1
mov rsi, qword [rsp + 0x78]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140215090
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret