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

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0xcc
push 0xffffffffffffffff
push 0x10064b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1008b884]
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
call dword [sym.imp.SecureEngineSDK32.dll_Ordinal_132]
push 0x1006b28c
push str..DataLocalServerListDisplay.bmd
call fcn.1004e21e
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001b4e4
push 0x10
push 0x1006b2b4
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.1004e832
push edi
call fcn.1004ee91
push edi
mov esi, eax
call fcn.1004f057
push esi
call fcn.100472fb
push edi
push esi
mov ebx, eax
push 1
push ebx
call fcn.1004e40e
push edi
call fcn.1004e137
add esp, 0x2c
xor ecx, ecx
test esi, esi
jle 0x1001b533
nop dword [eax]
mov eax, ecx
and eax, 0x1f
mov al, byte [eax + 0x1008b71c]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x1001b520
lea ecx, [ebp]
call fcn.10041bf0
push 0
push 0x74
push esi
push ebx
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp]
call fcn.100427a0
cmp dword [ebp - 0x74], 0
je 0x1001b576
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.1001b440
push str.ServerListDisplay
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp]
call fcn.10042170
push 1
push str.Enable
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10042100
mov ecx, eax
call fcn.10042030
mov byte [ebx + 4], al
lea ecx, [ebp - 0x24]
push str.Server
lea eax, [ebp - 0x10]
push eax
call fcn.10042170
lea ecx, [ebp - 0x10]
call fcn.10041d10
test eax, eax
je 0x1001b914
nop
push 0x30
call fcn.10046f5f
mov edi, eax
mov dword [ebp - 0x1c], eax
add esp, 4
test edi, edi
je 0x1001b5fa
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
jmp 0x1001b5ff
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.10042100
mov ecx, eax
call fcn.100420b0
push 0
mov dword [edi], eax
lea ecx, [ebp - 0x10]
push str.Type
lea eax, [ebp - 0x3c]
push eax
call fcn.10042100
mov ecx, eax
call fcn.100420b0
push 0
mov byte [edi + 4], al
lea ecx, [ebp - 0x10]
push str.DisplayCode
lea eax, [ebp - 0x40]
push eax
call fcn.10042100
mov ecx, eax
call fcn.10042030
push 0
mov byte [edi + 5], al
lea ecx, [ebp - 0x10]
push str.DisplayGroupName
lea eax, [ebp - 0x44]
push eax
call fcn.10042100
mov ecx, eax
call fcn.10042030
push 0
mov byte [edi + 6], al
lea ecx, [ebp - 0x10]
push str.DisplayStatusText
lea eax, [ebp - 0x48]
push eax
call fcn.10042100
mov ecx, eax
call fcn.10042030
push 0x1006b289
mov byte [edi + 7], al
lea ecx, [ebp - 0x10]
push str.Text
lea eax, [ebp - 0x4c]
push eax
call fcn.10042100
mov ecx, eax
call fcn.100420e0
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 0x1001b6c0
sub esi, ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], ecx
cmp esi, ecx
ja 0x1001b6fc
mov dword [ebp - 0x1c], ebx
mov eax, ebx
cmp ecx, 0x10
jb 0x1001b6e2
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
push esi
push edx
push eax
mov dword [ebx + 0x10], esi
call fcn.10049bd0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x1001b7d2
cmp esi, 0x7fffffff
ja 0x1001b945
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1001b72a
mov eax, connect
mov edi, closesocket
push eax
call fcn.10001820
add esp, 4
jmp 0x1001b77c
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1001b74e
mov eax, connect
mov edi, closesocket
push eax
call fcn.10001820
add esp, 4
jmp 0x1001b77c
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1001b76b
push eax
call fcn.10001820
add esp, 4
jmp 0x1001b77c
test eax, eax
je 0x1001b77a
push eax
call fcn.10046f5f
add esp, 4
jmp 0x1001b77c
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.10049bd0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [edi + esi], 0
cmp eax, 0x10
jb 0x1001b7cd
lea ecx, [eax + 1]
mov eax, dword [ebx]
cmp ecx, 0x1000
jb 0x1001b7c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b94a
mov eax, edx
push ecx
push eax
call fcn.10046f8f
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.10042170
lea ecx, [ebp - 0x14]
call fcn.10041d10
test eax, eax
je 0x1001b8cc
push 0
push str.State
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x16], al
cmp al, 2
ja 0x1001b8ab
push 0
push str.RGBA
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x14]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
push 0
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x14]
push 0x1006b398
lea eax, [ebp - 0x58]
push eax
call fcn.10042100
mov ecx, eax
call fcn.100420b0
push 0
mov bh, al
lea ecx, [ebp - 0x14]
push 0x1006b39c
lea eax, [ebp - 0x5c]
push eax
call fcn.10042100
mov ecx, eax
call fcn.100420b0
push 0
mov bl, al
lea ecx, [ebp - 0x14]
push 0x1006b3a0
lea eax, [ebp - 0x60]
push eax
call fcn.10042100
mov ecx, eax
call fcn.100420b0
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.10042ad0
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
call fcn.10041d10
test eax, eax
jne 0x1001b7f3
mov ecx, dword [ebp - 0x28]
add ecx, 8
mov dword [edi + 0x2c], 0
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1001b8e9
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x1001b8f3
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.1001ad70
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x10]
call fcn.10042ad0
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.10041d10
test eax, eax
jne 0x1001b5d0
call dword [sym.imp.SecureEngineSDK32.dll_Ordinal_532]
lea ecx, [ebp]
call fcn.10041cd0
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.100472b7
lea esp, [ebp + 0xcc]
pop ebp
ret
call fcn.100024c0
call fcn.1004be8f
int3