joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6089b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x608a0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608a13
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x608a1c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x608a71
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608a78
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x608ae8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x608b5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0060836c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00561ae8
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x608b47
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608b64
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x608b6c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x608be1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0060836c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x608bcb
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608be8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x61fde0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x61fdfc
call fcn.00621184
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x61fe1b
test bl, 1
je 0x61fe1b
call fcn.00627eb4
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x62404c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.0061ea5c
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.0061eb58
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0061eb58
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x63cad1
lea ecx, [ebp - 0x200]
push ecx
call fcn.0061ea5c
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.0061eb58
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.00625788
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x62415d
push esi
call fcn.0061eb58
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0061eb58
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0061dae0
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x624134
xor eax, eax
jmp 0x6241e4
push esi
call fcn.0061eb58
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0061eb58
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0061e963
add esp, 0xc
jmp 0x62419d
mov edi, dword [ebx + 0x24]
push edi
call fcn.0061eb58
pop ecx
push eax
push esi
call fcn.0061eb58
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0061eb58
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0061db00
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x62419d
xor eax, eax
jmp 0x6241e4
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0061ea5c
add esp, 8
push 0x63cad3
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0061ea5c
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.0061ea5c
add esp, 8
push 0x63cad5
mov edx, dword [ebx + 0x24]
push edx
call fcn.0061ea5c
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x627e48
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x627e75
jmp 0x627eac
call fcn.00627df8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0061eb58
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0061eb58
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x627f30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x63d1dc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x62800a
cmp dword [0x63d1d8], 0
jne 0x62800a
cmp dword [0x63d400], 0
je 0x627fc4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00627638
add esp, 8
mov ebx, eax
test eax, eax
jne 0x627faa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00627638
add esp, 8
mov ebx, eax
test eax, eax
jne 0x627faa
lea ebx, [ebp - 0x84]
jmp 0x627fab
inc ebx
call fcn.00627ee8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x628045
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x63d1e0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0061eb58
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x63d1e3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x628045
cmp dword [0x63d1d8], 0
je 0x628024
cmp dword [0x63d1d8], 0xffffffff
je 0x628045
push esi
call dword [0x63d1d8]
pop ecx
mov eax, dword [0x63d1dc]
test eax, eax
je 0x628045
cmp dword [0x63d1dc], 0xffffffff
je 0x628045
cmp byte [eax], 0
je 0x628045
push esi
push eax
call fcn.00627e48
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x628958
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x65874c], 0
jne 0x6289e4
cmp dword [0x658780], 0
jne 0x628988
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x658780], eax
test eax, eax
jne 0x628988
push str.GetEnvironmentStrings_failed
call fcn.0062805c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x658780]
jmp 0x6289a1
lea eax, [edi + 1]
add edi, edi
add edi, 2
add ebp, eax
inc esi
add ebx, edi
push ebx
call fcn.0061eecc
pop ecx
mov edi, eax
test eax, eax
jne 0x628994
lea edi, [ebp + 1]
mov eax, edi
add eax, eax
push eax
call fcn.0061dae0
pop ecx
mov ebx, eax
mov dword [0x658750], ebx
test ebx, ebx
jne 0x6289cf
xor eax, eax
jmp 0x628aab
add edi, edi
mov edx, dword [0x658780]
push edi
push edx
push ebx
call fcn.0061e760
add esp, 0xc
jmp 0x628a04
xor esi, esi
mov ebx, dword [0x65874c]
jmp 0x6289fe
push eax
call fcn.0061eecc
pop ecx
test eax, eax
jne 0x6289fa
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x6289ee
lea ebx, [esi + 4]
push 4
mov dword [0x658754], ebx
inc ebx
push ebx
call fcn.0061da44
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x628a27
xor eax, eax
jmp 0x628aab
cmp dword [0x65874c], 0
jne 0x628a5c
xor esi, esi
mov ebx, dword [0x658750]
mov eax, dword [esp]
mov ebp, eax
jmp 0x628a4d
mov dword [ebp], ebx
add edi, edi
add ebp, 4
add edi, 2
inc esi
add ebx, edi
push ebx
call fcn.0061eecc
pop ecx
mov edi, eax
test eax, eax
jne 0x628a3f
jmp 0x628a8d
xor esi, esi
mov ebx, dword [0x65874c]
mov eax, dword [esp]
mov edi, eax
jmp 0x628a87
push eax
call fcn.0061eecc
pop ecx
test eax, eax
je 0x628a7c
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x628a80
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x628a6b
mov eax, dword [0x65874c]
test eax, eax
je 0x628a9d
push eax
call fcn.0061daf0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x65874c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40cc7d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4120a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004088d0
and dword [ebp - 0x14], 0
cmp dword [0x4139ec], 0
mov dword [ebp - 0x18], eax
jne 0x40cd30
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cdd8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40cdd8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4139ec], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4139f0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4139f4], eax
call edi
push eax
call esi
mov dword [0x4139fc], eax
test eax, eax
je 0x40cd30
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4139f8], eax
mov eax, dword [0x4139f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cd89
cmp dword [0x4139fc], ecx
je 0x40cd89
push eax
call esi
push dword [0x4139fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cd89
test ebx, ebx
je 0x40cd89
call edi
test eax, eax
je 0x40cd80
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cd80
test byte [ebp - 8], 1
jne 0x40cd89
or dword [ebp + 0x10], 0x200000
jmp 0x40cdbc
mov eax, dword [0x4139f0]
cmp eax, dword [ebp - 0x18]
je 0x40cdbc
push eax
call esi
test eax, eax
je 0x40cdbc
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cdbc
mov eax, dword [0x4139f4]
cmp eax, dword [ebp - 0x18]
je 0x40cdbc
push eax
call esi
test eax, eax
je 0x40cdbc
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4139ec]
call esi
test eax, eax
je 0x40cdd8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cdda
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040556e
leave
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x5cf45c67
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x637970b1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4011d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4011f3
xor al, al
ret
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401226
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
ret
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
ret

Function at 0x401340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.00436fc0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.004775c7
push 0
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call fcn.0047766a
push eax
lea ecx, [esp + 0x18]
call fcn.00437323
test eax, eax
je 0x401430
lea ecx, [esp + 0xc]
call fcn.00437c0c
test eax, eax
jbe 0x4013c9
push eax
push eax
lea ecx, [esp + 0x10]
call fcn.00436808
push eax
lea ecx, [esp + 0x14]
call fcn.00437685
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00436943
lea ecx, [esp + 0xc]
call fcn.004379c1
mov cl, byte [0x4a633a]
mov ax, word [0x4a6338]
mov byte [esp + 6], cl
push 0
lea ecx, [esp + 0xc]
mov word [esp + 8], ax
call fcn.00436808
lea edx, [esp + 4]
push edx
push eax
call fcn.004032a0
add esp, 8
test eax, eax
je 0x401423
mov esi, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00479158
lea eax, [esp + 4]
push eax
push 0
call fcn.004032a0
add esp, 8
test eax, eax
jne 0x401408
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00436943
jmp 0x40144f
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
push 0x4a6328
push ecx
call fcn.0043657c
call fcn.00401140
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0043605c
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0043716e
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.0043605c
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4015c0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub esp, 0x110
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x4b17ac]
push 0
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [0x4b17ac]
lea edx, [esp]
push ecx
push str._c_del__q__s
push edx
call fcn.004033e0
add esp, 0xc
lea eax, [esp]
push 0
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401790
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x490c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 8], esp
push eax
mov dword [esp + 0x58], 1
call fcn.00435c8a
lea ecx, [esp + 8]
push ecx
call fcn.00401530
add esp, 4
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x58], 2
call fcn.00435c8a
call fcn.00401a50
xor ebx, ebx
add esp, 4
cmp al, bl
jne 0x401812
mov eax, dword [esp + 0x58]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x4a635c
call fcn.004360e8
call fcn.00401140
add esp, 8
jmp 0x401877
lea ecx, [esp + 4]
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0047766a
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], eax
call fcn.0047766a
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edx, dword [esp + 0x44]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
mov byte [esp + 0x50], 1
call fcn.0043605c
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], bl
call fcn.0043605c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
call fcn.0043605c
mov ecx, dword [esp + 0x48]
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret

Function at 0x401a50
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490ce8
push eax
mov dword fs:[0], esp
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.0047766a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
setne bl
call fcn.0043605c
mov ecx, dword [esp + 4]
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x401c20
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x490d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebp
push edi
push 0
push 2
mov dword [esp + 0x14c], 0
mov dword [esp + 0x18], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x14]
mov ebp, 0x128
push eax
push edi
mov dword [esp + 0x1c], ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x401ca3
lea ecx, [esp + 0x14c]
mov dword [esp + 0x144], 0xffffffff
call fcn.0043605c
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
add esp, 0x140
ret
push esi
lea ecx, [esp + 0xc]
call fcn.004775c7
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.004775c7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x148], 2
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebp
call fcn.0043630d
lea edx, [esp + 0x150]
lea ecx, [esp + 0x10]
push edx
call fcn.00436256
lea ecx, [esp + 0xc]
call fcn.00436c85
lea ecx, [esp + 0x10]
call fcn.00436c85
push 0
lea ecx, [esp + 0x14]
call fcn.00436808
push 0
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00436808
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401d37
test cl, cl
je 0x401d33
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401d37
add eax, 2
add esi, 2
test cl, cl
jne 0x401d13
xor eax, eax
jmp 0x401d3c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401dd5
lea eax, [esp + 0x18]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401ddb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebp
push ecx
lea ecx, [esp + 0x10]
call fcn.0043630d
lea edx, [esp + 0x150]
lea ecx, [esp + 0x10]
push edx
call fcn.00436256
lea ecx, [esp + 0xc]
call fcn.00436c85
lea ecx, [esp + 0x10]
call fcn.00436c85
push 0
lea ecx, [esp + 0x14]
call fcn.00436808
push 0
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00436808
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401dc8
test cl, cl
je 0x401dc4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401dc8
add eax, 2
add esi, 2
test cl, cl
jne 0x401da4
xor eax, eax
jmp 0x401dcd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401d44
mov esi, dword [esp + 0x20]
jmp 0x401ddf
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.0043605c
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 0
call fcn.0043605c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.0043605c
mov ecx, dword [esp + 0x140]
mov eax, esi
pop esi
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x140
ret

Function at 0x4036a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4036bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4036c4
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4036db
mov ecx, dword [ebp - 4]
push ecx
call fcn.00406210
add esp, 4
or eax, 0xffffffff
jmp 0x4036dd
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41a6c0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41a6dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x41a6e4
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x41a6fb
mov ecx, dword [ebp - 4]
push ecx
call fcn.00406210
add esp, 4
or eax, 0xffffffff
jmp 0x41a6fd
xor eax, eax
mov esp, ebp
pop ebp
ret