Function at 0x10003450
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 0x100037ae
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 0x1000355b
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 0x10003591
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x1000358d
cmp ecx, edx
je 0x10003591
dec ecx
cmp byte [ecx], 0x2e
jne 0x10003583
sub ecx, edx
jmp 0x10003594
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 0x10003609
mov eax, esi
mov edx, esi
and eax, 0x7f
and edx, 7
mov ecx, 8
sub ecx, edx
mov bl, byte [eax + 0x10065600]
xor bl, byte [edi + esi]
mov al, bl
shl al, cl
mov cl, dl
shr bl, cl
add 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 0x100035d5
mov ecx, dword [ebp - 0x30]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 4
jb 0x10003870
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 0x1000368a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003875
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 0x10003761
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003757
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000387a
push edx
push ecx
call fcn.1002f0b0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100037ae
mov edx, dword [ebp - 0x5c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000378f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000387a
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 0x10003854
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000384a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000387a
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