Function at 0x100039a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100556bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x1006e064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xd
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.._Servers.dat
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100024f0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x130]
push eax
call fcn.10004f20
mov byte [ebp - 4], 1
cmp dword [ebp - 0xd4], 0
je 0x10003cfe
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x68], 0
push dword [ebp - 0x68]
mov word [ebp - 0x6c], 1
mov eax, dword [eax + 4]
push dword [ebp - 0x6c]
mov byte [ebp - 0x73], 0
push 0
mov eax, dword [ebp + eax - 0xf8]
test eax, eax
mov dword [ebp - 0x64], 0
sete byte [ebp - 0x74]
mov dword [ebp - 0x60], 0
push dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0
push eax
call fcn.10006880
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.10005a50
test eax, eax
jne 0x10003aab
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10003310
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x18]
cmovae edx, ebx
test esi, esi
je 0x10003ae1
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x10003add
cmp ecx, edx
je 0x10003ae1
dec ecx
cmp byte [ecx], 0x2e
jne 0x10003ad3
sub ecx, edx
jmp 0x10003ae4
or ecx, 0xffffffff
cmp esi, ecx
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovb ecx, esi
mov dword [ebp - 0x2c], 0xf
cmp edi, 0x10
mov byte [ebp - 0x40], 0
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x40]
push eax
call fcn.100024f0
mov byte [ebp - 4], 3
xor esi, esi
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
sub eax, edi
je 0x10003b59
mov al, byte [edi + esi]
mov edx, esi
mov bl, al
and edx, 7
mov cl, 8
sub cl, dl
shr bl, cl
mov ecx, edx
shl al, cl
add bl, al
mov eax, esi
and eax, 0x7f
movzx eax, byte [eax + 0x10065600]
xor al, bl
mov byte [edi + esi], al
inc esi
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
sub eax, edi
cmp esi, eax
jb 0x10003b25
mov ecx, dword [ebp - 0x30]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 4
jb 0x10003dc0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push str..dat
push ecx
push eax
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x58]
call fcn.10006790
sub esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.10003dd0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10003bda
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003bd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dc5
push edx
push ecx
call fcn.1002f0b0
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
sub ecx, eax
push 0
push ecx
push eax
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10003f10
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1e4], eax
lea ecx, [ebp - 0x1dc]
call fcn.10004bb0
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1e4], eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001776d
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10003cb1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003ca7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dca
push edx
push ecx
call fcn.1002f0b0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10003cfe
mov edx, dword [ebp - 0x5c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10003cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dca
push edx
push ecx
call fcn.1002f0b0
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x134], eax
lea ecx, [ebp - 0x120]
call fcn.10004bb0
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x134], eax
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0xc0], vtable.std::ios_base.0
call fcn.1001776d
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x10003da4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003d9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dca
push edx
push ecx
call fcn.1002f0b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret
call fcn.100024a0
call fcn.10037cd8
call fcn.10037cd8
int3