Function at 0x100a96a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e283d
mov eax, dword fs:[0]
push eax
mov eax, 0x1cd4
call fcn.101b5a00
mov eax, dword [0x10285124]
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
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x1c14], 7
mov dword [ebp - 0x1c18], 0
mov word [ebp - 0x1c28], ax
push 0x74
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1cb8]
push eax
call fcn.101b7960
add esp, 0xc
lea ecx, [ebp - 0x1cb8]
call fcn.100eca50
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.101b7960
add esp, 8
lea eax, [ebp - 0x1010]
mov edx, str.Softwaregoodoc_v30
mov ecx, reloc.WS2_32.dll_accept
push 0x800
push eax
push str.tokenid
call fcn.100a63c0
lea ecx, [ebp - 0x1010]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9757
sub ecx, edx
mov ebx, 6
sar ecx, 1
je 0x100a9a03
xor eax, eax
cmp word [ebp - 0x1010], ax
cmove ecx, eax
lea eax, [ebp - 0x1010]
push ecx
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100a7e70
mov ecx, dword [ebp - 0x1c18]
lea edx, [ebp - 0x1c28]
cmp ecx, ebx
mov edi, ebx
cmovae ecx, ebx
cmp dword [ebp - 0x1c14], 8
mov dword [ebp - 0x1cbc], ecx
cmovae edx, dword [ebp - 0x1c28]
cmp ecx, ebx
cmovb edi, ecx
test edi, edi
je 0x100a97ed
mov ecx, 0x10245aac
nop word [eax + eax]
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100a9883
add edx, 2
add ecx, 2
sub edi, 1
jne 0x100a97d0
mov ecx, dword [ebp - 0x1cbc]
xor eax, eax
test eax, eax
jne 0x100a98f9
cmp ecx, ebx
jb 0x100a98f9
ja 0x100a98f9
mov eax, dword [ebp - 0x1c18]
lea ecx, [ebp - 0x1c28]
add eax, 0xfffffffa
push eax
push 6
lea eax, [ebp - 0x1cdc]
push eax
call fcn.100ab5d0
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a984d
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc4], esp
push str.goodoccodoog_
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x100a989a
mov eax, dword [ecx]
jmp 0x100a989c
movzx eax, word [edx]
cmp ax, word [ecx]
mov ecx, dword [ebp - 0x1cbc]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x100a97ef
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x1c28]
push edx
push eax
call fcn.100a5420
lea eax, [ebp - 0x1cdc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1cb8]
call fcn.100ed090
push eax
lea ecx, [esi + 0x194]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a9a03
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
jmp 0x100a9a03
cmp word [ebp - 0x1010], 0
jne 0x100a9907
xor ecx, ecx
jmp 0x100a991f
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9910
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [esi + 0x194]
call fcn.100a7e70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc4], esp
push str.goodoccodoog_
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1010]
mov ecx, esp
push eax
call fcn.100a7530
lea eax, [ebp - 0x1cdc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1cb8]
call fcn.100ed4b0
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a999c
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
lea eax, [ebp - 0x1c28]
mov edx, 0x10245aac
push eax
lea ecx, [ebp - 0x1cdc]
call fcn.100ab8a0
add esp, 4
lea ecx, [ebp - 0x1c28]
push eax
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a99e0
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
cmp dword [ebp - 0x1c14], 8
lea eax, [ebp - 0x1c28]
push ecx
cmovae eax, dword [ebp - 0x1c28]
push eax
push str.tokenid
call fcn.100a6560
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 8
lea eax, [ebp - 0x1010]
mov edx, str.Softwaregoodoc_v30
mov ecx, reloc.WS2_32.dll_accept
push 0x800
push eax
push str.refreshtoken
call fcn.100a63c0
lea ecx, [ebp - 0x1010]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9a45
sub ecx, edx
sar ecx, 1
je 0x100a9ce3
xor eax, eax
cmp word [ebp - 0x1010], ax
cmove ecx, eax
lea eax, [ebp - 0x1010]
push ecx
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100a7e70
mov ecx, dword [ebp - 0x1c18]
lea edx, [ebp - 0x1c28]
cmp ecx, 6
mov edi, ecx
cmovae edi, ebx
cmp dword [ebp - 0x1c14], 8
cmovae edx, dword [ebp - 0x1c28]
cmp edi, 6
cmovb ebx, edi
test ebx, ebx
je 0x100a9acd
mov ecx, 0x10245aac
nop word [eax + eax]
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100a9b5e
add edx, 2
add ecx, 2
sub ebx, 1
jne 0x100a9ab0
mov ecx, dword [ebp - 0x1c18]
xor eax, eax
test eax, eax
jne 0x100a9bd4
cmp edi, 6
jb 0x100a9bd4
ja 0x100a9bd4
lea eax, [ecx - 6]
push eax
push 6
lea eax, [ebp - 0x1cdc]
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100ab5d0
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a9b28
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc4], esp
push str.goodoccodoog_
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x100a9b75
mov eax, dword [ecx]
jmp 0x100a9b77
movzx eax, word [edx]
cmp ax, word [ecx]
mov ecx, dword [ebp - 0x1c18]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x100a9acf
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x1c28]
push edx
push eax
call fcn.100a5420
lea eax, [ebp - 0x1cdc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1cb8]
call fcn.100ed090
push eax
lea ecx, [esi + 0x1ac]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a9ce3
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
jmp 0x100a9ce3
cmp word [ebp - 0x1010], 0
jne 0x100a9be2
xor ecx, ecx
jmp 0x100a9bff
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9bf0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [esi + 0x1ac]
call fcn.100a7e70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc4], esp
push str.goodoccodoog_
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1010]
mov ecx, esp
push eax
call fcn.100a7530
lea eax, [ebp - 0x1cdc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1cb8]
call fcn.100ed4b0
push eax
lea ecx, [ebp - 0x1c28]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a9c7c
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
lea eax, [ebp - 0x1c28]
mov edx, 0x10245aac
push eax
lea ecx, [ebp - 0x1cdc]
call fcn.100ab8a0
add esp, 4
lea ecx, [ebp - 0x1c28]
push eax
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a9cc0
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
cmp dword [ebp - 0x1c14], 8
lea eax, [ebp - 0x1c28]
push ecx
cmovae eax, dword [ebp - 0x1c28]
push eax
push str.refreshtoken
call fcn.100a6560
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 8
lea eax, [ebp - 0x1010]
mov edx, str.Softwaregoodoc_v30
mov ecx, reloc.WS2_32.dll_accept
push 0x800
push eax
push str.websockurl
call fcn.100a63c0
lea ecx, [ebp - 0x1010]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9d25
sub ecx, edx
sar ecx, 1
je 0x100a9d55
xor eax, eax
cmp word [ebp - 0x1010], ax
cmove ecx, eax
lea eax, [ebp - 0x1010]
push ecx
push eax
lea ecx, [esi + 0x1e8]
call fcn.100a7e70
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 8
mov dword [ebp - 0x1cbc], 0
lea eax, [ebp - 0x1cbc]
mov dword [ebp - 0x1cc0], 0
mov dword [ebp - 0x1cc4], 0
push eax
push str.gdhid
call fcn.100a62f0
mov eax, dword [ebp - 0x1cbc]
add esp, 8
mov dword [esi + 0x1c4], eax
lea eax, [ebp - 0x1cc0]
push eax
push str.websock
call fcn.100a62f0
add esp, 0xc
cmp dword [ebp - 0x1cc0], 0
je 0x100a9dd0
mov dword [esi + 0x1e4], 1
push ecx
lea eax, [ebp - 0x1cc4]
push eax
push str.changedwebsock
call fcn.100a62f0
add esp, 0xc
cmp dword [ebp - 0x1cc4], 0
je 0x100a9df8
mov dword [esi + 0x218], 1
xor eax, eax
mov dword [ebp - 0x1c2c], 7
mov dword [ebp - 0x1c30], 0
mov word [ebp - 0x1c40], ax
lea eax, [ebp - 0x1cdc]
mov byte [ebp - 4], 6
push eax
call fcn.100ab520
push eax
lea ecx, [ebp - 0x1c40]
call fcn.100abd10
mov eax, dword [ebp - 0x1cc8]
cmp eax, 8
jb 0x100a9e4f
inc eax
lea ecx, [ebp - 0x1cdc]
push eax
push dword [ebp - 0x1cdc]
call fcn.100a5620
push ecx
lea edi, [esi + 0x100]
mov dword [edi], 2
push edi
push str.servertype
call fcn.100a62f0
add esp, 0xc
cmp dword [edi], 2
jbe 0x100a9e75
mov dword [edi], 2
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x10246064]
cmp byte [edx], 0
jne 0x100a9e87
xor ecx, ecx
jmp 0x100a9e99
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9e90
sub ecx, ebx
push ecx
push edx
mov ecx, esi
call fcn.100a5970
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x10246058]
cmp word [edx], 0
jne 0x100a9eb5
xor ecx, ecx
jmp 0x100a9ecf
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9ec0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x40]
call fcn.100a7e70
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x1024604c]
cmp word [edx], 0
jne 0x100a9eec
xor ecx, ecx
jmp 0x100a9f00
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9ef1
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x58]
call fcn.100a7e70
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x10246028]
cmp word [edx], 0
jne 0x100a9f1d
xor ecx, ecx
jmp 0x100a9f31
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9f22
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x70]
call fcn.100a7e70
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x10246040]
cmp word [edx], 0
jne 0x100a9f4e
xor ecx, ecx
jmp 0x100a9f62
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9f53
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x88]
call fcn.100a7e70
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x1024601c]
cmp word [edx], 0
jne 0x100a9f82
xor ecx, ecx
jmp 0x100a9f96
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9f87
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xd0]
call fcn.100a7e70
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x10246010]
cmp word [edx], 0
jne 0x100a9fb6
xor ecx, ecx
jmp 0x100a9fcf
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9fc0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1e8]
call fcn.100a7e70
mov eax, dword [edi]
mov edx, dword [eax*4 + 0x10246034]
cmp word [edx], 0
jne 0x100a9fef
xor ecx, ecx
jmp 0x100aa003
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9ff4
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xe8]
call fcn.100a7e70
cmp dword [esi + 0x138], 0
jne 0x100aa020
xor esi, esi
jmp 0x100aa2fb
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1c40]
add esp, 0xc
cmp dword [ebp - 0x1c2c], 8
cmovae eax, dword [ebp - 0x1c40]
push eax
push 0x40
lea eax, [ebp - 0x1010]
push eax
push 0x10245b28
push str.aliveinterval
push str.socket
call ebx
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aa074
sub ecx, edx
sar ecx, 1
je 0x100aa09a
lea eax, [ebp - 0x1010]
push eax
call fcn.101c48a9
add esp, 4
mov dword [esi + 0x120], eax
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 0xc
lea eax, [ebp - 0x1c40]
cmp dword [ebp - 0x1c2c], 8
cmovae eax, dword [ebp - 0x1c40]
push eax
push 0x40
lea eax, [ebp - 0x1010]
push eax
push 0x10245b5c
push 0x10245b60
push str.socket
call ebx
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aa0f0
sub ecx, edx
sar ecx, 1
je 0x100aa116
lea eax, [ebp - 0x1010]
push eax
call fcn.101c48a9
add esp, 4
mov dword [esi + 0x124], eax
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 0xc
lea eax, [ebp - 0x1c40]
cmp dword [ebp - 0x1c2c], 8
cmovae eax, dword [ebp - 0x1c40]
push eax
push 0x40
lea eax, [ebp - 0x1010]
push eax
push 0x10245b80
push str.waittime
push str.socket
call ebx
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aa164
sub ecx, edx
sar ecx, 1
je 0x100aa18a
lea eax, [ebp - 0x1010]
push eax
call fcn.101c48a9
add esp, 4
mov dword [esi + 0x174], eax
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 0xc
lea eax, [ebp - 0x1c40]
cmp dword [ebp - 0x1c2c], 8
cmovae eax, dword [ebp - 0x1c40]
push eax
push 0x40
lea eax, [ebp - 0x1010]
push eax
push 0x10245b5c
push str.expirecount
push str.socket
call ebx
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aa1e0
sub ecx, edx
sar ecx, 1
je 0x100aa206
lea eax, [ebp - 0x1010]
push eax
call fcn.101c48a9
add esp, 4
mov dword [esi + 0x190], eax
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 0xc
lea eax, [ebp - 0x1c10]
push 0x800
push 0
push eax
call fcn.101b7960
add esp, 0xc
lea edx, [ebp - 0x1c10]
call fcn.100a6010
lea edi, [esi + 0x178]
push str.3.2.17
mov ecx, edi
call fcn.100a7f70
cmp dword [esi + 0x188], 0
jne 0x100aa2f6
push 0x400
lea eax, [ebp - 0x1410]
push 0
push eax
call fcn.101b7960
add esp, 0xc
lea eax, [ebp - 0x1c40]
cmp dword [ebp - 0x1c2c], 8
cmovae eax, dword [ebp - 0x1c40]
push eax
push 0x200
lea eax, [ebp - 0x1410]
push eax
push 0x10244f88
push str.version
push str.config
call ebx
cmp word [ebp - 0x1410], 0
mov ecx, edi
je 0x100aa2be
lea eax, [ebp - 0x1410]
push eax
call fcn.100a7f70
jmp 0x100aa2f6
push str.3.0.0
call fcn.100a7f70
cmp dword [ebp - 0x1c2c], 8
lea eax, [ebp - 0x1c40]
cmovae eax, dword [ebp - 0x1c40]
cmp dword [edi + 0x14], 8
jb 0x100aa2e4
mov edi, dword [edi]
push eax
push edi
push str.version
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, 1
mov eax, dword [ebp - 0x1c2c]
cmp eax, 8
jb 0x100aa319
inc eax
lea ecx, [ebp - 0x1c40]
push eax
push dword [ebp - 0x1c40]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x1c2c], 7
lea ecx, [ebp - 0x1cb8]
mov dword [ebp - 0x1c30], 0
mov word [ebp - 0x1c40], ax
call fcn.100ecb90
lea ecx, [ebp - 0x1c28]
call fcn.100a5560
mov eax, esi
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.101b451c
mov esp, ebp
pop ebp
ret