joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402640
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push esi
lea ecx, [esp + 4]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push 0x449334
push str.SOFTWARE360Safekiller
push connect
mov dword [esp + 0x20], 4
mov esi, 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40267e
pop esi
add esp, 0xc
ret
lea eax, [esp + 4]
push 4
push eax
push 4
push 0x449334
push str.SOFTWARE360Safekiller
push connect
mov dword [esp + 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x4029a0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x314
push esi
push edi
mov edi, 0x104
lea eax, [esp + 0x218]
push edi
push eax
push 0
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x114]
push ecx
push str.__s___anti
push edi
push edx
call fcn.00407080
add esp, 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.akCheck
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
call esi
test eax, eax
je 0x402a5e
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.killrodog4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
mov dword [esp + 0x20], edi
call esi
test eax, eax
je 0x402a5e
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.killrodog
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
mov dword [esp + 0x20], edi
call esi
test eax, eax
jne 0x402af6
cmp dword [esp + 0xc], 1
jne 0x402af6
mov eax, dword [esp + 8]
test eax, eax
jbe 0x402af6
lea eax, [esp + 0x114]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x402af6
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push str.killrodog4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
call esi
push str.killrodog
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
call esi
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push str.akCheck
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
mov eax, 1
pop esi
add esp, 0x314
ret
pop edi
xor eax, eax
pop esi
add esp, 0x314
ret
Function at 0x404290
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov bl, 1
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x4042ed
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 4]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x40432a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
and edi, 0xffff
push ecx
push edi
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 0x24]
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta bl
test bl, bl
je 0x404361
mov al, byte [esi + 0x54]
push 1
or al, 2
push 0
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x405120
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.CheckedValue
mov ebx, 4
push str.SoftwareMicrosoftWindowsCurrentVersionexplorerAdvancedFolderHiddenSHOWALL
push connect
xor edi, edi
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x405179
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov eax, dword [esp + 0x14]
jne 0x40516f
cmp eax, 1
je 0x405174
cmp eax, 2
jne 0x405179
mov edi, 1
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.CheckedValue
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenNOHIDDEN
push connect
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x4051b8
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov eax, dword [esp + 0x14]
jne 0x4051b2
cmp eax, 1
je 0x4051b7
cmp eax, 2
jne 0x4051b8
inc edi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.Text
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderSuperHidden
push connect
mov dword [esp + 0x24], 0x104
call esi
test eax, eax
jne 0x4051f3
cmp dword [esp + 0x10], 1
jne 0x4051f3
cmp dword [esp + 0xc], 1
jbe 0x4051f3
inc edi
xor eax, eax
cmp edi, 3
setne al
pop edi
pop esi
test eax, eax
pop ebx
je 0x405217
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x405217
call fcn.00405220
mov eax, 1
add esp, 0x110
ret
Function at 0x405ed0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
push 0x40f
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x405f08
push 5
push eax
push eax
push str.http:__baike.360.cn_help.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop esi
ret 0x10
push esi
push 0
push 0x405ec0
call fcn.0041d380
mov ecx, eax
call fcn.0041d5d0
xor eax, eax
pop esi
ret 0x10
Function at 0x406740
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x440058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x449b4c]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 4]
push 0x401
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
mov eax, dword [esp + 0x10]
mov esi, edi
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x4067a1
cmp edi, dword [eax - 4]
jle 0x4067e3
mov ebx, dword [eax - 8]
cmp edi, ebx
jge 0x4067aa
mov esi, ebx
test esi, esi
jne 0x406869
mov eax, dword [0x449b4c]
lea ecx, [ebx + 1]
lea edx, [ebp + 0xc]
push ecx
inc esi
push edx
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.00406910
mov eax, dword [esp + 0x20]
add esp, 0x10
push ebp
mov dword [eax - 8], ebx
call fcn.00406d40
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
push 0x401
push ecx
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp eax, 1
jle 0x406841
lea ecx, [esp + 0x10]
call fcn.00406d00
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.00406a40
test eax, eax
je 0x406841
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc ecx
add esi, 0xc
mov edx, dword [eax - 4]
push ecx
inc edx
push esi
push edx
push eax
call fcn.00406910
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
test esi, esi
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov byte [eax + edx], 0
jne 0x406899
xor eax, eax
jmp 0x40689c
lea edx, [esi + 0xd]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x406892
mov dword [eax], 1
mov byte [eax + esi + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
jmp 0x4067b7
xor eax, eax
jmp 0x4067df
push esi
call edi
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00406b60
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push eax
push 0x401
push ecx
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x449b50]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x4068f1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4068f1
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.0043fa08
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x406fb0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x40706b
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
lea ecx, [esp + 4]
push 0x5c
push ecx
call esi
add esp, 8
test eax, eax
jne 0x406ff7
lea edx, [esp + 4]
push 0x2f
push edx
call esi
add esp, 8
test eax, eax
je 0x40706b
mov ecx, dword [esp + 0x110]
inc eax
push ecx
push str.tools_s
push 0x104
push eax
call fcn.00407080
add esp, 0x10
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40706b
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x40705e
lea edx, [esp + 4]
mov esi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x407056
mov byte [eax], cl
inc eax
dec esi
jne 0x407038
dec eax
pop esi
mov byte [eax], 0
mov eax, 1
add esp, 0x104
ret
test esi, esi
jne 0x40705b
dec eax
mov byte [eax], 0
mov eax, 1
pop esi
add esp, 0x104
ret
xor eax, eax
pop esi
add esp, 0x104
ret
Function at 0x407e50
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4401ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x441724
lea edi, [esi + 0x448]
mov dword [esp + 0x28], 0xb
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x464]
xor ebx, ebx
cmp eax, ebx
je 0x407ea6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x464], ebx
mov eax, dword [esi + 0x468]
cmp eax, ebx
je 0x407eb8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ebp, dword [esi + 0x47c]
lea edi, [esi + 0x478]
mov eax, dword [ebp]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x407f01
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0043e4d0
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.0040d0c0
cmp dword [esp + 0x10], ebp
jne 0x407edd
mov eax, dword [edi + 4]
push eax
call fcn.0043fa08
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ebp, dword [esi + 0x470]
lea edi, [esi + 0x46c]
add esp, 4
mov byte [esp + 0x28], 0xa
mov eax, dword [ebp]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x407f53
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0043e4d0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.0040d050
cmp dword [esp + 0x10], ebp
jne 0x407f2f
mov eax, dword [edi + 4]
push eax
call fcn.0043fa08
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x440]
lea edi, [esi + 0x43c]
add esp, 4
mov byte [esp + 0x28], 9
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x20]
push ecx
push eax
mov ecx, edi
call fcn.0040ccc0
mov eax, dword [edi + 4]
push eax
call fcn.0043fa08
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x434]
lea edi, [esi + 0x430]
add esp, 4
mov byte [esp + 0x28], 8
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0040cc30
mov eax, dword [edi + 4]
push eax
call fcn.0043fa08
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x418]
lea edi, [esi + 0x414]
add esp, 4
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
mov byte [esp + 0x28], 7
push eax
push ecx
push edx
mov ecx, edi
call fcn.0040ccc0
mov eax, dword [edi + 4]
push eax
call fcn.0043fa08
add esp, 4
lea ecx, [esi + 0x3ec]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x28], 6
call fcn.00406fa0
lea ecx, [esi + 0x394]
mov byte [esp + 0x28], 5
call fcn.0040bf80
lea ecx, [esi + 0x36c]
mov byte [esp + 0x28], 4
call fcn.00405900
lea ecx, [esi + 0x34c]
mov byte [esp + 0x28], 3
call fcn.00404b90
lea ecx, [esi + 0x218]
mov byte [esp + 0x28], 2
call fcn.00402220
lea ecx, [esi + 0x9c]
mov byte [esp + 0x28], 1
call fcn.00407690
lea ecx, [esi + 0x20]
mov byte [esp + 0x28], bl
call fcn.0040dfb0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4086e8
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x440218
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x40c]
test eax, eax
je 0x40870b
push 0
push eax
call edi
mov dword [esi + 0x40c], 0
mov eax, dword [esi + 0x410]
test eax, eax
je 0x408724
push 0
push eax
call edi
mov dword [esi + 0x410], 0
mov eax, dword [0x47c56c]
test eax, eax
je 0x408784
lea ecx, [esp + 8]
call fcn.0040d4b0
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x47c580
call fcn.004087e0
mov eax, dword [0x47c588]
push 0
push 0x404820
push edi
push 0xec
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040d5d0
mov edx, dword [esi + 0x350]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
push edx
call edi
mov eax, dword [esi + 0x21c]
push eax
call edi
mov ecx, dword [esi + 0x370]
push ecx
call edi
mov edx, dword [esi + 0x24]
push edx
call edi
mov eax, dword [esi + 0xa0]
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 4]
push edx
call edi
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10

Function at 0x408ae0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x47c570]
sub esp, 0x1c
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x408b87
push 0x44a1e8
push ebp
mov dword [0x47c570], 1
call fcn.00408d10
push ebp
push 0
push 0x408a70
call dword [sym.imp.MSVCRT.dll__beginthread]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x408b79
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xa
push esi
call edi
cmp eax, 0x102
jne 0x408b79
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call ebx
test eax, eax
je 0x408b63
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esp + 0x14], 0x519
je 0x408b94
push 0xa
push esi
call edi
cmp eax, 0x102
je 0x408b3a
push 0x47c558
push ebp
call fcn.00408d10
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
Function at 0x408c90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 8
mov ecx, dword [esi + 0x390]
push eax
push ebp
push 0x1305
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x408cfc
mov edx, dword [esi + 0x408]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov eax, dword [edx]
mov edi, dword [esp + 0x28]
push 0
push eax
call ebx
mov ecx, dword [edi]
push 5
push ecx
call ebx
mov edx, dword [esi + 0x390]
push 0
push ebp
push 0x130c
push edx
mov dword [esi + 0x408], edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1c
ret 4
Function at 0x409500
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x238
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24c]
push edi
xor ebx, ebx
push esi
mov edi, ecx
push ebx
push 0x18
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x40953a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238
ret 8
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
jne 0x409563
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x238
ret 8
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x224
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4096ed
mov ebp, dword [esp + 0x24c]
xor esi, esi
lea ecx, [esp + 0x144]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.00409710
lea edx, [esp + 0x144]
push edx
push ebp
push 0x44a288
push edi
call fcn.00408d10
add esp, 0x10
lea eax, [esp + 0x144]
mov ecx, edi
push eax
call fcn.004092f0
test eax, eax
jne 0x4096c5
push eax
mov dword [esp + 0x20], eax
call fcn.004197a0
mov edi, eax
add esp, 4
test edi, edi
je 0x409691
mov edx, dword [edi]
mov ecx, edi
call dword [edx]
test al, 2
je 0x409663
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x148]
push esi
push edx
push ebp
mov ecx, edi
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0xfffffffe
jne 0x40965f
test esi, esi
jne 0x409683
mov eax, dword [esp + 0x3c]
push 4
push 0x1000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x4096b0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40967f
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
push eax
lea ecx, [esp + 0x148]
push esi
push ecx
push ebp
mov ecx, edi
call dword [edx + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x40967f
mov eax, dword [esp + 0x1c]
inc eax
push eax
mov dword [esp + 0x20], eax
call fcn.004197a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4095e0
test esi, esi
je 0x409691
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp ebx, 0xffffffff
je 0x4096e9
cmp ebx, 1
jl 0x4096b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x144]
push edi
push edx
push ebx
call fcn.00409950
jmp 0x4096c1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x144]
push eax
call fcn.00409340
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x424]
test eax, eax
je 0x4096d2
or ebx, 0xffffffff
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x409585
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x238
ret 8
Function at 0x409c40
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov edi, ecx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x409cb5
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x409cae
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.00409500
cmp eax, 0xffffffff
je 0x409cab
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x409c73
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x128
ret
or ebx, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x128
ret

Function at 0x40ac00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x104
lea ecx, [esp]
lea eax, [esp]
push esi
mov esi, 0x104
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x40ac29
mov byte [eax], cl
inc eax
dec esi
jne 0x40ac1a
jmp 0x40ac2d
test esi, esi
jne 0x40ac2e
dec eax
lea edx, [esp + 4]
push edi
push edx
mov byte [eax], 0
call dword [sym.imp.ntdll.dll__strupr]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 8]
mov edx, 0x811c9dc5
mov eax, ecx
pop edi
je 0x40ac6b
movsx ecx, byte [esi]
imul edx, edx, 0x1000193
xor edx, ecx
inc esi
dec eax
jne 0x40ac5c
mov eax, edx
pop esi
add esp, 0x104
ret 4
Function at 0x40be10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 8], esi
mov ecx, dword [esi + 0x418]
mov dword [ebp - 0xc], eax
mov ebx, dword [ecx]
cmp ebx, ecx
mov dword [ebp - 0x10], ebx
je 0x40bf73
jmp 0x40be41
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
add ebx, 0xc
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov eax, dword [esi + 0x47c]
mov esi, dword [eax]
cmp esi, eax
mov dword [ebp - 4], esi
je 0x40bf57
jmp 0x40be88
mov esi, dword [ebp - 4]
test ebx, ebx
jne 0x40be90
xor edi, edi
jmp 0x40bec0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 4]
lea eax, [esi + 0x10c]
push edi
push eax
call dword [sym.imp.ntdll.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x40bf4a
lea ecx, [ebp - 0x114]
test ecx, ecx
jne 0x40bee3
xor edi, edi
jmp 0x40bf1f
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov edi, esp
push esi
push edi
lea eax, [ebp - 0x114]
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 4]
lea eax, [esi + 0x10c]
push edi
push eax
call dword [sym.imp.ntdll.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x40bf4a
mov ecx, dword [ebp - 8]
mov esi, dword [esi]
mov dword [ebp - 4], esi
cmp esi, dword [ecx + 0x47c]
jne 0x40be85
jmp 0x40bf57
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
mov edx, dword [ecx + 0x418]
cmp eax, edx
mov dword [ebp - 0x10], eax
jne 0x40be3b
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0x120]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret