joyce8/EMBER2024-capa huggingface dataset:
Function at 0x508610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562718
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b228c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x5b3970]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00508340
test eax, eax
je 0x508738
mov esi, dword [ebp - 0x18]
mov edi, dword [0x5b3970]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x5086e3
cmp dword [esi], 0
je 0x5086d6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x5086a3
mov eax, 1
jmp 0x508704
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5086dc
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x508704
cmp dword [esi + 4], 0
jne 0x5086e3
mov eax, 1
jmp 0x508704
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x50872e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x508716
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x50873b
xor ebx, ebx
jmp 0x5087df
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x5087df
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x508798
mov ecx, dword [ebx]
test ecx, ecx
je 0x5087fe
push ecx
push eax
call fcn.005160f9
add esp, 8
test eax, eax
je 0x508798
mov edx, dword [edi]
test edx, edx
je 0x508798
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x508770
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x5087a3
lea eax, [edx + 0xd]
jmp 0x5087d8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5087b0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x5830b8
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x5087ea
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004093b0
int3
Function at 0x509e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x509f01
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x509ecf
cmp eax, 2
jne 0x509eeb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x509efb
test ecx, ecx
je 0x509ef6
test cl, 1
jne 0x509eeb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x509efb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x52db4b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052d9ca

Function at 0x530901
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005305c1

Function at 0x53b61e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3de85d3e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32075f07
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4065c3
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 0x4065e7
xor eax, eax
test eax, eax
je 0x4065f9
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4065f9
xor ecx, ecx
jmp 0x4065fc
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
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 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x4232e4], 0
push esi
jne 0x40671f
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 0x4066f9
mov dword [ecx*4 + 0x4232e0], eax
inc ecx
cmp ecx, 0x100
jl 0x4066f4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406750
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 + 0x4232e0]
xor eax, esi
inc ecx
dec edx
jne 0x406732
pop edi
not eax
pop esi
ret 0xc

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x100284a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100a020]
cmp eax, 0xffffffff
je 0x1002905
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
mov esi, 0x314
push esi
push 0x100a5a0
push dword [0x100a020]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10028f9
cmp dword [ebp - 4], esi
jne 0x10028f9
cmp dword [0x100a5a0], 0x6e776453
jne 0x10028f9
test dword [0x100a5a8], 0x80000000
jne 0x1002903
or dword [0x100a5a8], 0x40000000
push 0x100a7b0
push 0x103
push 0x100a9e0
mov byte [0x100a7af], bl
mov byte [0x100a8b3], bl
call dword [sym.imp.msvcrt.dll__snprintf]
add esp, 0xc
cmp dword [0x100a5a4], 0x10000
jne 0x1002903
test dword [0x100a5a8], 0x3fffffec
jne 0x1002903
and dword [0x100a5a8], 0xbfffffff
jmp 0x1002903
or dword [0x100a5a8], 0x80000000
pop esi
pop ebx
leave
ret

Function at 0x1002cf7
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebx
push esi
push edi
push 0x100ad40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100a184]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002d1e
push eax
call esi
and dword [0x100a184], 0
mov eax, dword [0x100a020]
cmp eax, 0xffffffff
je 0x1002d32
push eax
call esi
or dword [0x100a020], 0xffffffff
mov esi, dword [0x100a004]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, 0x100a004
jmp 0x1002d76
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d74
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1002d70
cmp eax, 3
je 0x1002d70
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002d45
mov esi, dword [0x100a00c]
mov edi, 0x100a00c
jmp 0x1002db8
mov eax, dword [esi + 4]
test eax, eax
je 0x1002db6
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1002db2
cmp eax, 3
je 0x1002db2
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002d87
push 0x100ad40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret
Function at 0x1003757
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
ja 0x100371f
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x1003727
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x100372f
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.01003291
jecxz 0x100379f
ja 0x100371f
inc ebp
sub dl, byte [ecx - 0x837a73]
invalid
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1003a8a
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.01003202
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1003801
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.01003202
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10037ce
call fcn.01003291
lds ecx, [eax + 0x7e8bbaf7]
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003b2a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x17af0001], ebp
insb byte es:[edi], dx
idiv edi
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.01003256
add esp, 0xc
mov dword [ebp - 0x68c], eax
Function at 0x4315f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov dx, word [0x443bf0]
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
movsx eax, word [esi]
lea ecx, [eax*8]
sub ecx, eax
mov word [edi + ecx*2 + 4], dx
mov dl, byte [0x443b6c]
movsx eax, word [esi]
lea ecx, [eax*8]
sub ecx, eax
mov byte [edi + ecx*2 + 6], dl
movsx eax, word [esi]
lea ecx, [eax*8]
sub ecx, eax
mov eax, ebx
lea edx, [edi + ecx*2 + 7]
mov ecx, dword [eax]
mov dword [edx], ecx
mov cx, word [eax + 4]
mov word [edx + 4], cx
mov al, byte [eax + 6]
mov byte [edx + 6], al
mov cx, word [esi]
movsx eax, cx
inc eax
lea edx, [eax*8]
sub edx, eax
inc ecx
cmp word [esp + 0x24], 1
mov word [esi], cx
mov ecx, dword [ebx + 0xd]
lea eax, [edi + edx*2]
mov dword [eax], ecx
jne 0x431755
movsx ecx, word [ebx + 0x18]
xor edx, edx
mov eax, 0x30303030
mov dword [esp + 0xc], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x14]
mov word [esp + 0x1c], ax
push str._01d
push edx
mov byte [esp + 0x26], al
call ebp
mov eax, dword [ebx + 0x14]
add esp, 0xc
lea ecx, [esp + 0x11]
push eax
push str._05ld
push ecx
call ebp
movsx eax, word [ebx + 0x1e]
mov dx, word [ebx + 0x1a]
add esp, 0xc
lea ecx, [esp + 0x18]
mov word [esp + 0x16], dx
push eax
push str._03d
push ecx
call ebp
movsx eax, word [esi]
add esp, 0xc
lea edx, [eax*8]
sub edx, eax
mov ax, word [0x443bf0]
pop ebp
mov word [edi + edx*2 + 4], ax
mov dl, byte [0x443bdc]
movsx eax, word [esi]
lea ecx, [eax*8]
sub ecx, eax
mov byte [edi + ecx*2 + 6], dl
mov cx, word [esi]
movsx eax, cx
lea edx, [eax*8]
sub edx, eax
inc ecx
mov word [esi], cx
mov ecx, dword [esp + 0xc]
lea eax, [edi + edx*2 + 7]
mov dword [eax], ecx
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov cx, word [esp + 0x14]
mov word [eax + 8], cx
mov dl, byte [esp + 0x16]
mov byte [eax + 0xa], dl
movsx eax, word [esi]
mov dx, word [0x443bf0]
add ebx, 7
lea ecx, [eax*8]
sub ecx, eax
mov word [edi + ecx*2 + 4], dx
mov dl, byte [0x446300]
movsx eax, word [esi]
lea ecx, [eax*8]
sub ecx, eax
mov byte [edi + ecx*2 + 6], dl
mov ax, word [esi]
movsx ecx, ax
lea edx, [ecx*8]
sub edx, ecx
inc eax
mov word [esi], ax
mov eax, dword [ebx]
lea ecx, [edi + edx*2 + 7]
pop edi
pop esi
mov dword [ecx], eax
mov dl, byte [ebx + 4]
mov byte [ecx + 4], dl
xor eax, eax
pop ebx
add esp, 0x14
ret
Function at 0x43ac90
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x10], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [0x496b60]
cmp dword [eax + 0x3dc60], 1
jne 0x43accf
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x43acdf
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x38]
test al, al
jne 0x43ad18
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, str.Standalone
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x88]
mov dl, byte [esp + 0x38]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + 0x39]
dec ecx
mov byte [esp + 0x89], dl
mov byte [esp + 0x8a], al
mov cl, byte [esp + ecx + 0x37]
mov byte [esp + 0x88], cl
mov cl, byte [esp + 0x3a]
mov byte [esp + 0x8b], cl
mov eax, dword [esp + 0x88]
push eax
mov dword [0xd6dbc4], eax
call dword [sym.imp.MSVCRT.dll_srand]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
add esp, 4
mov dword [esp + 0x14], 0
mov edx, dword [0x495508]
mov ecx, 0x14
xor eax, eax
mov edi, 0xd6b434
rep stosd dword es:[edi], eax
mov cx, word [edx + 0x66]
lea eax, [edx + 0x66]
push eax
push str._sTUCFILELOCKTFNAME
push 0xd6b434
mov word [0xd6b434], cx
call esi
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0xd6b434
call ebp
cmp eax, 0xffffffff
jne 0x43ae6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0xd6dbc0], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x14], eax
jg 0x43ae71
call ebx
mov edx, eax
mov ecx, 0x14
push edx
xor eax, eax
lea edi, [esp + 0x8c]
lea edx, [esp + 0x8c]
push 0x444d5c
push edx
rep stosd dword es:[edi], eax
call esi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x95]
push edx
stosw word es:[edi], ax
mov al, byte [esp + 0x98]
mov byte [esp + 0x29], cl
mov byte [esp + 0x28], al
mov byte [esp + 0x2a], 0x30
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x10
mov dword [0xd6b424], eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43ad90
mov dword [0xd6dbb4], eax
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc8
ret
Function at 0x43b770
Capabilities:
Delete file

Disassembly:
sub esp, 0x64
mov ecx, 0x19
xor eax, eax
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x78]
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..DAT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x64
ret
Function at 0x43e1a0
Capabilities:
Get disk information

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp], eax
push esi
movsx edx, byte [ecx]
mov dword [esp + 8], eax
push edx
mov word [esp + 0x10], ax
lea eax, [esp + 8]
push str._C:_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 4]
xor esi, esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
mov eax, 1
je 0x43e1e7
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2c4d7b61
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x58283534
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219