joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0041e248
cmp ebx, dword [ebp - 8]
jge 0x470183
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0041e60c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0041e60c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0041e638
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x470149
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47018c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0041e248
cmp ebx, dword [ebp - 8]
jge 0x4701ef
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0041e60c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0041e60c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0041e638
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4701b5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47ba84
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x47ba94
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x47baa9
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x47c0e4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c184
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47c16e
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x47c147
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404270
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x47c135
call sub.wsock32.dll_WSACleanup
cmp dword [ebp - 4], 0
je 0x47c168
mov eax, dword [ebp - 4]
mov edx, 0x47c19c
call fcn.00404484
jne 0x47c16c
xor ebx, ebx
jmp 0x47c16e
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c18b
lea eax, [ebp - 4]
call fcn.00404078
ret
Function at 0x47c1a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffff0
lea eax, [esp + 0xc]
push eax
push 0x47c214
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x47c205
mov dword [esp], 4
push esp
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x47c244
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47c1f2
cmp byte [esp + 4], 1
sete bl
jmp 0x47c1f9
call fcn.0047c0e4
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47c20c
call fcn.0047c0e4
mov ebx, eax
mov eax, ebx
add esp, 0x10
pop ebx
ret

Function at 0x47c63c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404528
xor eax, eax
push ebp
push 0x47c6fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x47c714
call fcn.0040467c
test eax, eax
jne 0x47c684
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x47c720
call fcn.00404384
test bl, bl
je 0x47c6c3
lea edx, [ebp - 8]
mov eax, 0x47c730
call fcn.0047c2bc
cmp dword [ebp - 8], 0
je 0x47c6c3
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404538
push eax
mov eax, dword [ebp - 8]
call fcn.00404538
push eax
push 0x47c738
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x47c6e2
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404538
push eax
push 0x47c738
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c704
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040409c
ret

Function at 0x47c740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47c7f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.00408e18
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040c8d0
mov eax, dword [ebx]
call fcn.0047c804
test al, al
jne 0x47c7d8
lea edx, [ebp - 0x114]
mov eax, dword [0x487fa0]
mov eax, dword [eax]
call fcn.00458a48
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00408a38
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040c8d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c7fd
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.0040409c
ret

Function at 0x47c804
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404538
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x47c81d
test al, 0x10
jne 0x47c821
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x47d94c
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, esi
call fcn.00404538
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x47da06
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x47da10]
fnstsw ax
sahf
je 0x47d9b0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.0047d8f8
fld qword [ebp + 8]
fcomp dword [0x47da10]
fnstsw ax
sahf
je 0x47d9cc
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.0047d8f8
fld qword [ebp + 0x10]
fcomp dword [0x47da10]
fnstsw ax
sahf
je 0x47d9e8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
call fcn.0047d8f8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x47da50
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.00404538
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47daab
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, dword [esp + 8]
call fcn.0047da14
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop ebx
ret

Function at 0x47dab8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x47db3b
push ecx
push edx
push edi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x47db3b
push ebx
push edi
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x47db3b
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_FreeResource
cmp dword [ebp - 8], 0
je 0x47db3b
push ebx
push edi
call sub.kernel32.dll_SizeofResource
test eax, eax
je 0x47db3b
xor edx, edx
push ebp
push 0x47db31
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.00416738
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47db3b
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x47dc38
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
test byte [esp], 1
je 0x47dc4b
add ebx, 0x20
test byte [esp], 2
je 0x47dc54
add ebx, 2
test byte [esp], 4
je 0x47dc5b
inc ebx
test byte [esp], 8
je 0x47dc64
add ebx, 4
test byte [esp], 0x10
je 0x47dc70
add ebx, 0x100
test byte [esp], 0x20
je 0x47dc7c
add ebx, 0x1000
push ebx
mov eax, esi
call fcn.00404538
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
pop edx
pop esi
pop ebx
ret

Function at 0x47ebc0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404528
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x47ed47
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x47ed64
call fcn.0040467c
test eax, eax
jne 0x47ec0b
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x47ed70
call fcn.00404384
mov eax, esi
mov edx, 0x3c
call fcn.0047db70
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.004026ec
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.004026ec
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.004026ec
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.004026ec
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.004026ec
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.004026ec
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404338
push eax
mov eax, dword [ebp - 4]
call fcn.00404538
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x47ed01
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404270
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404270
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404270
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404270
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404270
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404270
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.0040270c
mov eax, dword [esi + 0x2c]
call fcn.0040270c
mov eax, dword [esi + 0x24]
call fcn.0040270c
mov eax, dword [esi + 0x1c]
call fcn.0040270c
mov eax, dword [esi + 0x10]
call fcn.0040270c
mov eax, dword [esi + 4]
call fcn.0040270c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed4e
lea eax, [ebp - 4]
call fcn.00404078
ret
Function at 0x47ef68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x47ef81
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x47ef8e
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x47efac
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47efd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x47f017
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.004042dc
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.004042dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f378
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x47f395
add esp, 0xfffffff0
call fcn.004035c8
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x47f494
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x47f3e2
mov eax, esi
call fcn.00404538
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
mov eax, edi
and eax, 2
cmp eax, 2
je 0x47f3d3
mov eax, edi
and eax, 1
cmp eax, 1
jne 0x47f3e2
push 0x20
mov eax, esi
call fcn.00404538
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
xor eax, eax
mov al, byte [ebp + 0xc]
mov eax, dword [eax*4 + 0x487c28]
push eax
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.00404538
push eax
call sub.kernel32.dll_CreateFileA
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.004168c4
cmp dword [ebx + 4], 0
jge 0x47f465
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00408aec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040b430
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x488118]
mov dl, 1
mov eax, dword [0x412020]
call fcn.0040bd30
call fcn.00403a30
cmp byte [ebp + 8], 0
je 0x47f479
push edi
mov eax, esi
call fcn.00404538
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f49b
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040409c
ret
Function at 0x47fd34
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x47fe51
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.0047fbfc
pop ecx
test al, al
je 0x47fe2c
mov eax, dword [ebp + 8]
push eax
call fcn.0047fa40
pop ecx
test al, al
jne 0x47fe2c
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x47fe2c
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.0047fa80
pop ecx
test al, al
je 0x47fe2c
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004042e8
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004084e0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x188]
cmp esi, 0xc8
je 0x47fdf7
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x47fe2c
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.0047fa80
pop ecx
test al, al
je 0x47fe2c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004042e8
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004084e0
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0047fa40
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe58
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040409c
ret
Function at 0x485120
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485274
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x489ca8]
call fcn.00404538
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4851e7
mov dl, 1
mov eax, dword [0x412bc8]
call fcn.00403274
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4851d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x485280
mov edx, 0x485280
mov eax, dword [0x489664]
call fcn.0047dab8
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4851de
mov eax, dword [ebp - 0x10]
call fcn.004032a4
ret
push 1
push dword [0x489ca8]
push 0x485290
lea edx, [ebp - 0x1c]
mov eax, dword [0x487fa0]
mov eax, dword [eax]
call fcn.00458a48
push dword [ebp - 0x1c]
push 0x48529c
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004043f8
mov eax, dword [ebp - 0x18]
call fcn.00404538
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x264], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x485254
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1fc]
call dword [ebx + 0x1f8]
jmp 0x485259
call fcn.0047db48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48527b
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040409c
ret

Function at 0x485344
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x48542f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x487fa0]
mov eax, dword [eax]
call fcn.00458a48
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00408a38
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040c8d0
lea eax, [ebp - 0x144]
mov edx, 0x485444
call fcn.00404340
mov eax, dword [ebp - 0x144]
call fcn.00404538
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x485411
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.004042e8
mov eax, dword [ebp - 0x150]
call fcn.004089a0
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4853d9
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485436
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.0040409c
ret
Function at 0x423b84
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x14], 1
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x44], 0
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x64616f4c
mov dword [ebp - 0x3c], 0x6f736552
mov dword [ebp - 0x38], 0x65637275
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x40]
push eax
push 0x4092f0
call dword [0x409104]
push eax
call dword [0x4090f4]
mov dword [ebp - 8], eax
push 0x409300
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [0x4090c8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [0x4090e8]
mov dword [ebp - 4], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
call dword [0x4090fc]
cmp dword [ebp + 0x10], 0x65
jne 0x423c2a
mov dword [ebp - 0x1c], 0x843
cmp dword [ebp + 0x10], 0x66
jne 0x423c37
mov dword [ebp - 0x1c], 0x976
push dword [ebp - 4]
call fcn.0042b4e5
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x44]
push dword [ebp - 0x10]
call fcn.0042b4d3
add esp, 0xc
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.00423697
push 0
push dword [ebp + 0x14]
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [fcn.004090c4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x423c94
and dword [ebp - 0x14], 0
jmp 0x423ca9
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [0x4090e0]
cmp dword [ebp - 0x10], 0
je 0x423cbe
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.0042b4df
pop ecx
cmp dword [ebp - 0x44], 0
je 0x423ccd
push dword [ebp - 0x44]
call dword [0x4090cc]
cmp dword [ebp - 0x18], 0xffffffff
je 0x423cdc
push dword [ebp - 0x18]
call dword [fcn.00409110]
mov eax, dword [ebp - 0x14]
leave
ret 0x10
Function at 0x425561
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 4], 0xffffffff
cmp dword [0x40dc64], 0
jne 0x4255ee
push 0x400
call fcn.0042b4e5
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x40dc64], eax
and dword [ebp - 8], 0
jmp 0x425597
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4255ee
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 8
jmp 0x4255b6
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4255dd
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x4255d3
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0xc], eax
jmp 0x4255db
mov eax, dword [ebp - 0xc]
shr eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4255af
mov eax, dword [ebp - 8]
mov ecx, dword [0x40dc64]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
jmp 0x425590
and dword [ebp - 0x14], 0
jmp 0x4255fb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jae 0x425637
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
movsx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x40dc64]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x4255f4
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x426e83
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4