joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cda4
Capabilities:
Get file attributes

Disassembly:
call fcn.00405c18
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x40cdb8
dec eax
and al, 0x10
sete al
ret

Function at 0x40cdf4
Capabilities:
Get common file path

Disassembly:
push eax
sub esp, 0x108
push esp
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, esp
mov eax, dword [esp + 0x108]
call fcn.00403ce8
add esp, 0x108
pop edx
mov eax, dword [edx]
call fcn.00406670
ret

Function at 0x40d5d8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, eax
push esp
call sub.kernel32.dll_QueryPerformanceFrequency
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
push 0
mov eax, dword [0x4439d4]
push eax
mov eax, dword [0x4439cc]
push eax
push 8
call dword [0x443934]
push ebp
call sub.kernel32.dll_Sleep
push 0
mov eax, dword [0x4439d4]
push eax
mov eax, dword [0x4439d0]
push eax
push 8
call dword [0x443934]
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0xc]
jne 0x40d643
cmp eax, dword [esp + 8]
jbe 0x40d65f
jmp 0x40d645
jle 0x40d65f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, dword [esp + 8]
sbb edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x40d689
mov eax, dword [esp]
mov edx, dword [esp + 4]
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
sbb edx, dword [esp + 0x1c]
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
push 0
push 0x186a0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00404654
push edx
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
call fcn.00404654
mov ebp, eax
xor esi, esi
mov al, byte [0x443910]
dec eax
test al, al
jb 0x40d703
inc eax
mov byte [esp + 0x20], al
mov bl, 0
mov eax, ebp
xor edx, edx
push edx
push eax
xor eax, eax
mov al, bl
mov edi, eax
add edi, edi
lea edi, [edi + edi*2]
mov eax, dword [0x4439d0]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [eax + edi*8]
push edx
push eax
mov eax, dword [0x4439cc]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [eax + edi*8]
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00404654
add esi, eax
inc ebx
dec byte [esp + 0x20]
jne 0x40d6c1
xor eax, eax
mov al, byte [0x443910]
push eax
mov eax, esi
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov esi, eax
cmp esi, 0x64
jbe 0x40d720
mov esi, 0x64
mov eax, esi
push eax
mov al, 0x64
pop edx
sub al, dl
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40d730
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov al, byte [esp + 0x14]
mov byte [0x443910], al
mov eax, dword [esp + 4]
mov dword [0x443914], eax
add esp, 0x24
ret
Function at 0x40dd28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40de32
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 9
push 0
mov eax, esi
call fcn.00403fa8
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40ddff
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x40ddf6
cmp dword [ebp - 0x10], 1
jae 0x40dd9b
mov dword [ebp - 0x10], 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404090
xor edi, edi
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00403fa8
push eax
push edi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x40ddf6
mov eax, dword [ebp - 8]
call fcn.00403fa8
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00403ce8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040dd28
test al, al
jne 0x40dda8
inc edi
jmp 0x40dda8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, esi
call fcn.00403fa8
push eax
push ebx
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de39
lea eax, [ebp - 0x14]
call fcn.00403b0c
lea eax, [ebp - 8]
call fcn.00403b0c
ret

Function at 0x40e5a8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00403fa8
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, esi
mov edx, esp
mov ecx, 0x105
call fcn.00403d60
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x40e658
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov edi, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00403f98
xor eax, eax
push ebp
push 0x40e78b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x40e75f
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x40e634]
call fcn.004048a4
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40e7a0
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e75f
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 4], esi
lea eax, [ebp - 0x20]
push eax
mov eax, esi
call fcn.00405740
movzx eax, ax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
movzx eax, word [ebx + 8]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx + 0xc]
call fcn.00405740
movzx eax, ax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, word [ebx + 0xc]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x40e7ac
call fcn.0040cd6c
mov edx, dword [ebp - 0x20]
mov eax, edi
call fcn.00403b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e792
lea eax, [ebp - 0x20]
call fcn.00403b0c
lea eax, [ebp - 0x18]
mov edx, dword [0x40e634]
call fcn.004048b0
lea eax, [ebp - 0xc]
call fcn.00403b0c
ret

Function at 0x40e8c4
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov bl, 1
mov eax, dword [0x443a00]
call fcn.00403fa8
push eax
push 0xffffffffffffffff
push 4
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
test esi, esi
je 0x40e946
push 4
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [esp], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [esp + 4]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [esp + 4], eax
push 0
push 0
push 0x10
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
push eax
call sub.user32.dll_PostMessageA
push 0xbb8
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x40e946
xor ebx, ebx
mov eax, ebx
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x40e950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x40e9c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x443a28], 0
je 0x40e977
mov eax, dword [0x443a28]
push eax
call sub.kernel32.dll_CloseHandle
push 0
push 0
lea eax, [ebp - 4]
mov ecx, dword [0x443a00]
mov edx, 0x40e9d4
call fcn.00403df4
mov eax, dword [ebp - 4]
call fcn.00403fa8
push eax
push 0x40e9e4
push 0
push 0
call sub.shell32.dll_ShellExecuteA
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x40f078
Capabilities:
Copy file
Set file attributes

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
xor eax, eax
push ebp
push 0x40f2ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x40f2c0
mov eax, dword [0x4439f0]
call fcn.00406828
mov edx, dword [ebp - 4]
mov eax, 0x443a18
call fcn.00403b60
mov edx, 0x4439f8
mov eax, dword [0x443a18]
call fcn.0040e658
cmp edx, dword [0x443a20]
jne 0x40f0d4
cmp eax, dword [0x443a1c]
jb 0x40f11b
jmp 0x40f0d6
jl 0x40f11b
push 0x50040
push dword [0x443a10]
push 0x40f2dc
push 0x40f2ec
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 8]
call fcn.00403fa8
push eax
push 0x40f2f8
mov eax, dword [0x4438a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
push 0
call sub.kernel32.dll_ExitProcess_1
cmp dword [0x443a08], 0
je 0x40f12a
call dword [0x443a08]
call fcn.0040e8c4
test al, al
jne 0x40f13a
push 0
call sub.kernel32.dll_ExitProcess_1
push 0
mov eax, dword [0x443a18]
call fcn.00403fa8
push eax
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004064c8
mov eax, dword [ebp - 0xc]
call fcn.00403fa8
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x40f1c9
push 0x50030
push dword [0x443a10]
push 0x40f2dc
push 0x40f334
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x10]
call fcn.00403fa8
push eax
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x18]
call fcn.00405c48
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x40f348
call fcn.00403df4
mov eax, dword [ebp - 0x14]
call fcn.00403fa8
push eax
mov eax, dword [0x4438a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
push 0
call sub.kernel32.dll_ExitProcess_1
push 0x80
mov eax, dword [0x443a18]
call fcn.00403fa8
push eax
call sub.kernel32.dll_SetFileAttributesA
push dword [0x443a24]
push 0x40f370
push 0x40f384
push dword [0x443a00]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403e68
mov edx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00406758
mov ebx, eax
push 0
push 0x400
mov eax, dword [0x443a18]
call fcn.0040661c
call fcn.00404654
mov ecx, eax
mov edx, 0x40f390
mov eax, ebx
call fcn.0040688c
mov ecx, dword [0x4439f4]
mov edx, 0x40f3a8
mov eax, ebx
call fcn.004068c4
mov eax, ebx
call fcn.00406904
push 0x50040
push dword [0x443a10]
push 0x40f2dc
push 0x40f2ec
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x20]
call fcn.00403fa8
push eax
push 0x40f3b8
mov eax, dword [0x4438a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
call fcn.0040e950
Function at 0x40f3dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x40f55d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040e8c4
test al, al
jne 0x40f407
push 0
call sub.kernel32.dll_ExitProcess_1
push 0
push 0
push 0x40f574
push dword [0x443a00]
push 0x40f58c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 4]
call fcn.00403fa8
push eax
push 0x40f590
push 0
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 8]
mov ecx, dword [0x443a00]
mov edx, 0x40f5a4
call fcn.00403df4
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.0040dd28
push dword [0x443a24]
push 0x40f5b8
push 0x40f5cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403e68
mov edx, dword [ebp - 0xc]
mov eax, 0x80000002
call fcn.00406728
mov ebx, eax
mov edx, dword [0x443a00]
mov eax, ebx
call fcn.00406910
mov eax, ebx
call fcn.00406904
push 0x50040
push dword [0x443a10]
push 0x40f5d8
push 0x40f5e8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0x10]
call fcn.00403fa8
push eax
push 0x40f5f4
mov eax, dword [0x4438a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
push 0
push 0
push 0x40f628
push dword [0x4439fc]
push 0x40f640
lea edx, [ebp - 0x18]
mov eax, dword [0x4439fc]
call fcn.00406684
push dword [ebp - 0x18]
push 0x40f654
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403e68
mov eax, dword [ebp - 0x14]
call fcn.00403fa8
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x40f660
call fcn.0040e5a8
mov eax, dword [ebp - 0x1c]
call fcn.00403fa8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
push 0
call sub.kernel32.dll_ExitProcess_1

Function at 0x40f668
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x40f719
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, 0x40f72c
mov eax, dword [0x4439f0]
call fcn.00406828
mov edx, dword [ebp - 8]
mov eax, 0x443a18
call fcn.00403b60
mov eax, dword [0x443a00]
call fcn.00403fa8
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x443a28], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40f6d2
push 0
call sub.kernel32.dll_ExitProcess_1
push 4
push 0
push 0
push 0xf001f
mov eax, dword [0x443a28]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
mov eax, dword [0x4438a8]
call fcn.0040cfd8
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_UnmapViewOfFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f720
lea eax, [ebp - 8]
call fcn.00403b0c
ret
Function at 0x41199c
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 0x4119d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bfc
jmp 0x4119de
mov eax, ebx
mov edx, esi
call fcn.00403b60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4119e8
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 0x411a09
mov al, byte [esp]
jmp 0x411a0b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4120a0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x411f08
mov eax, dword [0x442ef4]
cmp byte [eax], 0
je 0x41211c
mov eax, dword [0x442e50]
call fcn.00402ab4
call fcn.0040298c
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.00410e70
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 0x412164
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x412152
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x442e30]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x443660]
call fcn.0040495c
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 0x412b40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x412ba4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403d60
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00410d38
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412bab
lea eax, [ebp - 0xc]
call fcn.00403b0c
ret
Function at 0x423b80
Capabilities:
Read file on windows

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
push 4
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp], eax
push 0
push 0
call fcn.00402b74
fild qword [ebx + 0x58]
fmulp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [esp + 0x18]
call fcn.00406208
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [ebx + 0x50]
dec eax
xor edx, edx
not eax
not edx
and eax, dword [esp]
and edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_SetFilePointerEx
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_ReadFile
push 0x8000
push 0
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_VirtualFree_1
add esp, 0x10
pop ebx
ret
Function at 0x42d524
Capabilities:
Create process on windows

Disassembly:
push ebx
mov bl, byte [0x443c44]
xor bl, 1
test bl, bl
je 0x42d56e
push 0x50044
mov eax, dword [0x443c50]
call fcn.00403fa8
push eax
push 0x42d574
mov eax, dword [0x4438a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
cmp eax, 6
jne 0x42d56e
push 5
push 0
push 0
push 0x42d5d8
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405e6a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405e8e
xor eax, eax
test eax, eax
je 0x405ea0
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405ea0
xor ecx, ecx
jmp 0x405ea3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

Function at 0x405f43
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43eacc], 0
push esi
jne 0x405f7a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f54
mov dword [ecx*4 + 0x43eac8], eax
inc ecx
cmp ecx, 0x100
jl 0x405f4f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fab
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43eac8]
xor eax, esi
inc ecx
dec edx
jne 0x405f8d
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x48c520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69000]
push edi
or ebp, 0xffffffff
jmp 0x48c542
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48c549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c538
mov eax, 1
add ebx, ebx
jne 0x48c55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48c56c
jne 0x48c58b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c58b
dec eax
add ebx, ebx
jne 0x48c578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48c550
add ebx, ebx
jne 0x48c587
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48c5dd
xor ecx, ecx
sub eax, 3
jb 0x48c5a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48c612
sar eax, 1
mov ebp, eax
jmp 0x48c5ae
add ebx, ebx
jne 0x48c5ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c57c
inc ecx
add ebx, ebx
jne 0x48c5bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c57c
add ebx, ebx
jne 0x48c5c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48c5be
jne 0x48c5da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48c5be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48c5fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48c5ee
jmp 0x48c53e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48c5fc
add edi, ecx
jmp 0x48c53e
pop esi
mov edi, esi
mov ecx, 0x1151
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48c61a
cmp byte [edi], 0x11
jne 0x48c61a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48c61f
lea edi, [esi + 0x89000]
mov eax, dword [edi]
or eax, eax
je 0x48c68e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xab4b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xab4fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48c64c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xab504]
or eax, eax
je 0x48c688
mov dword [ebx], eax
add ebx, 4
jmp 0x48c669
call dword [esi + 0xab500]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x48c6bf
cmp al, 0xef
ja 0x48c6b2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x48c694
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x48c6a1
mov ebp, dword [esi + 0xab508]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48c6f3
sub esp, 0xffffff80
jmp 0x41eef0
Function at 0x4044c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [ebp + 0x10]
test ecx, ecx
je 0x4044ee
test ebx, ebx
je 0x4044ee
xor byte [ebx], al
lea ebx, [ebx + 1]
dec ecx
jne 0x4044e1
xor eax, eax
inc eax
jmp 0x4044f0
xor eax, eax
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c0af
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40c162
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x40ed84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [ebp + 0x10]
test ecx, ecx
je 0x40eda9
test ebx, ebx
je 0x40eda9
xor byte [ebx], al
lea ebx, [ebx + 1]
dec ecx
jne 0x40ed9c
xor eax, eax
inc eax
jmp 0x40edab
xor eax, eax
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc