Function at 0x100404770
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r8d, 0xd
mov edx, 1
xor edi, edi
lea r14, [0x100456e70]
lea r15, [0x10044119e]
lea r12, [0x10044103a]
mov r9, rcx
mov rsi, rcx
lea rcx, str._n_pools__:__
call sub.cygwin1.dll_fwrite
mov eax, dword [0x100456e70]
test eax, eax
jg 0x10040489f
jmp 0x100404950
call fcn.100401900
mov rcx, qword [rbx + 0x1c8]
mov r13d, dword [rbx + 0x38]
mov rbp, rax
test rcx, rcx
je 0x100404938
call fcn.100401900
cmp qword [rbx + 0x1c8], 0
mov r9, r12
mov rdx, rax
mov rax, r15
je 0x100404827
mov ecx, dword [rbx + 0x1c0]
mov qword [rsp + 0x48], rdx
call fcn.100420750
mov rcx, rax
call fcn.100401900
mov rdx, qword [rsp + 0x48]
mov r9, rax
mov rax, r15
mov qword [rsp + 0x20], rdx
test edi, edi
mov rcx, rsi
lea r8, [0x100441411]
mov qword [rsp + 0x38], rbp
cmove r8, r12
lea rdx, str._s_n_t_n_t_t_quota__:___s_s_s_d__s__
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
call sub.cygwin1.dll_fprintf
mov rcx, qword [rbx + 0x1b0]
add edi, 1
call fcn.100401900
lea rdx, str._n_t_t_user__:___s__
mov rcx, rsi
mov r8, rax
call sub.cygwin1.dll_fprintf
mov rcx, qword [rbx + 0x1b8]
call fcn.100401900
lea rdx, str._n_t_t_pass__:___s__n_t
mov rcx, rsi
mov r8, rax
call sub.cygwin1.dll_fprintf
cmp dword [r14], edi
jle 0x100404950
mov ecx, edi
call fcn.100401f20
cmp dword [rax + 0x38], 1
mov rcx, qword [rax + 0x1a0]
mov rbx, rax
jne 0x1004047d0
call fcn.100401900
mov rcx, qword [rbx + 0x1c8]
mov rbp, rax
test rcx, rcx
je 0x100404cd0
call fcn.100401900
cmp qword [rbx + 0x1c8], 0
mov r9, r12
mov r13, rax
mov rax, r15
je 0x100404903
mov ecx, dword [rbx + 0x1c0]
call fcn.100420750
mov rcx, rax
call fcn.100401900
mov r9, rax
mov rax, r15
test edi, edi
mov qword [rsp + 0x30], rbp
mov rcx, rsi
lea r8, [0x100441411]
mov qword [rsp + 0x28], rax
cmove r8, r12
lea rdx, str._s_n_t_n_t_t_url__:___s_s_s_s__
mov qword [rsp + 0x20], r13
call sub.cygwin1.dll_fprintf
jmp 0x100404857
mov rax, r12
mov rdx, r12
mov r9, r12
jmp 0x100404827
mov r9, rsi
mov r8d, 3
mov edx, 1
lea rcx, [0x100441421]
lea rbx, str.__api_allow
call sub.cygwin1.dll_fwrite
cmp dword [0x10043f188], 0x10
mov rdi, qword [0x10044cf50]
lea r13, [0x100454a90]
je 0x100404bbe
nop dword [rax]
mov rcx, qword [rbx]
lea rbp, [fcn.10043a940]
call sub.cygwin1.dll_strdup
lea rdx, [0x10044119e]
mov rcx, rax
mov r12, rax
call sub.cygwin1.dll_strtok
mov r14, rax
test rax, rax
jne 0x100404a12
jmp 0x100404ba8
and ecx, 6
je 0x1004049f8
mov rax, qword [rbx + 0x28]
cmp rax, r13
je 0x1004049f8
mov rcx, qword [rax]
test rcx, rcx
je 0x1004049f8
call fcn.100401900
lea r8, [r14 + 2]
lea rdx, str.__n__s__:___s_
mov rcx, rsi
mov r9, rax
call sub.cygwin1.dll_fprintf
nop dword [rax]
lea rdx, [0x10044119e]
xor ecx, ecx
call sub.cygwin1.dll_strtok
mov r14, rax
test rax, rax
je 0x100404ba8
cmp byte [r14 + 1], 0x2d
jne 0x1004049f8
cmp qword [rbx + 0x30], rdi
je 0x1004049f8
mov ecx, dword [rbx + 8]
test cl, 1
je 0x100404a50
mov rax, qword [rbx + 0x10]
lea rdx, [0x10043a6e0]
lea r8, [0x10043a700]
cmp rax, rdx
sete dl
cmp rax, r8
je 0x100404c50
test dl, dl
jne 0x100404c50
test cl, 2
je 0x1004049c0
mov rdx, qword [rbx + 0x18]
lea r8, [0x100403730]
cmp rdx, rbp
sete al
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403a30]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403a00]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x1004039a0]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x1004039d0]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403850]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403880]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x1004038e0]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403910]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403940]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403970]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403790]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x1004038b0]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x1004037c0]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x1004037f0]
cmp rdx, r8
sete r8b
or eax, r8d
lea r8, [0x100403760]
cmp rdx, r8
sete r8b
or al, r8b
jne 0x100404b85
lea rax, [0x100403820]
cmp rdx, rax
jne 0x100404c74
mov rax, qword [rbx + 0x28]
lea r8, [r14 + 2]
lea rdx, str.__n__s__:___d_
mov rcx, rsi
mov r9d, dword [rax]
call sub.cygwin1.dll_fprintf
jmp 0x1004049f8
mov rcx, r12
add rbx, 0x38
call fcn.10043bf30
cmp dword [rbx + 8], 0x10
jne 0x100404990
mov eax, dword [0x100453020]
cmp eax, 4
je 0x100404cde
cmp eax, 3
je 0x100404d07
cmp eax, 1
je 0x100404d30
cmp eax, 2
je 0x100404d59
mov r9, rsi
mov r8d, 3
mov edx, 1
lea rcx, [0x100441519]
call sub.cygwin1.dll_fwrite
mov rbx, qword [0x100453150]
mov qword [0x100453150], 0
test rbx, rbx
je 0x100404c3d
nop dword [rax]
mov r12, rbx
mov rbx, qword [rbx + 8]
mov rcx, qword [r12]
call fcn.10043bf30
mov rcx, r12
call fcn.10043bf30
test rbx, rbx
jne 0x100404c20
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rbx + 0x28]
cmp byte [rax], dl
jne 0x100404a50
lea r8, [r14 + 2]
lea rdx, str.__n__s__:_true
mov rcx, rsi
call sub.cygwin1.dll_fprintf
jmp 0x1004049f8
lea rax, [0x1004026b0]
cmp rdx, rax
lea rax, [0x100402710]
sete r8b
cmp rdx, rax
sete al
or r8b, al
jne 0x100404ca4
lea rax, [0x100402770]
cmp rdx, rax
jne 0x1004049c0
mov rax, qword [rbx + 0x28]
pxor xmm3, xmm3
lea r8, [r14 + 2]
mov rcx, rsi
lea rdx, str.__n__s__:___.1f_
cvtss2sd xmm3, dword [rax]
movq r9, xmm3
call sub.cygwin1.dll_fprintf
jmp 0x1004049f8
mov rax, r12
mov r13, r12
mov r9, r12
jmp 0x100404903
mov r9, rsi
mov r8d, 0x12
mov edx, 1
lea rcx, str.__n_balance__:_true
call sub.cygwin1.dll_fwrite
mov eax, dword [0x100453020]
cmp eax, 3
jne 0x100404bd6
mov r9, rsi
mov r8d, 0x17
mov edx, 1
lea rcx, str.__n_load_balance__:_true
call sub.cygwin1.dll_fwrite
mov eax, dword [0x100453020]
cmp eax, 1
jne 0x100404bdf
mov r9, rsi
mov r8d, 0x16
mov edx, 1
lea rcx, str.__n_round_robin__:_true
call sub.cygwin1.dll_fwrite
mov eax, dword [0x100453020]
cmp eax, 2
jne 0x100404be8
mov r8d, dword [0x100455550]
lea rdx, str.__n_rotate__:___d_
mov rcx, rsi
call sub.cygwin1.dll_fprintf
jmp 0x100404be8