Function at 0x4ea730
Capabilities:
Write file on windows

Disassembly:
push rbp
push r12
push rdi
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x30], rcx
mov r9, qword [rbp + 0x30]
mov r8d, 0xd
mov edx, 1
lea rcx, str._n_pools__:__
call sym.fwrite
mov dword [rbp - 0xc], 0
jmp 0x4ea98c
mov eax, dword [rbp - 0xc]
mov ecx, eax
call dbg.priority_pool
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x38]
cmp eax, 1
je 0x4ea86a
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xb8]
mov rcx, rax
call dbg.json_escape
mov rdi, rax
mov rax, qword [rbp - 0x30]
mov r12d, dword [rax + 0x38]
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
test rax, rax
je 0x4ea7bd
lea rsi, [0x004ff25e]
jmp 0x4ea7c4
lea rsi, [0x004fd994]
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
test rax, rax
je 0x4ea7ec
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
mov rcx, rax
call dbg.json_escape
mov rbx, rax
jmp 0x4ea7f3
lea rbx, [0x004fd994]
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
test rax, rax
je 0x4ea81e
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0xd8]
mov ecx, eax
call dbg.proxytype
mov rcx, rax
call dbg.json_escape
jmp 0x4ea825
lea rax, [0x004fd994]
cmp dword [rbp - 0xc], 0
jle 0x4ea834
lea rdx, [0x004fdec0]
jmp 0x4ea83b
lea rdx, [0x004fd994]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8, rdx
lea rdx, str._s_n_t_n_t_t_quota__:___s_s_s_d__s__
mov rcx, qword [rbp + 0x30]
call sym.fprintf
jmp 0x4ea93c
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xb8]
mov rcx, rax
call dbg.json_escape
mov rdi, rax
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
test rax, rax
je 0x4ea899
lea rsi, [0x004ff25e]
jmp 0x4ea8a0
lea rsi, [0x004fd994]
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
test rax, rax
je 0x4ea8c8
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
mov rcx, rax
call dbg.json_escape
mov rbx, rax
jmp 0x4ea8cf
lea rbx, [0x004fd994]
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xe0]
test rax, rax
je 0x4ea8fa
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0xd8]
mov ecx, eax
call dbg.proxytype
mov rcx, rax
call dbg.json_escape
jmp 0x4ea901
lea rax, [0x004fd994]
cmp dword [rbp - 0xc], 0
jle 0x4ea910
lea rdx, [0x004fdec0]
jmp 0x4ea917
lea rdx, [0x004fd994]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8, rdx
lea rdx, str._s_n_t_n_t_t_url__:___s_s_s_s__
mov rcx, qword [rbp + 0x30]
call sym.fprintf
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xc8]
mov rcx, rax
call dbg.json_escape
mov r8, rax
lea rdx, str._n_t_t_user__:___s__
mov rcx, qword [rbp + 0x30]
call sym.fprintf
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0xd0]
mov rcx, rax
call dbg.json_escape
mov r8, rax
lea rdx, str._n_t_t_pass__:___s__n_t
mov rcx, qword [rbp + 0x30]
call sym.fprintf
add dword [rbp - 0xc], 1
lea rax, [0x0052c1a4]
mov eax, dword [rax]
cmp dword [rbp - 0xc], eax
jl 0x4ea768
mov r9, qword [rbp + 0x30]
mov r8d, 3
mov edx, 1
lea rcx, [0x00500eeb]
call sym.fwrite
lea rax, str.__miner
mov qword [rbp - 8], rax
jmp 0x4eacf9
mov rax, qword [rbp - 8]
mov rax, qword [rax]
mov rcx, rax
call sym.strdup
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
lea rdx, [0x004ff25e]
mov rcx, rax
call sym.strtok
mov qword [rbp - 0x18], rax
jmp 0x4eacdd
mov rax, qword [rbp - 0x18]
add rax, 1
movzx eax, byte [rax]
cmp al, 0x2d
jne 0x4eacc1
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x30]
mov rax, qword [0x00514a70]
cmp rdx, rax
je 0x4eacc4
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x4eaaa3
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [dbg.opt_set_bool]
cmp rdx, rax
je 0x4eaa59
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [dbg.opt_set_invbool]
cmp rdx, rax
jne 0x4eaaa3
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
movzx eax, byte [rax]
movzx edx, al
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
mov rax, qword [dbg.opt_set_bool]
cmp rcx, rax
sete al
movzx eax, al
cmp edx, eax
jne 0x4eaaa3
mov rax, qword [rbp - 0x18]
add rax, 2
mov r8, rax
lea rdx, str.__n__s__:_true
mov rcx, qword [rbp + 0x30]
call sym.fprintf
jmp 0x4eacc8
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x4eabe6
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x18]
mov rax, qword [dbg.opt_set_intval]
cmp rdx, rax
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_0_to_9999]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_1_to_65535]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_0_to_10]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_1_to_10]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_0_to_100]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_0_to_255]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_0_to_200]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_0_to_4]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_32_to_63]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_22_to_55]
cmp rax, rdx
je 0x4eabb9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_int_42_to_65]
cmp rax, rdx
jne 0x4eabe6
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
mov edx, dword [rax]
mov rax, qword [rbp - 0x18]
add rax, 2
mov r9d, edx
mov r8, rax
lea rdx, str.__n__s__:___d_
mov rcx, qword [rbp + 0x30]
call sym.fprintf
jmp 0x4eacc8
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x4eac5d
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_float_125_to_500]
cmp rax, rdx
je 0x4eac1c
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
lea rdx, [dbg.set_float_100_to_250]
cmp rax, rdx
jne 0x4eac5d
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
movss xmm0, dword [rax]
cvtss2sd xmm0, xmm0
mov rax, qword [rbp - 0x18]
lea rdx, [rax + 2]
movq rax, xmm0
mov rcx, rax
movq xmm0, rcx
movapd xmm3, xmm0
mov r9, rax
mov r8, rdx
lea rdx, str.__n__s__:___.1f_
mov rcx, qword [rbp + 0x30]
call sym.fprintf
jmp 0x4eacc8
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
and eax, 6
test eax, eax
je 0x4eacc8
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
lea rdx, [0x00526f28]
cmp rax, rdx
je 0x4eacc8
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
mov rax, qword [rax]
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
je 0x4eacc7
mov rax, qword [rbp - 0x28]
mov rcx, rax
call dbg.json_escape
mov rdx, qword [rbp - 0x18]
add rdx, 2
mov r9, rax
mov r8, rdx
lea rdx, str.__n__s__:___s_
mov rcx, qword [rbp + 0x30]
call sym.fprintf
jmp 0x4eacc7
nop
jmp 0x4eacc8
nop
jmp 0x4eacc8
nop
lea rdx, [0x004ff25e]
mov ecx, 0
call sym.strtok
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x4ea9f8
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.free
add qword [rbp - 8], 0x38
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
cmp eax, 0x10
jne 0x4ea9c9
mov eax, dword [0x00526db0]
cmp eax, 4
jne 0x4ead2f
mov r9, qword [rbp + 0x30]
mov r8d, 0x12
mov edx, 1
lea rcx, str.__n_balance__:_true
call sym.fwrite
mov eax, dword [0x00526db0]
cmp eax, 3
jne 0x4ead55
mov r9, qword [rbp + 0x30]
mov r8d, 0x17
mov edx, 1
lea rcx, str.__n_load_balance__:_true
call sym.fwrite
mov eax, dword [0x00526db0]
cmp eax, 1
jne 0x4ead7b
mov r9, qword [rbp + 0x30]
mov r8d, 0x16
mov edx, 1
lea rcx, str.__n_round_robin__:_true
call sym.fwrite
mov eax, dword [0x00526db0]
cmp eax, 2
jne 0x4eada2
lea rax, [0x0052bf50]
mov eax, dword [rax]
mov r8d, eax
lea rdx, str.__n_rotate__:___d_
mov rcx, qword [rbp + 0x30]
call sym.fprintf
mov r9, qword [rbp + 0x30]
mov r8d, 3
mov edx, 1
lea rcx, [0x00500f7d]
call sym.fwrite
call dbg.json_escape_free
nop
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret