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

Disassembly:
mov eax, 0x42555b
call fcn.00421088
mov eax, dword [ebp + 0xc]
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
cmp eax, 0xf
je 0x4078cb
cmp eax, 0x318
je 0x4078da
cmp eax, 0x14
jne 0x407853
xor eax, eax
inc eax
jmp 0x407959
cmp eax, 0x202
jne 0x407896
push 1
xor ebx, ebx
push ebx
push ebx
lea eax, [edi + 0x628]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
movzx eax, word [edi]
setge cl
push ecx
push eax
push 0x111
push dword [edi + 0x610]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x407957
cmp eax, 0x200
jne 0x4078b6
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x407957
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x407959
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x4078dd
mov eax, dword [ebp + 0x10]
push eax
lea esi, [ebp - 0x28]
call fcn.00406be7
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
mov dword [ebp - 0x18], ebx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
fld dword [0x42bc5c]
lea esi, [edi + 4]
fst dword [ebp - 0x20]
push esi
fstp dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi + 0x624]
mov edi, dword [edi + 0x620]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
call fcn.00406c37
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
mov byte [ebp - 4], bl
push dword [ebp - 0x18]
call sub.gdiplus.dll_GdipDeleteStringFormat
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x28]
call sub.gdiplus.dll_GdipDeleteGraphics
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x407ae4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 4], 0x1388
call fcn.0040cdd0
lea eax, [esi + 4]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x20c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x414]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffbc0
add eax, 0x440
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], str.open
mov dword [ebp - 0x24], 9
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp byte [ebp + 8], 0
mov eax, dword [ebp - 8]
mov dword [esi + 0x418], eax
je 0x407b65
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
lea edi, [esi + 0x41c]
mov ebx, 0x103
push edi
push dword [esi + 0x418]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [edi], ebx
jne 0x407b96
sub dword [ebp - 4], 0x64
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
jne 0x407b71
cmp dword [edi], ebx
pop ebx
jne 0x407b9c
and dword [edi], 0
xor eax, eax
cmp dword [ebp - 0x20], 0x20
pop edi
setg al
leave
ret 4

Function at 0x408501
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40850f
push 0xd
pop eax
jmp 0x408542
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x408516
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x408546
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x42551f
call fcn.00421088
sub esp, 0x21c
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
mov eax, dword [esi + 4]
push dword [esi]
or eax, 0x2001f
lea ecx, [ebp - 0x14]
call fcn.004084c3
mov ebx, eax
cmp ebx, edi
je 0x4085ac
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], edi
je 0x408596
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4085ca
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408546
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x408622
lea eax, [ebp - 0x24]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x228]
push eax
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], pe_nt_image_headers32
call ebx
test eax, eax
je 0x4085b4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], edi
je 0x408600
push dword [ebp - 0x14]
call ebx
mov dword [ebp - 0x14], edi
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
call fcn.00408453
mov esi, eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], edi
je 0x40861e
push dword [ebp - 0x14]
call ebx
mov dword [ebp - 0x14], edi
mov eax, esi
jmp 0x40863a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], edi
je 0x408637
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
jmp 0x40859b
Function at 0x4089fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x425e83
call fcn.00421088
sub esp, 0x420
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x408a4e
call fcn.004011b2
mov esi, eax
jmp 0x408b6a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x408a6b
call fcn.004011b2
jmp 0x408b5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x408a61
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp + 8], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x408ab8
mov byte [ebp - 4], bl
lea eax, [ebp - 0x428]
cmp dword [ebp - 0x42c], eax
je 0x408aaa
lea eax, [ebp - 0x42c]
call fcn.0040a62e
or dword [ebp - 4], 0xffffffff
mov eax, 0x8007000e
jmp 0x408b8c
mov byte [ebp - 4], 2
push 2
pop ecx
mul ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp edx, ebx
ja 0x408ad0
cmp eax, 0xffffffff
jbe 0x408ada
push 0x80070057
call fcn.004010d5
cmp eax, 0x400
jbe 0x408af0
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0040a637
jmp 0x408afc
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 1
jmp 0x408b17
cmp dword [ebp - 0x42c], ebx
jne 0x408b26
mov esi, 0x8007000e
jmp 0x408b61
push esi
push dword [ebp - 0x42c]
push esi
push dword [ebp + 0xc]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x408a61
xor ecx, ecx
mov edx, dword [ebp - 0x42c]
mov word [edx + eax*2], cx
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x42c]
lea edx, [ebp - 0x1c]
call fcn.004095a6
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x428]
cmp dword [ebp - 0x42c], eax
je 0x408b86
lea eax, [ebp - 0x42c]
call fcn.0040a62e
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40a0c8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00416990
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, esi
jne 0x40a10b
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x40a194
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1008]
push eax
push 0x22
push edi
mov dword [ebp - 8], 0x800
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
inc bl
call edi
push dword [ebp - 4]
call edi
test bl, bl
pop ebx
je 0x40a189
push str..exe
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
lea eax, [ebp - 0x1008]
je 0x40a183
push 0x2f
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x40a104
push 0x104
add eax, 2
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov al, 1
jmp 0x40a194
push dword [ebp + 0xc]
push eax
jmp 0x40a18f
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a012
pop edi
pop esi
leave
ret 8

