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

Disassembly:
mov eax, 0x207c
call fcn.004042a0
mov eax, dword [0x407020]
xor eax, esp
mov dword [esp + 0x2074], eax
mov eax, dword [esp + 0x2084]
push ebx
push ebp
mov ebp, dword [esp + 0x2088]
push esi
push edi
xor ebx, ebx
push 0x3ff
lea ecx, [esp + 0x485]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
mov byte [esp + 0x48c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
call fcn.00401310
mov esi, 0x400
lea ecx, [esp + 0x480]
mov dl, byte [eax]
cmp dl, bl
je 0x40211b
mov byte [ecx], dl
add ecx, 1
add eax, 1
sub esi, 1
jne 0x402106
jmp 0x40211f
cmp esi, ebx
jne 0x402122
sub ecx, 1
lea esi, [esp + 0x80]
mov byte [ecx], bl
call fcn.00401450
mov ecx, esi
call fcn.00401570
lea esi, [esp + 0x480]
mov edi, eax
call fcn.00401790
cmp eax, edi
jb 0x402156
call fcn.00401790
test eax, eax
jne 0x40247e
push 0x3ff
lea edx, [esp + 0x885]
push ebx
push edx
mov byte [esp + 0x88c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea eax, [esp + 0x1085]
push ebx
push eax
mov byte [esp + 0x108c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.kernel.ini
lea ecx, [esp + 0x484]
push ecx
push str._s_s
mov eax, 0x400
lea edi, [esp + 0x88c]
call fcn.00401000
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
mov edx, edi
push edx
push 0x400
lea eax, [esp + 0x1088]
push eax
push str.QQPenguin
push str.productname
push str.kernel
call esi
lea ecx, [esp + 0x1080]
push ecx
mov edx, edi
push edx
push str.Run___szIniPath_s_szProductName_s
mov ecx, ebp
call fcn.004027e0
add esp, 0xc
lea ecx, [esp + 0x1080]
call fcn.004018c0
test eax, eax
jne 0x40247e
push 0x3ff
lea eax, [esp + 0xc85]
push ebx
push eax
mov byte [esp + 0xc8c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x1485]
push ebx
push ecx
mov byte [esp + 0x148c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, edi
push edx
push 0x400
lea eax, [esp + 0xc88]
push eax
push 0x40522c
push str.updateexe
push str.kernel
call esi
cmp byte [esp + 0xc80], bl
je 0x40247e
push 0x3ff
lea ecx, [esp + 0x1885]
push ebx
push ecx
mov byte [esp + 0x188c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x85]
push ebx
push edx
mov byte [esp + 0x8c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea eax, [esp + 0x1c85]
push ebx
push eax
mov byte [esp + 0x1c8c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0xc80]
push ecx
lea edx, [esp + 0x484]
push edx
push str._s_s
mov eax, 0x400
lea edi, [esp + 0x188c]
call fcn.00401000
add esp, 0xc
lea eax, [esp + 0xc80]
push eax
lea ecx, [esp + 0x484]
push ecx
push str._sTempKernelUpdate_s
mov eax, 0x400
lea edi, [esp + 0x8c]
call fcn.00401000
add esp, 0xc
push str.kernel.ini
lea edx, [esp + 0x484]
push edx
push str._sTempKernelUpdate_s
mov eax, 0x400
lea edi, [esp + 0x1c8c]
call fcn.00401000
add esp, 0xc
lea eax, [esp + 0x80]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll__access]
add esp, 8
test eax, eax
jne 0x4023a8
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edi, [esp + 0x1c]
call fcn.00401f60
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x402382
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCR80.dll__unlink]
xor edx, edx
add esp, 4
cmp eax, 0xffffffff
setne dl
lea ecx, [esp + 0x1c]
mov esi, edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, ebx
je 0x40247e
lea eax, [esp + 0x1880]
push eax
lea ecx, [esp + 0x84]
call fcn.00401e60
add esp, 4
test eax, eax
je 0x40247e
lea ecx, [esp + 0x880]
push ecx
lea ecx, [esp + 0x1c84]
call fcn.00401e60
add esp, 4
test eax, eax
je 0x40247e
mov eax, dword [esp + 0x18]
cmp eax, ebx
lea edi, [esp + 0x1480]
je 0x402412
push eax
lea edx, [esp + 0x84]
push edx
push str.__s___s
mov eax, 0x400
call fcn.00401000
add esp, 0xc
jmp 0x40242c
lea eax, [esp + 0x80]
push eax
push str.__s_
mov eax, 0x400
call fcn.00401000
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [esp + 0x14a0]
push eax
push ebx
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x8c], ebx
mov word [esp + 0x92], bx
mov dword [esp + 0x94], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40247e
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x14]
push esi
push str.Run___bRun_d
mov ecx, ebp
call fcn.004027e0
add esp, 8
cmp esi, ebx
je 0x4024ee
mov ecx, dword [ebp + 0x2c]
cmp ecx, ebx
je 0x4024ee
mov edx, dword [ecx]
mov eax, dword [edx]
push 0x10000006
push str.KernelPluginLoader.dll
push ebx
call eax
mov esi, eax
cmp esi, ebx
je 0x4024ee
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [ebp + 0x34]
push str.pluginloader
mov dword [eax], ebx
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push ecx
push eax
mov ecx, esi
call edx
mov edi, ebp
call fcn.004025b0
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
call edx
mov ebp, dword [ebp + 0x2c]
mov eax, dword [ebp]
mov edx, dword [eax + 4]
push 1
push esi
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x2084]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403a3e
add esp, 0x207c
ret 8