Function at 0x40aca0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1810
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c9614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4d0578]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40acda
cmp word [eax], 0
jne 0x40ace1
mov dword [ebp - 0x20], 0x4aace0
mov eax, dword [0x4cdb0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cdb0c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
jge 0x40ad21
mov ecx, 0x400
lea eax, [ebp - 0x14]
call fcn.00403a80
mov edi, dword [ebp - 0x14]
xor eax, eax
mov dword [edi - 0xc], 0x400
lea esi, [ebp - 0x1c]
mov word [edi + 0x800], ax
call fcn.00402de0
mov eax, dword [eax]
push str.config.ini
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0047f161
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov edx, dword [0x4cdb0c]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x4cdb0c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
add eax, 0xffffff80
or eax, ecx
jge 0x40adb9
mov ecx, 0x80
lea eax, [ebp - 0x18]
call fcn.00403a80
mov ebx, dword [ebp - 0x18]
push edi
push 0x80
push ebx
push 0x4aa7ac
push str.language
xor ecx, ecx
mov dword [ebx - 0xc], 0x80
push 0x4aa97c
mov word [ebx + 0x100], cx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0047f161
xor edx, edx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], dx
mov eax, dword [0x4cdb0c]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, 0x4cdb0c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
add eax, 0xffffff80
or eax, ecx
jge 0x40ae36
mov ecx, 0x80
lea eax, [ebp - 0x10]
call fcn.00403a80
mov esi, dword [ebp - 0x10]
push edi
push 0x80
push esi
push 0x4aa7ac
push str.channel
xor eax, eax
mov dword [esi - 0xc], 0x80
push 0x4aa97c
mov word [esi + 0x100], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0047f161
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
add esp, 8
or eax, edx
mov dword [ebp - 0x1c], ecx
jge 0x40ae9d
lea eax, [ebp - 0x10]
call fcn.00403a80
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
inc ecx
push ecx
push esi
call fcn.0047f4e9
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [esi - 0xc], eax
add esp, 8
mov word [esi + eax*2], dx
cmp dword [ebx - 0xc], edx
je 0x40af22
cmp dword [esi - 0xc], edx
je 0x40af22
mov eax, dword [0x4cdb0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cdb0c
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
push esi
push ebx
push eax
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00406c20
mov edi, dword [ebp - 0x1c]
add esp, 0xc
push 5
push 0
push 0
push edi
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af42
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40af62
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af85
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret