joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408008
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40805a
test eax, edx
je 0x40805d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40801d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408043
add ecx, 4
js 0x408033
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408040
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408069
test edx, edx
jne 0x408010
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004052b4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40887d
test al, 0x10
je 0x408881
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408888
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004052b4
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4088aa
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40b4cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b505
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404f14
jmp 0x40b50e
mov eax, ebx
mov edx, esi
call fcn.00404e78
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b518
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b53a
movzx eax, byte [esp]
jmp 0x40b53c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40bbcc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ba44
mov eax, dword [0x43a764]
cmp byte [eax], 0
je 0x40bc48
mov eax, dword [0x43a648]
call fcn.0040366c
call fcn.00402f98
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408cbc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bc90
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bc7e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x43a620]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x43d7f0]
call fcn.00405f60
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x414f68
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00414ca4
dec esi
jne 0x414f8a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x415a60
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x415af2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2000000
push 3
push 0
push 0
push pe_nt_image_headers32
mov eax, ebx
call fcn.004052b4
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x28]
call fcn.00409eb0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415af9
ret
Function at 0x415b04
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x415cc1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, 0x43fa30
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00405094
mov eax, 0x43fa24
call fcn.00404e24
mov ecx, 0x43fa24
mov edx, 0x415cd8
mov eax, 0x80000001
call fcn.004162e0
mov eax, 0x43fa24
mov edx, 0x415d2c
call fcn.004050f0
mov eax, 0x43fa38
call fcn.00404e24
mov ecx, 0x43fa38
mov edx, 0x415d38
mov eax, 0x80000002
call fcn.004162e0
mov eax, dword [0x43fa24]
call fcn.00408ca0
lea edx, [ebp - 0x104]
mov eax, dword [0x43fa30]
call fcn.00408a4c
mov edx, dword [ebp - 0x104]
mov eax, 0x43fa34
call fcn.00404e78
mov eax, 0x43fa3c
call fcn.00404e24
mov eax, 0x43fa44
call fcn.00404e24
mov eax, 0x43fa48
call fcn.00404e24
mov ecx, 0x43fa44
mov edx, 0x415d7c
mov eax, 0x80000001
call fcn.004162e0
mov ecx, 0x43fa48
mov edx, 0x415da4
mov eax, 0x80000001
call fcn.004162e0
mov eax, 0x43fa40
call fcn.00404e24
mov ecx, 0x43fa40
mov edx, 0x415dcc
mov eax, 0x80000001
call fcn.004162e0
mov eax, 0x43fa3c
mov ecx, dword [0x43fa48]
mov edx, dword [0x43fa44]
call fcn.0040513c
mov eax, dword [0x43fa3c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x415c55
sub eax, 4
mov eax, dword [eax]
mov esi, eax
cmp si, 1
jbe 0x415ca8
movzx eax, si
mov edx, dword [0x43fa3c]
cmp byte [edx + eax - 1], 0x5c
je 0x415ca8
push 0x43fa3c
movzx ecx, si
dec ecx
mov edx, 1
mov eax, dword [0x43fa3c]
call fcn.0040531c
mov edi, dword [0x43fa3c]
mov dword [ebp - 0x108], edi
mov ebx, dword [ebp - 0x108]
test ebx, ebx
je 0x415ca0
sub ebx, 4
mov ebx, dword [ebx]
mov esi, ebx
cmp si, 1
ja 0x415c5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415cc8
lea eax, [ebp - 0x104]
call fcn.00404e24
ret
Function at 0x415dec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x415ef2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4111d8]
call fcn.0040418c
mov esi, eax
lea eax, [ebp - 0x10]
call fcn.00415f24
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00404e24
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x415ed7
inc eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004052b4
push eax
call sub.kernel32.dll_GetDriveTypeA
movzx edx, word [ebp - 2]
cmp eax, edx
jne 0x415ecd
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x415f08
call fcn.0040524c
je 0x415ecd
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, 0x415f14
call fcn.0040524c
je 0x415ecd
mov eax, dword [ebp - 8]
push dword [eax]
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x20]
push 0x415f20
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.004051b8
inc ebx
dec dword [ebp - 0xc]
jne 0x415e4f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415ef9
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00404e48
ret

Function at 0x415f24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x415f9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404e24
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
test eax, edi
je 0x415f81
push dword [esi]
lea eax, [ebp - 4]
mov edx, ebx
add dl, 0x41
call fcn.0040500c
push dword [ebp - 4]
push 0x415fb4
push 0x415fc0
mov eax, esi
mov edx, 4
call fcn.004051b8
inc ebx
cmp ebx, 0x1a
jne 0x415f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415fa4
lea eax, [ebp - 4]
call fcn.00404e24
ret
Function at 0x4161a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x4162cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.00416138
mov esi, eax
test esi, esi
jle 0x4162b0
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040531c
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4162b0
mov edi, dword [ebp - 4]
test edi, edi
je 0x416224
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.0040531c
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004052b4
mov edi, eax
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4162a7
mov eax, dword [ebp - 0x18]
call fcn.00402e3c
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4162a0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x416297
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x4162a7
mov eax, esi
call fcn.00402e58
jmp 0x4162a7
mov eax, esi
call fcn.00402e58
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4162d2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e48
ret
Function at 0x416378
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x41645e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.00416138
mov esi, eax
test esi, esi
jle 0x416443
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040531c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x416443
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416402
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.0040531c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416465
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e48
ret

Function at 0x416b38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004052b4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x416b90
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x43a808]
mov dl, 1
mov eax, dword [0x416644]
call fcn.0040bd8c
call fcn.004047b8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041674c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x419b34
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 4
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dword [edx], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax], 0
setne al
pop ebp
ret
Function at 0x419c0c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_SetEndOfFile_1
pop ebp
ret

Function at 0x419ed4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x419fba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x419f44
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00405094
mov edx, dword [ebp - 0x10c]
mov eax, ebx
mov ecx, 0x419fd0
call fcn.0040513c
jmp 0x419f4b
mov eax, ebx
call fcn.00404e24
push dword [ebx]
push 0x419fdc
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 8
call fcn.0041b8c8
push dword [ebp - 0x110]
lea eax, [ebp - 0x114]
push eax
mov cl, 0x30
mov edx, 1
mov eax, esi
call fcn.0041b8c8
push dword [ebp - 0x114]
push 0x419ff0
mov eax, ebx
mov edx, 5
call fcn.004051b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419fc1
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404e48
ret

Function at 0x419ff4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x41a075
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x41a05a
mov eax, dword [esi]
add eax, 8
call fcn.00419ff4
mov ebx, dword [esi]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [esi], eax
cmp byte [ebx + 0x14], 0
jne 0x41a04d
cmp dword [ebx + 0x1d], 0
je 0x41a04d
mov eax, dword [ebx + 0x1d]
push eax
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00419ed4
mov eax, dword [ebp - 4]
call fcn.004052b4
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, dword [0x419ad4]
mov eax, ebx
call fcn.00405c88
cmp dword [esi], 0
jne 0x41a00d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a07c
lea eax, [ebp - 4]
call fcn.00404e24
ret
Function at 0x41a324
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x41a47f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
lea edi, [esi + ebx]
mov eax, edi
mov edx, 4
call fcn.00419afc
mov dword [ebp - 0x10], eax
mov eax, edi
add eax, dword [ebp + 8]
test eax, eax
jbe 0x41a461
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
call fcn.00419ed4
mov eax, dword [ebp - 0x30]
call fcn.004052b4
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x41a453
push 0
push 0
mov eax, edi
mov edx, 4
call fcn.00419afc
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetEndOfFile_1
push 0
push 0
push 0
push 4
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41a44a
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41a441
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, edi
mov edx, 4
call fcn.00419afc
add eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
xchg edx, eax
call fcn.00403900
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.0041a104
pop ecx
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
call fcn.004052b4
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a486
lea eax, [ebp - 0x30]
call fcn.00404e24
lea eax, [ebp - 0x18]
call fcn.00404e24
ret
Function at 0x41ad14
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41add7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x14]
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 0x15], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x19], eax
xor eax, eax
mov dword [ebx + 0x21], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x8000
jbe 0x41adad
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00419ed4
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
mov dword [ebx + 0x1d], esi
cmp esi, 0xffffffff
je 0x41ada6
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
jmp 0x41adc1
xor eax, eax
mov dword [ebx + 0x1d], eax
jmp 0x41adc1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
lea eax, [ebx + 0x10]
call fcn.00404f14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41adde
lea eax, [ebp - 8]
call fcn.00404e24
ret

