joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x416044], 0
je 0x403db9
cmp word [0x416218], 0xd7b2
jne 0x403d81
cmp dword [0x416220], 0
jbe 0x403d81
mov eax, 0x416214
call dword [0x416230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x415068
push 0xfffffffffffffff5
call fcn.00401160
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403de0
push 0xfffffffffffffff5
call fcn.00401160
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41502c], 0
jne 0x403dd5
push 0
push 0x415060
push 0x415068
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409ee8
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 0x409f21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fcc
jmp 0x409f2a
mov eax, ebx
mov edx, esi
call fcn.00403f30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a5ec
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a454
mov eax, dword [0x415540]
cmp byte [eax], 0
je 0x40a668
mov eax, dword [0x41545c]
call fcn.00402e00
call fcn.00402a98
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.0040783c
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 0x40a6b0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a69e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x415438]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x416660]
call fcn.00404e3c
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 0x40b3b0
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 0x40b414
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.0040414c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004073f0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b41b
lea eax, [ebp - 0xc]
call fcn.00403edc
ret
Function at 0x412d74
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x412edd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f74
mov eax, dword [ebp - 0x10]
call fcn.00412af8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x412dc6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404434
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0041301c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x412e9b
xor eax, eax
push ebp
push 0x412e94
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00412c4c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00412eec
test al, al
je 0x412e72
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fcc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x412e72
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404394
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x412e6c
mov eax, dword [ebp - 0x14]
call fcn.00404394
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004040d4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00412d74
dec ebx
cmp ebx, 0xffffffff
jne 0x412e25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412e9b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00412c4c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404394
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00412c38
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412ee4
lea eax, [ebp - 0x3c]
call fcn.00403edc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f00
ret
Function at 0x412e9b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x412edd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f74
mov eax, dword [ebp - 0x10]
call fcn.00412af8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x412dc6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404434
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0041301c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x412e9b
xor eax, eax
push ebp
push 0x412e94
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00412c4c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00412eec
test al, al
je 0x412e72
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fcc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x412e72
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404394
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x412e6c
mov eax, dword [ebp - 0x14]
call fcn.00404394
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004040d4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00412d74
dec ebx
cmp ebx, 0xffffffff
jne 0x412e25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412e9b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00412c4c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404394
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00412c38
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412ee4
lea eax, [ebp - 0x3c]
call fcn.00403edc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f00
ret

Function at 0x412eec
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402e64
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4155b8]
cmp byte [edx + 0xc], 0
je 0x412f50
mov edx, dword [0x4155b0]
cmp dword [edx], 2
jne 0x412f50
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x412f54
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x41300c
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 - 0x28]
mov eax, edi
call fcn.00412eec
test al, al
je 0x412fee
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403fcc
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x412fee
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404394
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404394
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004040d4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x412fa7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413013
lea eax, [ebp - 0x2c]
call fcn.00403edc
lea eax, [ebp - 0xc]
call fcn.00403edc
ret

Function at 0x413410
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
test ebx, ebx
je 0x41350f
lea eax, [ebp - 8]
push eax
push 0x40000
push 0
push ebx
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x41350f
mov eax, dword [ebp - 4]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetKeySecurity
test eax, eax
jne 0x41350f
cmp dword [ebp + 8], 0
je 0x41350c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push ebx
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x41350f
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x41350f
mov eax, 0x105
call fcn.0040701c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x10]
dec ebx
test ebx, ebx
jb 0x413504
inc ebx
xor esi, esi
push 0x105
mov eax, dword [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x4134f9
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00413410
jmp 0x413500
cmp eax, 0x103
je 0x413504
inc esi
dec ebx
jne 0x4134d0
mov eax, dword [ebp - 0xc]
call fcn.004029c4
or esi, 0xffffffff
cmp dword [ebp - 8], 0
je 0x41351e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp esi, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413778
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404384
xor eax, eax
push ebp
push 0x41394a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00413530
test al, al
je 0x41390d
lea eax, [ebp - 0x130]
xor ecx, ecx
mov edx, 0x104
call fcn.00402e64
lea edx, [ebp - 0x130]
mov ecx, 0x104
mov eax, dword [ebp - 0x14]
call fcn.00413644
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.0040414c
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004041e0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403f74
mov eax, dword [ebp - 0xc]
call fcn.00404394
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, 0x80000001
call fcn.00413194
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0041321c
test al, al
je 0x4138ad
push 0
mov eax, dword [ebp - 8]
call fcn.00404394
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, 0x80000001
call fcn.00413410
lea eax, [ebp - 8]
mov edx, 0x413960
call fcn.0040419c
push 0
mov eax, dword [ebp - 8]
call fcn.00404394
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, 0x80000001
call fcn.00413410
lea eax, [ebp - 8]
mov edx, 0x413970
call fcn.0040419c
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404394
mov ebx, eax
mov edx, ebx
lea ecx, [ebp - 0x2c]
mov eax, 0x80000001
call fcn.00413410
push ebx
push 0x80000001
call sub.shlwapi.dll_SHDeleteKeyA
cmp dword [ebp - 0x18], 0
je 0x4138c4
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x41390d
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404394
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, 0x80000001
call fcn.00413410
xor eax, eax
push ebp
push 0x413903
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.004029c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41390d
cmp dword [ebp - 0x14], 0
je 0x413924
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413951
lea eax, [ebp - 0x134]
call fcn.00403edc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403f00
ret

Function at 0x413d1c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
call fcn.00403edc
cmp ebx, 0xffffffff
je 0x413d71
mov eax, 0x104
call fcn.00413ce4
mov dword [esp + 4], eax
push esp
push edi
push ebx
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x413d68
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00413d08
mov eax, dword [esp + 4]
call fcn.00413cf8
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
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 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
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 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x514f2025
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x41011a76
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407d9c
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 ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401760
Capabilities:
Terminate process

Disassembly:
push 0x167cd274
push ecx
call dword [0xf9403980]
mov eax, dword [0xda02ac]
add esp, 0xc
test eax, eax
je 0x401787
push eax
push 0xc2d254
call dword [0x40c1c7]
add esp, 0x6a
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov edx, 0x81ec8b55
push ebp
mov ebp, esp
sub esp, 0xf6
mov eax, dword [0xc4a178]
test eax, eax
sub al, 0x9c
jg 0x4017e5
add byte [esp + edx + 0x68], dh
daa
cmp al, 0xb1
das
push eax
in eax, 0x9e
inc eax
add byte [eax], al
mov cx, word [0xb541025d]
jmp 0x4017cf
mov dword [0x411808], eax
mov eax, dword [0x415188]
push ebx
push esi
mov esi, dword [0x407e64]
mov word [0x410bb4], cx
or eax, dword [ecx]
test eax, esi
push edi
jne 0x4017b0
xchg esi, eax
adc eax, 0x411800
push edx
push 0xffd498
call esi
mov eax, dword [0x410245]
add esp, 0xffffffee
test eax, ecx
je 0x40181c
mov eax, dword [0xb50216]
inc esi
push 0x413c40
push 0x6ffe84
call esi
add esp, 0xc
ret

Function at 0x40a940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec edi
push cs
sub eax, 0xd9a73895
fidivr dword [edx + 0x126f1af9]
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x532887
Capabilities:
Encrypt data using speck

Disassembly:
clc
bt dx, ax
cmp dl, 0x78
or al, al
pushal
pushal
pushfd
jmp 0x4e5251
lea esp, [esp + 0x44]
je 0x85e7b6
stc
test cl, al
call fcn.00861754
test dword [edi + 0x5f], edx
push esi
add dword [esi - 0x7cf078f], edx
mov ch, 0xa6
outsd dx, dword [esi]
invalid
pushal
lea esp, [esp + 0x2c]
jb 0x8a8064
cmp ch, 0x7f
pushfd
cmp ah, 0x5a
jmp 0x85b071
pushal
pushfd
lea esp, [esp + 0x28]
ja 0x8a8064
call fcn.008a8b21
rcl bh, cl
and bx, si
mov ebx, eax
cmp edx, edi
stc
cmc
cmp byte [edi], 0x23
pushfd
mov dword [esp], eax
lea esp, [esp + 4]
jne 0x86699b
and al, 0x67
bts ax, 0xb
sal ax, cl
shr eax, cl
sub edx, edx
push 0x22c9301c
mov eax, edx
sub esp, 0xfffffffc
jle 0x4e4696
pushal
cmc
stc
or al, al
call fcn.00857c11
cmp ebx, 2
pushfd
pushal
lea esp, [esp + 0x24]
je 0x861490
cmc
cmp ebx, 3
pushal
pushfd
mov word [esp], 0x83de
call fcn.008a64bc
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x422f5d2e
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x23627eae
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x411380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d59b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047fa20
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411402
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047cfaa
mov eax, dword [eax]
push 0x4b2254
push eax
call fcn.0046efe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047fcab
test bl, bl
je 0x411402
push 0x4b2254
lea ecx, [esp + 0xc]
call fcn.00480087
push 0x4b5dcc
lea ecx, [esp + 0xc]
call fcn.00480087
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41143e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047fcab
jmp 0x411509
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4114c2
lea edx, [esp + 0x7c]
push 0x4b5dc8
push edx
call fcn.0046efe4
add esp, 8
test eax, eax
je 0x4114c2
lea eax, [esp + 0x7c]
push 0x4b5dc4
push eax
call fcn.0046efe4
add esp, 8
test eax, eax
je 0x4114c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411452
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047fcab
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x411d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x411d62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc