Function at 0x1001acd0
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0xcc
push 0xffffffffffffffff
push 0x10065f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1008c880]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push 0x1006c26c
push str..DataLocalServerListDisplay.bmd
call fcn.1004d39f
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001ad3e
push 0x10
push 0x1006c294
push str.ServerListDisplay.bmd_file_not_found
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 2
push 0
push edi
call fcn.1004d9b3
push edi
call fcn.1004e012
push edi
mov esi, eax
call fcn.1004e1d8
push esi
call fcn.100463f9
push edi
push esi
mov ebx, eax
push 1
push ebx
call fcn.1004d58f
push edi
call fcn.1004d2b8
add esp, 0x2c
xor ecx, ecx
test esi, esi
jle 0x1001ad93
nop word [eax + eax]
mov eax, ecx
and eax, 0x1f
mov al, byte [eax + 0x1008c71c]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x1001ad80
lea ecx, [ebp]
call fcn.10040d30
push 0
push 0x74
push esi
push ebx
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp]
call fcn.100418e0
cmp dword [ebp - 0x74], 0
je 0x1001add6
push 0x10
push str.Error
push str.ServerListDisplay.bmd_file_corrupted
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
call fcn.1001aca0
push str.ServerListDisplay
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp]
call fcn.100412b0
push 1
push str.Enable
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10041240
mov ecx, eax
call fcn.10041170
mov byte [ebx + 4], al
lea ecx, [ebp - 0x24]
push str.Server
lea eax, [ebp - 0x10]
push eax
call fcn.100412b0
lea ecx, [ebp - 0x10]
call fcn.10040e50
test eax, eax
je 0x1001b174
nop
push 0x30
call fcn.10046070
mov edi, eax
mov dword [ebp - 0x1c], eax
add esp, 4
test edi, edi
je 0x1001ae5a
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
jmp 0x1001ae5f
xor edi, edi
mov dword [ebp - 0x1c], edi
push 0
push str.Code
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], edi
push eax
lea ecx, [ebp - 0x10]
call fcn.10041240
mov ecx, eax
call fcn.100411f0
push 0
mov dword [edi], eax
lea ecx, [ebp - 0x10]
push str.Type
lea eax, [ebp - 0x3c]
push eax
call fcn.10041240
mov ecx, eax
call fcn.100411f0
push 0
mov byte [edi + 4], al
lea ecx, [ebp - 0x10]
push str.DisplayCode
lea eax, [ebp - 0x40]
push eax
call fcn.10041240
mov ecx, eax
call fcn.10041170
push 0
mov byte [edi + 5], al
lea ecx, [ebp - 0x10]
push str.DisplayGroupName
lea eax, [ebp - 0x44]
push eax
call fcn.10041240
mov ecx, eax
call fcn.10041170
push 0
mov byte [edi + 6], al
lea ecx, [ebp - 0x10]
push str.DisplayStatusText
lea eax, [ebp - 0x48]
push eax
call fcn.10041240
mov ecx, eax
call fcn.10041170
push 0x1006c269
mov byte [edi + 7], al
lea ecx, [ebp - 0x10]
push str.Text
lea eax, [ebp - 0x4c]
push eax
call fcn.10041240
mov ecx, eax
call fcn.10041220
mov edx, eax
lea ebx, [edi + 8]
mov esi, edx
mov dword [ebp - 0x30], edx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001af20
sub esi, ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], ecx
cmp esi, ecx
ja 0x1001af5c
mov dword [ebp - 0x1c], ebx
mov eax, ebx
cmp ecx, 0x10
jb 0x1001af42
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
push esi
push edx
push eax
mov dword [ebx + 0x10], esi
call fcn.10048a90
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x1001b032
cmp esi, 0x7fffffff
ja 0x1001b19f
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1001af8a
mov eax, connect
mov edi, closesocket
push eax
call fcn.100017f0
add esp, 4
jmp 0x1001afdc
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1001afae
mov eax, connect
mov edi, closesocket
push eax
call fcn.100017f0
add esp, 4
jmp 0x1001afdc
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1001afcb
push eax
call fcn.100017f0
add esp, 4
jmp 0x1001afdc
test eax, eax
je 0x1001afda
push eax
call fcn.10046070
add esp, 4
jmp 0x1001afdc
xor eax, eax
push esi
push dword [ebp - 0x30]
mov dword [ebx + 0x14], edi
mov edi, eax
push edi
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x10], esi
call fcn.10048a90
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [edi + esi], 0
cmp eax, 0x10
jb 0x1001b02d
lea ecx, [eax + 1]
mov eax, dword [ebx]
cmp ecx, 0x1000
jb 0x1001b023
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b1a4
mov eax, edx
push ecx
push eax
call fcn.100460a0
add esp, 8
mov dword [ebx], edi
mov edi, dword [ebp - 0x1c]
push str.Color
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.100412b0
lea ecx, [ebp - 0x14]
call fcn.10040e50
test eax, eax
je 0x1001b12c
push 0
push str.State
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041240
mov ecx, eax
call fcn.100411f0
mov byte [ebp - 0x16], al
cmp al, 2
ja 0x1001b10b
push 0
push str.RGBA
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041240
mov ecx, eax
call fcn.100411f0
push 0
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x14]
push 0x1006c378
lea eax, [ebp - 0x58]
push eax
call fcn.10041240
mov ecx, eax
call fcn.100411f0
push 0
mov bh, al
lea ecx, [ebp - 0x14]
push 0x1006c37c
lea eax, [ebp - 0x5c]
push eax
call fcn.10041240
mov ecx, eax
call fcn.100411f0
push 0
mov bl, al
lea ecx, [ebp - 0x14]
push 0x1006c380
lea eax, [ebp - 0x60]
push eax
call fcn.10041240
mov ecx, eax
call fcn.100411f0
movzx ecx, al
shl ecx, 8
movzx eax, bl
or ecx, eax
movzx eax, bh
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x16]
mov dword [edi + eax*4 + 0x20], ecx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041c10
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
call fcn.10040e50
test eax, eax
jne 0x1001b053
mov ecx, dword [ebp - 0x28]
add ecx, 8
mov dword [edi + 0x2c], 0
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1001b149
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x1001b153
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.1001a620
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x10]
call fcn.10041c10
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.10040e50
test eax, eax
jne 0x1001ae30
lea ecx, [ebp]
call fcn.10040e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.100463c8
lea esp, [ebp + 0xcc]
pop ebp
ret
call fcn.10002100
call fcn.1004afbf
int3