Function at 0x40a8f2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x425b86
call fcn.00421088
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 4]
push 4
mov dword [ebp - 0x10], edi
call fcn.0040ea8f
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x40a91e
mov dword [eax], edi
jmp 0x40a920
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov dword [ebp - 4], 2
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push 0x104
push dword [ebp + 0x14]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], eax
mov byte [esi], bl
mov byte [esi + 0x238], bl
mov byte [esi + 0x239], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x40bc49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f0
push ebx
mov ebx, dword [0x435f58]
push esi
push edi
mov esi, eax
push esi
call fcn.00401920
lea edi, [esi + 0x5ec]
cmp byte [edi], 0
jne 0x40bc7b
lea eax, [esi + 0x64]
push eax
call fcn.00420af2
pop ecx
mov byte [edi], 1
push str.ac_gui_1.23.357
mov eax, ebx
call fcn.00401972
push eax
lea eax, [esi + 0x64]
push eax
push esi
push 0x42b29c
lea eax, [ebp - 0x5ec]
push 0x1f4
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x5ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov ebx, 0x3fffffff
cmp eax, ebx
jle 0x40bcc2
xor edi, edi
jmp 0x40bcdf
lea edi, [eax + eax]
mov eax, edi
call fcn.00417cb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x5ec]
push eax
call fcn.00401076
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 8], 0
push edi
call esi
test eax, eax
jle 0x40bd03
mov eax, dword [ebp - 8]
add eax, edi
xor byte [eax], 0x83
inc dword [ebp - 8]
push edi
call esi
cmp dword [ebp - 8], eax
jl 0x40bcf0
push 0x1f3
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.0040cdd0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x204]
push eax
push edi
mov dword [ebp - 8], 0x1f4
call esi
push eax
push edi
call fcn.004016d5
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call esi
mov edi, eax
inc edi
cmp edi, ebx
jle 0x40bd53
xor eax, eax
jmp 0x40bd6c
lea eax, [edi + edi]
call fcn.00417cb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x204]
push eax
call fcn.00401043
push eax
push 0x1f4
lea eax, [ebp - 0x5ec]
push eax
call fcn.00401b10
lea eax, [ebp - 0x5ec]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea esp, [ebp - 0x5fc]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40bd9b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
push esi
push edi
push 0x10
pop ecx
mov esi, str.SOFTWAREMozillaMozilla_Firefox
lea edi, [ebp - 0xd8]
rep movsd dword es:[edi], dword [esi]
push 0x86
xor ebx, ebx
lea eax, [ebp - 0x96]
push ebx
push eax
mov dword [ebp - 0x10], 0x104
movsw word es:[edi], word [esi]
call fcn.0040cdd0
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xd8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40bebc
push 0x206
mov word [ebp - 0x2e0], ax
lea eax, [ebp - 0x2de]
push ebx
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0x104
call fcn.0040cdd0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.CurrentVersion
push dword [ebp - 4]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40beb7
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0xd8]
push eax
push str._s_sMain
push 0xc8
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xd8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40beb7
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push ebx
push str.Install_Directory
push dword [ebp - 4]
mov dword [ebp - 8], 1
call esi
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call edi
push dword [ebp - 4]
call edi
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x40bec3
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, str.firefox.exe
push esi
call fcn.0040c0de
pop ecx
test eax, eax
jne 0x40bed8
xor al, al
pop esi
ret
push ebx
xor eax, eax
push eax
push eax
push str._im_firefox.exe__F
push str.taskkill.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
sbb bl, bl
inc bl
je 0x40bf03
push esi
call fcn.0040c09e
pop ecx
mov al, bl
pop ebx
pop esi
ret
Function at 0x40bf51
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x42a4b0
call fcn.0040c0de
pop ecx
test eax, eax
jne 0x40bf6a
xor al, al
leave
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [ebp - 8], 0x14
mov ebx, 0xf060
mov edi, 0x112
push 0
push str.Chrome_WidgetWin_0
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetParent]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], ecx
jne 0x40bfa9
cmp eax, ecx
je 0x40bfc9
push ecx
push ebx
push edi
push dword [ebp - 4]
call esi
push 0
push ebx
push edi
push dword [ebp - 0xc]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [ebp - 8]
jne 0x40bf84
xor ecx, ecx
push ecx
push ecx
push str._im_chrome.exe__F
push str.taskkill.exe
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
sbb bl, bl
inc bl
je 0x40bff5
push 0x42a4b0
call fcn.0040c09e
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x40bffc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
call fcn.0042081f
mov ebx, eax
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x40c02c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x40c09b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.InstallLocation
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40c062
push dword [ebp - 4]
jmp 0x40c022
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push ebx
call esi
push str.chrome.exe
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov al, 1
pop esi
pop ebx
leave
ret

Function at 0x40c09e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, eax
push dword [ebp + 8]
call fcn.0040c0de
pop ecx
test eax, eax
je 0x40c0d2
push 0x64
call edi
call esi
sub eax, ebx
cmp eax, 0xbb8
jbe 0x40c0b4
jmp 0x40c0d9
push 0x1f4
call edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40c0de
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c0fe
xor eax, eax
jmp 0x40c157
lea eax, [ebp - 0x22c]
push eax
push esi
mov dword [ebp - 0x22c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40c142
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40c148
lea eax, [ebp - 0x22c]
push eax
push esi
mov dword [ebp - 0x22c], 0x22c
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c117
jmp 0x40c14e
mov ebx, dword [ebp - 0x224]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x40c1fc
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.0040cdd0
push 0x42a4b0
xor edi, edi
call fcn.0040c0de
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
add esp, 0x10
test eax, eax
je 0x40c24d
push str.___Google_Chrome_r_n
lea eax, [ebp - 0x210]
push eax
call esi
inc edi
push str.firefox.exe
call fcn.0040c0de
pop ecx
test eax, eax
je 0x40c26b
push str.___Mozilla_Firefox
lea eax, [ebp - 0x210]
push eax
call esi
inc edi
cmp edi, ebx
jne 0x40c276
mov al, 1
jmp 0x40c30b
mov dword [ebp - 8], str.programs
cmp edi, 1
ja 0x40c289
mov dword [ebp - 8], str.program
push dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 8]
mov edi, 0x104
push str.Following__s_must_be_closed_in_order_to_continue:_r_n_r_n_s_r_n_r_nPress__Close_now__to_close__s_automatically__or__Retry__after_you_closed_the_open__s_manually.
lea eax, [ebp - 0x620]
push edi
push eax
call esi
push dword [ebp - 8]
lea eax, [ebp - 0x418]
push str.Close_active__s
push edi
push eax
call esi
add esp, 0x2c
push ebx
push ebx
lea eax, [ebp - 0x418]
push eax
push 0x40c1e1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x24
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x620]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
cmp eax, 6
push esi
sete byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2210
call fcn.00416990
push ebx
push esi
push edi
xor eax, eax
push 0x1ffe
mov word [ebp - 0x220c], ax
xor ebx, ebx
lea eax, [ebp - 0x220a]
push ebx
push eax
call fcn.0040cdd0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x220c]
push str.http:__www.arcadecandy.com_aj_ty.php_p_s
push 0x1000
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
call fcn.0040c4e3
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, str.open
cmp eax, 0x3ea
jne 0x40c3a3
cmp byte [ebp + 0xc], bl
je 0x40c3f5
lea eax, [ebp - 0x20c]
push eax
call fcn.0040bf08
pop ecx
test al, al
je 0x40c3f5
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0040c628
pop ecx
pop ecx
test al, al
jne 0x40c3ea
push 9
push ebx
push ebx
jmp 0x40c3df
cmp eax, 0x3eb
jne 0x40c3f5
cmp byte [ebp + 0x10], bl
je 0x40c3f5
lea eax, [ebp - 0x20c]
push eax
call fcn.0040bffc
pop ecx
test al, al
je 0x40c3f5
lea eax, [ebp - 0x20c]
push str.__restore_last_session
push eax
call fcn.0040c628
pop ecx
pop ecx
test al, al
jne 0x40c3ea
push 9
push ebx
push str.__restore_last_session
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call esi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x220c]
push ebx
push eax
call fcn.0040c628
pop ecx
pop ecx
cmp al, bl
jne 0x40c43e
lea eax, [ebp - 0x220c]
push ebx
push eax
call fcn.0040c628
pop ecx
pop ecx
cmp al, bl
jne 0x40c43e
push 9
push ebx
push ebx
lea eax, [ebp - 0x220c]
push eax
push edi
push ebx
call esi
cmp eax, 0x20
jg 0x40c43e
push 9
push ebx
push ebx
lea eax, [ebp - 0x220c]
push eax
push edi
push ebx
call esi
pop edi
pop esi
xor al, al
pop ebx
leave
ret
Function at 0x40c4e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x1f4
call fcn.0042081f
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [ebp - 8]
push ecx
mov edi, str.SoftwareClientsStartMenuInternet
push edi
push eax
mov dword [ebp - 0x14], eax
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jl 0x40c56a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jl 0x40c55f
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40c55f
mov byte [ebp - 1], 1
push dword [ebp - 8]
call ebx
cmp byte [ebp - 1], 0
jne 0x40c5c7
lea eax, [ebp - 8]
push eax
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jl 0x40c5ba
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jl 0x40c5af
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40c5af
mov byte [ebp - 1], 1
push dword [ebp - 8]
call ebx
cmp byte [ebp - 1], 0
jne 0x40c5c7
lea eax, [ebp - 0x3fc]
push eax
call fcn.0040c445
pop ecx
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.IExplore.exe
lea eax, [ebp - 0x3fc]
push eax
call esi
test eax, eax
je 0x40c5e6
mov esi, 0x3e9
jmp 0x40c61c
push str.FIREFOX.EXE
lea eax, [ebp - 0x3fc]
push eax
call esi
test eax, eax
je 0x40c5ff
mov esi, 0x3ea
jmp 0x40c61c
push str.Chrome
lea eax, [ebp - 0x3fc]
push eax
call esi
mov esi, eax
neg esi
sbb esi, esi
and esi, 2
add esi, 0x3e9
push dword [ebp - 0x14]
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4128bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433420]
jne 0x4128c9
repz ret
jmp fcn.004164bc