Function at 0x41af90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
xor ecx, ecx
push ebp
push 0x41b051
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea edi, [edx + 1]
sub edi, 2
test edi, edi
jl 0x41b03b
inc edi
mov ebx, eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.00405720
jne 0x41afd7
mov eax, dword [ebx + 4]
mov eax, dword [eax]
dec dword [eax + 0x25]
jmp 0x41afdf
mov eax, dword [ebx + 4]
mov eax, dword [eax]
dec dword [eax + 0x21]
mov eax, dword [ebx]
mov eax, dword [eax]
mov esi, eax
mov eax, dword [eax + 0xc]
mov edx, dword [ebx]
mov dword [edx], eax
cmp byte [esi + 0x14], 0
jne 0x41b019
cmp dword [esi + 0x1d], 0
je 0x41b019
mov eax, dword [esi + 0x1d]
push eax
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 8]
mov eax, esi
call fcn.00419ed4
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, dword [0x419ad4]
mov eax, esi
call fcn.00405c88
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x25]
add edx, dword [eax + 0x21]
test edx, edx
ja 0x41b03b
add ebx, 4
dec edi
jne 0x41afbd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b058
lea eax, [ebp - 8]
call fcn.00404e24
ret
Function at 0x41b6c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
xor edx, edx
push ebp
push 0x41b6f8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [eax], 0x5a4d
jne 0x41b6ee
lea edx, [eax + 0x3c]
mov ebx, dword [edx]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x41b6ee
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b704
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41d6c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x41d7a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0041d108
cmp dword [ebp - 8], 0
jne 0x41d73d
push dword [ebp - 4]
push 0x41d7b8
mov eax, dword [0x43a748]
push dword [eax]
push 0x41d7c4
mov eax, 0xffff
call fcn.004032bc
lea edx, [ebp - 0xc]
call fcn.004082a8
push dword [ebp - 0xc]
push 0x41d7d4
lea eax, [ebp - 4]
mov edx, 6
call fcn.004051b8
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0041d550
mov eax, dword [ebx]
mov edx, 0x41d7e4
call fcn.0040524c
je 0x41d788
push 5
push 0x41d7ec
lea ecx, [ebp - 0x10]
mov dx, 3
mov eax, dword [ebp - 4]
call fcn.0041d108
mov eax, dword [ebp - 0x10]
call fcn.004052b4
push eax
mov eax, dword [ebx]
call fcn.004052b4
push eax
push 0x41d7f0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d7aa
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404e48
ret

Function at 0x41d7f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41d866
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x41d87c
call fcn.0040513c
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, esi
mov edx, 0x41d890
call fcn.00404e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d86d
lea eax, [ebp - 4]
call fcn.00404e24
ret

Function at 0x41d894
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x41d923
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x41d938
call fcn.00404e78
push 5
push 0x41d93c
lea ecx, [ebp - 8]
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0041d108
mov eax, dword [ebp - 8]
call fcn.004052b4
push eax
lea ecx, [ebp - 0xc]
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.0041d108
mov eax, dword [ebp - 0xc]
call fcn.004052b4
push eax
push 0x41d940
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d92a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e48
ret