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

Disassembly:
sub esp, 0xe78
mov eax, dword [0x574674]
xor eax, esp
mov dword [esp + 0xe74], eax
push ebx
push ebp
mov ebp, dword [esp + 0xe84]
xor eax, eax
push esi
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
push edi
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov word [esp + 0x18], bx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x206
lea ecx, [esp + 0x4ae]
push ebx
push ecx
mov word [esp + 0x4b4], bx
call fcn.00437ec0
push str.UseVestige.ini
push str.Config
push 0x5844b0
lea edx, [esp + 0x4c0]
push str._s_s_s
push edx
call fcn.004338ee
add esp, 0x20
lea eax, [esp + 0x4a8]
push eax
push 0xffffffffffffffff
push str.UpDmpLastDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [esp + 0x1a]
cmp eax, ecx
je 0x405ca1
push 0x206
lea edx, [esp + 0x9e]
push ebx
push edx
mov word [esp + 0xa4], bx
call fcn.00437ec0
push 0x206
lea eax, [esp + 0x2b2]
push ebx
push eax
mov word [esp + 0x2b8], bx
call fcn.00437ec0
add esp, 0x18
xor eax, eax
jmp 0x405a40
movzx ecx, word [eax + 0x5842a8]
mov word [esp + eax + 0x2a0], cx
add eax, 2
cmp cx, bx
jne 0x405a40
lea edi, [esp + 0x2a0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x405a61
mov ecx, 6
mov esi, str.SCMutual.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x566d9c]
mov word [esp + eax + 0x98], cx
add eax, 2
cmp cx, bx
jne 0x405a80
lea eax, [esp + 0x2a0]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405aa0
lea edi, [esp + 0x98]
sub eax, edx
add edi, 0xfffffffe
jmp 0x405ac0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x405ac0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x98]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x405ae6
mov ecx, 6
mov esi, 0x566da0
rep movsd dword es:[edi], dword [esi]
mov eax, ebp
movsw word es:[edi], word [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405b04
lea edi, [esp + 0x98]
sub eax, edx
add edi, 0xfffffffe
jmp 0x405b20
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x405b20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x5846b8
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405b44
sub eax, edx
sar eax, 1
je 0x405bbc
lea edi, [esp + 0x98]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x405b60
mov ecx, dword [0x566dbc]
mov eax, 0x5846b8
mov dword [edi], ecx
mov edx, eax
jmp 0x405b80
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405b80
lea edi, [esp + 0x98]
sub eax, edx
add edi, 0xfffffffe
jmp 0x405ba0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x405ba0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x44
lea edx, [esp + 0x3c]
push ebx
push edx
call fcn.00437ec0
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x6c0]
push 0x566998
push ecx
mov dword [esp + 0x50], 0x44
call fcn.004338ee
add esp, 0x18
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea ecx, [esp + 0x6d0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405c38
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x28]
push eax
call esi
movzx ecx, word [esp + 0x1a]
xor eax, eax
push ecx
lea edx, [esp + 0x88]
push 0x566ee4
push edx
mov word [esp + 0x90], bx
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov word [esp + 0xa2], ax
call fcn.004338ee
add esp, 0xc
lea eax, [esp + 0x4a8]
push eax
lea ecx, [esp + 0x88]
push ecx
push str.UpDmpLastDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0xe84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004338df
add esp, 0xe78
ret