joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1270
call fcn.00431f70
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x44
lea eax, [ebp - 0x126c]
push 0
push eax
mov edi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0xa
mov dword [ebp - 0x126c], 0x44
je 0x42033b
mov eax, 0xa
mov dword [ebp - 0x1240], 1
mov word [ebp - 0x123c], ax
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1214], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1212]
push eax
movq qword [ebp - 0x1224], xmm0
movq qword [ebp - 0x121c], xmm0
call sub.MSVCR110.dll_memset
add esp, 0xc
test esi, esi
je 0x42038b
push esi
push edi
push str.__s___s
lea eax, [ebp - 0x1214]
push 0x1000
push eax
call fcn.00401000
add esp, 0x14
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push edi
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x126c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1214]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420455
mov eax, dword [0x457bd8]
test al, 1
jne 0x420425
or eax, 1
push 0x436ff0
mov dword [0x457bd8], eax
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push str.Failed_to_launcher_application:__s__cmd_line__s__error_code_:__d
push 0x457bd4
call fcn.0042ab50
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x420461
mov eax, dword [ebp - 0x121c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x420474
push eax
call esi
mov eax, dword [ebp - 0x1224]
test eax, eax
je 0x420481
push eax
call esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004314a6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4204a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x38
lea eax, [ebp - 0x244]
push 0
push eax
call sub.MSVCR110.dll_memset
cmp byte [ebp + 0x18], 0
mov ecx, 0x440
mov eax, 0x40
cmovne eax, ecx
mov dword [ebp - 0x244], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x23c], str.open
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], esi
call sub.MSVCR110.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x208
push eax
call fcn.004078a0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], eax
xor eax, eax
cmp byte [ebp + 0x14], al
setne al
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
jne 0x42057e
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x10], 0
je 0x420592
push 0xffffffffffffffff
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.004314a6
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4205b0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x42064a
push 0x14
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x420643
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call edi
test eax, eax
je 0x42063b
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x42063b
cmp eax, 2
je 0x42063b
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
lea eax, [ebp - 0x20]
push eax
push esi
call edi
cmp dword [ebp - 0x1c], 4
je 0x42063b
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x420638
lea eax, [ebp - 0x20]
push eax
push esi
call edi
cmp dword [ebp - 0x1c], 4
jne 0x420627
mov ebx, dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004314a6
mov esp, ebp
pop ebp
ret 8
Function at 0x420660
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4206cd
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4206c6
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4206bf
cmp dword [ebp - 0x1c], 4
jne 0x4206bf
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.004314a6
mov esp, ebp
pop ebp
ret 4

Function at 0x4206f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x420734
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x22c
mov edi, eax
lea eax, [ebp - 0x230]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.MSVCR110.dll__wcsicmp]
lea eax, [ebp - 0x20c]
push edi
push eax
call ebx
add esp, 8
test eax, eax
je 0x420797
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x420772
jmp 0x4207a3
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004314a6
mov esp, ebp
pop ebp
ret 4

Function at 0x420b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435098
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x455070]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x455070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ecx, edi
mov dword [esp + 0xc], 0
call fcn.00406660
test al, al
je 0x420bcb
push 0x449ca8
mov ecx, esi
call fcn.0040ec90
jmp 0x420bf2
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.00420c20
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00420a10
lea ecx, [esp + 0x10]
call fcn.00405b70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x421390
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435338
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x455070]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x421350
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.004218e0
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423900
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c8
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
mov edi, edx
mov esi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [ebp - 0x6c8], 0x64
call fcn.0040bd40
lea eax, [ebp - 0x6c0]
push eax
push 0x20019
push 0
push str.softwareclientsStartMenuInternet
push esi
xor bl, bl
mov dword [ebp - 0x6c0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4239b9
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x6c4]
push eax
push 0
push 0
push dword [ebp - 0x6c0]
mov dword [ebp - 0x6c4], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x6c0]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x423acd
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x2d4], ax
lea eax, [ebp - 0x2d2]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0xcc]
push eax
push str.softwareclientsStartMenuInternet_s_shellopencommand
lea eax, [ebp - 0x2d4]
push 0x208
push eax
call fcn.00401000
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x6bc], ax
lea eax, [ebp - 0x6ba]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x28
call fcn.0040bd40
push 0x1f4
lea eax, [ebp - 0x6bc]
push eax
push 0
lea eax, [ebp - 0x2d4]
push eax
push esi
call fcn.00424b50
test al, al
je 0x423acd
cmp word [ebp - 0x6bc], 0x22
jne 0x423aa8
lea eax, [ebp - 0x6c0]
push eax
lea eax, [ebp - 0x6bc]
push eax
mov dword [ebp - 0x6c0], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x6c0], 0
mov esi, eax
jle 0x423a8a
test esi, esi
je 0x423aba
push dword [esi]
push 0x208
push edi
call fcn.004078a0
test esi, esi
je 0x423aba
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x6bc]
push eax
push 0x208
push edi
call fcn.004078a0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x423da0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x423dbf
xor eax, eax
mov word [esi], ax
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x423e09
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
cmp eax, 1
je 0x423e19
cmp eax, 2
jne 0x423df8
push str.chrome.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423df8
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.004078a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x423e60
Capabilities:
Check if file exists
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x423e7f
xor eax, eax
mov word [edi], ax
push 1
lea eax, [ebp - 0x628]
push eax
push 0
push 0x20019
push str.SOFTWAREMozilla
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
je 0x423eaf
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push esi
xor esi, esi
mov byte [ebp - 0x61d], 0
push 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push dword [ebp - 0x628]
mov dword [ebp - 0x624], 0x208
call dword [sym.imp.SHLWAPI.dll_SHRegEnumUSKeyW]
inc esi
test eax, eax
jne 0x423ff4
push str.Mozilla_Firefox
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.Mozilla_Firefox
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x423ec0
push str.SOFTWAREMozilla
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x624], 0x208
call fcn.004078a0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x44a000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0
push 1
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x62c]
push eax
push str.PathToExe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x423ec0
mov eax, dword [ebp - 0x62c]
cmp eax, 1
je 0x423fa1
cmp eax, 2
jne 0x423ec0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x423ec0
push str.firefox.exe
push eax
call ebx
test eax, eax
jne 0x423ec0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423ec0
lea eax, [ebp - 0x414]
push eax
push 0x104
push edi
call fcn.004078a0
mov byte [ebp - 0x61d], 1
push dword [ebp - 0x628]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x61d]
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x424020
Capabilities:
Check if file exists
Get common file path
Get program files directory
Get system information on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp word [0x457de8], 0
push esi
push edi
mov edi, ecx
jne 0x4240f8
call fcn.00411780
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424060
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x42406a
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x24]
cmp ax, 9
je 0x4240a5
cmp ax, 6
je 0x4240a5
push 0
push 0x26
push 0x457de8
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
push 0x104
push 0x457de8
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
jmp 0x4240f8
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x104
push 0x457be0
push str.ProgramW6432
call esi
push 0x104
push 0x457de8
push str.ProgramFiles
call esi
mov esi, dword [sym.imp.MSVCR110.dll_wcscat_s]
push str.Internet_Exploreriexplore.exe
push 0x104
push 0x457be0
call esi
push str.Internet_Exploreriexplore.exe
push 0x104
push 0x457de8
call esi
add esp, 0x18
mov ecx, 0x457be0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424100
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub ecx, edx
sar ecx, 1
je 0x42413a
push 0x457be0
call esi
test eax, eax
je 0x42413a
push 0x457be0
push 0x208
push edi
call fcn.004078a0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x457de8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424142
sub ecx, edx
sar ecx, 1
je 0x424176
push 0x457de8
call esi
test eax, eax
je 0x424176
push 0x457de8
push 0x208
push edi
call fcn.004078a0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x457bd8]
test al, 1
jne 0x42419e
or eax, 1
push 0x436ff0
mov dword [0x457bd8], eax
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
push str.Not_found_IE_in_given_path
mov ecx, 0x457bd4
call fcn.0042aa80
push str.iexplore.exe
push 0x208
push edi
call fcn.004078a0
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4354db
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.00423da0
test al, al
jne 0x4243cc
lea ecx, [ebp - 0x21c]
call fcn.00423e60
test al, al
jne 0x4243cc
lea ecx, [ebp - 0x21c]
call fcn.00424020
push esi
push edi
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x234]
call fcn.004241d0
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [0x457bd8]
test al, 1
jne 0x424411
or eax, 1
push 0x436ff0
mov dword [0x457bd8], eax
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
lea ecx, [ebp - 0x234]
call fcn.004059f0
push eax
lea eax, [ebp - 0x21c]
push eax
push str.open_url__browser:__s__param:__s
push 0x457bd4
call fcn.0042ab50
add esp, 0x10
lea ecx, [ebp - 0x234]
call fcn.004059f0
mov esi, eax
call fcn.00406730
push ebx
push 1
push esi
lea ecx, [ebp - 0x21c]
call fcn.004202e0
test al, al
jne 0x4244aa
mov eax, dword [0x457bd8]
test al, 1
jne 0x424483
or eax, 1
push 0x436ff0
mov dword [0x457bd8], eax
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
push str.Failed_to_use_found_browser_to_open_the_url
mov ecx, 0x457bd4
call fcn.0042aa80
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
jmp 0x4244ac
xor esi, esi
lea ecx, [ebp - 0x234]
call fcn.00405b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x424910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4354a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x455070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 0
xor edi, edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x424a22
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x424a0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x457bd8]
mov dword [ebp - 0x10], eax
cmp eax, 0xe7
jne 0x4249d6
test cl, 1
jne 0x4249b6
or ecx, 1
push 0x436ff0
mov dword [0x457bd8], ecx
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
push edi
push esi
push str.failed_to_open_pipe___s__to_write_message__the_pipe_is_busy__try_again___d__n
push 0x457bd4
call fcn.0042ab50
inc edi
add esp, 0x10
cmp edi, 0xa
jl 0x424946
jmp 0x424a2a
test cl, 1
jne 0x4249fe
or ecx, 1
push 0x436ff0
mov dword [0x457bd8], ecx
mov dword [0x457bd4], 0
call fcn.00431596
mov eax, dword [ebp - 0x10]
add esp, 4
push eax
push esi
push str.failed_to_open_pipe___s__to_write_message__error___d_n
jmp 0x424b1f
test edi, edi
jle 0x424a22
push esi
push str.Succeed_to_re_open_pipe___s__to_write_message_n
call fcn.004207d0
push eax
call fcn.0042ab50
add esp, 0xc
test ebx, ebx
je 0x424aea
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x10], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x424a92
mov eax, dword [0x457bd8]
test al, 1
jne 0x424a6c
or eax, 1
push 0x436ff0
mov dword [0x457bd8], eax
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.failed_to_SetNamedPipeHandleState__Pipe:___s___error:__d_n
push 0x457bd4
call fcn.0042ab50
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424b2c
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], 0
call fcn.00405c20
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0040ed00
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x424adf
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x424adf
call edi
push eax
push esi
push str.Failed_to_write_message_to_pipe___s___error__d_n
call fcn.004207d0
push eax
call fcn.0042ab50
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x424b2e
mov eax, dword [0x457bd8]
test al, 1
jne 0x424b12
or eax, 1
push 0x436ff0
mov dword [0x457bd8], eax
mov dword [0x457bd4], 0
call fcn.00431596
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Open_pipe___s__time_out__d_n
push 0x457bd4
call fcn.0042ab50
add esp, 0x10
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.00406f00
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret