Function at 0x401ab0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f8a2
mov eax, dword fs:[0]
push eax
sub esp, 0xad0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xadc], edi
mov dword [ebp - 0xac4], 0
xor eax, eax
mov dword [ebp - 4], 1
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00411f40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 0
mov dword [ebp - 0xa1c], 7
mov dword [ebp - 0xa20], 0
mov word [ebp - 0xa30], ax
cmp word [ebp - 0x218], ax
jne 0x401b66
xor ecx, ecx
jmp 0x401b7f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401b70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa30]
call fcn.00402f20
sub esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0xac8]
mov dword [ebp - 0xac8], 0x5c
lea ecx, [ebp - 0xa30]
push eax
call fcn.00402ce0
inc eax
lea ecx, [ebp - 0xa30]
push eax
push 0
lea eax, [ebp - 0xa90]
push eax
call fcn.004027b0
mov esi, eax
lea eax, [ebp - 0xa30]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x401c1b
cmp dword [ebp - 0xa1c], 8
jb 0x401bf2
push dword [ebp - 0xa30]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa1c], 7
push esi
lea ecx, [ebp - 0xa30]
mov dword [ebp - 0xa20], 0
mov word [ebp - 0xa30], ax
call fcn.00402920
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa7c], 8
jb 0x401c36
push dword [ebp - 0xa90]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa7c], 7
push 0x7fe
push eax
mov word [ebp - 0xa90], ax
mov word [ebp - 0xa18], ax
lea eax, [ebp - 0xa16]
push eax
mov dword [ebp - 0xa80], 0
call fcn.00411f40
add esp, 0xc
mov dword [ebp - 0xa38], 0
xor eax, eax
mov dword [ebp - 0xa34], 0
mov word [ebp - 0xa48], ax
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa34], 7
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xa30]
mov dword [ebp - 0xa38], 0
push eax
call fcn.00402bc0
push 0xa
push str.config.ini
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], 4
call fcn.00402a90
cmp dword [ebp - 0xa34], 8
lea eax, [ebp - 0xa48]
cmovae eax, dword [ebp - 0xa48]
push eax
push 0x800
lea eax, [ebp - 0xa18]
push eax
push 0x42758c
push str.ServiceVersion
push str.ServerLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x42758c
lea eax, [ebp - 0xa18]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401d36
test dx, dx
je 0x401d32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401d36
add eax, 4
add ecx, 4
test dx, dx
jne 0x401d10
xor eax, eax
jmp 0x401d3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x402217
xor eax, eax
mov dword [ebp - 0xa98], 0
mov dword [ebp - 0xa94], 0
mov dword [ebp - 0xa94], 7
mov dword [ebp - 0xa98], 0
mov word [ebp - 0xaa8], ax
cmp word [ebp - 0x218], ax
jne 0x401d81
xor ecx, ecx
jmp 0x401d9f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401d90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xaa8]
call fcn.00402f20
lea edx, [ebp - 0xaa8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xac0]
call fcn.00404d00
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa94], 8
jb 0x401de2
push dword [ebp - 0xaa8]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa94], 7
mov word [ebp - 0xaa8], ax
lea ecx, [ebp - 0xaa0]
xorps xmm0, xmm0
mov dword [ebp - 0xa98], 0
lea eax, [ebp - 0xac0]
push eax
movdqu xmmword [ebp - 0xaa0], xmm0
movdqu xmmword [ebp - 0xad8], xmm0
call fcn.00404a00
xor eax, eax
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa7c], 7
mov dword [ebp - 0xa80], 0
mov word [ebp - 0xa90], ax
cmp word [ebp - 0xa18], ax
jne 0x401e62
xor ecx, ecx
jmp 0x401e7f
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
jmp 0x401e70
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401e70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa90]
call fcn.00402f20
lea eax, [ebp - 0xa90]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xad8]
call fcn.00404a00
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa7c], 8
jb 0x401ec3
push dword [ebp - 0xa90]
call fcn.00410aa8
add esp, 4
mov ecx, dword [ebp - 0xaa0]
xor eax, eax
mov word [ebp - 0xa90], ax
mov eax, dword [ebp - 0xad8]
mov dword [ebp - 0xa7c], 7
mov dword [ebp - 0xa80], 0
cmp eax, ecx
jl 0x4021d7
jg 0x401f36
mov eax, dword [ebp - 0xad4]
mov ecx, dword [ebp - 0xa9c]
cmp eax, ecx
jl 0x4021d7
jg 0x401f36
mov eax, dword [ebp - 0xad0]
mov ecx, dword [ebp - 0xa98]
cmp eax, ecx
jl 0x4021d7
jg 0x401f36
mov eax, dword [ebp - 0xacc]
mov ecx, dword [ebp - 0xa94]
cmp eax, ecx
jle 0x4021d7
push 0x4275d4
lea ecx, [ebp - 0xa60]
call fcn.00402660
mov byte [ebp - 4], 9
mov esi, 0x42c200
nop
push ecx
lea edx, [ebp - 0xa30]
lea ecx, [ebp - 0xa78]
call fcn.004034f0
add esp, 4
mov byte [ebp - 4], 0xa
cmp word [ebp - 0xa18], 0
jne 0x401f77
xor ecx, ecx
jmp 0x401f8f
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa78]
call fcn.00402a90
push 1
push 0x427530
lea ecx, [ebp - 0xa78]
call fcn.00402a90
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0xa78]
call fcn.00402980
cmp dword [ebp - 0xa64], 8
lea eax, [ebp - 0xa78]
push 0
cmovae eax, dword [ebp - 0xa78]
push eax
call fcn.004109d2
add esp, 8
test eax, eax
lea eax, [ebp + 8]
jne 0x402162
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x402000
mov ecx, dword [esi]
jmp 0x402002
mov ecx, esi
push eax
push ecx
call fcn.0040ff8c
add esp, 8
test eax, eax
jne 0x402025
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0xa60]
call fcn.00402bc0
mov byte [ebp - 4], 9
cmp dword [ebp - 0xa64], 8
jb 0x402040
push dword [ebp - 0xa78]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa64], 7
add esi, 0x18
mov dword [ebp - 0xa68], 0
mov word [ebp - 0xa78], ax
cmp esi, 0x42c248
jl 0x401f50
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov ecx, dword [ebp - 0xa4c]
cmp ecx, 8
jae 0x4020a8
mov eax, dword [ebp - 0xa50]
inc eax
je 0x4020ba
add eax, eax
push eax
lea eax, [ebp - 0xa60]
push eax
push edi
call fcn.00410100
mov ecx, dword [ebp - 0xa4c]
add esp, 0xc
jmp 0x4020ba
mov eax, dword [ebp - 0xa60]
mov dword [edi], eax
mov dword [ebp - 0xa60], 0
mov eax, dword [ebp - 0xa50]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], ecx
mov dword [ebp - 0xa4c], 7
mov dword [ebp - 0xa50], 0
mov word [ebp - 0xa60], ax
mov dword [ebp - 0xac4], 1
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa4c], 8
jb 0x402108
push dword [ebp - 0xa60]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4c], 7
mov dword [ebp - 0xa50], 0
mov word [ebp - 0xa60], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xaac], 8
jb 0x402140
push dword [ebp - 0xac0]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xaac], 7
mov dword [ebp - 0xab0], 0
mov word [ebp - 0xac0], ax
jmp 0x402252
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa30]
call fcn.00402980
xor ecx, ecx
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push ecx
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.00402bc0
mov byte [ebp - 4], 9
cmp dword [ebp - 0xa64], 8
mov dword [ebp - 0xac4], 1
jb 0x4021b5
push dword [ebp - 0xa78]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa64], 7
mov dword [ebp - 0xa68], 0
mov word [ebp - 0xa78], ax
jmp 0x4020ed
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xa30]
call fcn.00402980
xor ecx, ecx
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push ecx
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.00402bc0
mov dword [ebp - 0xac4], 1
jmp 0x402125
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xa30]
call fcn.00402980
xor ecx, ecx
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push ecx
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.00402bc0
mov dword [ebp - 0xac4], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa34], 8
jb 0x40226d
push dword [ebp - 0xa48]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa34], 7
mov dword [ebp - 0xa38], eax
mov word [ebp - 0xa48], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa1c], 8
jb 0x4022a1
push dword [ebp - 0xa30]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa1c], 7
mov dword [ebp - 0xa20], eax
mov word [ebp - 0xa30], ax
mov byte [ebp - 4], al
cmp dword [ebp + 0x1c], 8
jb 0x4022ce
push dword [ebp + 8]
call fcn.00410aa8
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], eax
mov word [ebp + 8], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fef5
mov esp, ebp
pop ebp
ret