Function at 0x4596b9
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push 0x39c
mov eax, 0x7accab
call fcn.005b93f9
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x3a4], 0
push ecx
lea ecx, [ebx + 0x2d0]
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x3a8], esi
call fcn.00462aee
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
cmovae eax, dword [ebp - 0x230]
push eax
push str.Use_deault_cfg__ip:___s_
push 4
call fcn.004691b9
push eax
call fcn.00468a01
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.007351d0
add esp, 0x1c
lea eax, [ebp - 0x218]
xor edi, edi
push 0x208
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x3a0]
mov eax, dword [ecx + 0x1ac]
mov dword [ebp - 0x3a0], eax
test eax, eax
je 0x459840
and dword [ebp - 0x39c], edi
mov esi, dword [ecx + 0x1a8]
push eax
call fcn.004885e5
push dword [ebp - 0x3a0]
mov edi, eax
push 0
push edi
call fcn.007351d0
push 0x7c9138
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.0073d470
push 2
push 0
push dword [ebp - 0x39c]
call fcn.0073db20
push dword [ebp - 0x39c]
call fcn.0073e119
sub eax, dword [ebp - 0x3a0]
sub eax, esi
push 0
push eax
push dword [ebp - 0x39c]
call fcn.0073db20
push dword [ebp - 0x39c]
mov esi, dword [ebp - 0x3a0]
push esi
push 1
push edi
call fcn.0073d79b
add esp, 0x48
push dword [ebp - 0x39c]
call fcn.0073d54f
xor eax, eax
pop ecx
test esi, esi
je 0x459802
xor byte [eax + edi], 0x18
inc eax
cmp eax, esi
jb 0x4597f9
push 0x10
lea eax, [ebp - 0x394]
push str.LHlmbUBXQ2LjHOc8
push eax
call fcn.00478cc0
push esi
push edi
lea eax, [ebp - 0x394]
push edi
push eax
call fcn.00478c41
mov esi, dword [ebp - 0x3a8]
lea ecx, [ebx + 0x2d0]
add esp, 0x1c
push esi
push edi
call fcn.00462fb1
mov dword [ebp - 0x3a4], eax
and dword [ebx + 0x90], 0
cmp dword [ebp - 0x220], 0xf
ja 0x459870
cmp dword [ebp - 0x220], 0
je 0x459870
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
jmp 0x459875
push str.0.0.0.0
lea eax, [ebx + 0x80]
push 0x10
push eax
call fcn.004612d8
add esp, 0xc
cmp dword [ebp - 0x3a4], 0
je 0x459971
test edi, edi
je 0x4598af
push edi
push str.Get_default_cfg_success___s_
push 4
call fcn.004691b9
push eax
call fcn.00468a01
add esp, 0x10
jmp 0x4598c4
push str.Get_default_cfg_failed__data_is_null.
push 4
call fcn.004691b9
push eax
call fcn.00468a01
add esp, 0xc
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
push 0x60
cdq
pop edi
idiv edi
mov byte [ebp - 0x395], 0
test eax, eax
je 0x459945
xor ecx, ecx
imul eax, ecx, 0x60
lea ecx, [ebp - 0x290]
add eax, dword [esi + 0x54]
push eax
call fcn.004560d9
mov eax, dword [ebp - 0x248]
cmp eax, dword [ebp - 0x244]
mov byte [ebp - 4], 1
sete al
test al, al
jne 0x459918
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebx + 0xd4]
call fcn.0045fd89
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0
call fcn.00457546
mov al, byte [ebp - 0x395]
inc al
movzx ecx, al
mov byte [ebp - 0x395], al
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
cdq
idiv edi
cmp ecx, eax
jb 0x4598dd
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x9c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0xd4]
cmp eax, dword [ebx + 0xd8]
je 0x459986
mov dword [ebp - 0x3a4], 1
jmp 0x459986
push str.Get_default_cfg_failed__all_is_null.
push 4
call fcn.004691b9
push eax
call fcn.00468a01
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0045beb4
mov eax, dword [ebp - 0x3a4]
call fcn.005b93a3
ret 8