joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405722
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42ac48
push esi
call fcn.00405ba4
push esi
call fcn.004056cd
mov edi, eax
test edi, edi
jne 0x405743
xor eax, eax
jmp 0x405795
push edi
call fcn.00405e0f
test byte [0x42e3d8], 0x80
je 0x40575c
mov al, byte [edi]
test al, al
je 0x40573f
cmp al, 0x5c
je 0x40573f
sub edi, esi
jmp 0x405774
call fcn.00405ea8
test eax, eax
je 0x40576e
test byte [eax], 0x10
je 0x40573f
push esi
call fcn.0040567b
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405760
call fcn.00405634
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405810
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40582f
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x405835
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405864
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x409384]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4058a9
test edi, edi
jne 0x40586f
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4058a3
Function at 0x4058dc
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, 0x42b5d0
push 0x4093a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov ebx, 0x400
je 0x40592b
push 1
push 0
push esi
call fcn.00405835
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x405a52
cmp eax, ebx
jg 0x405a52
mov esi, 0x42b9d0
push ebx
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405a52
cmp eax, ebx
jg 0x405a52
push esi
push edi
push str._s_s_r_n
push 0x42b1d0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42e3d0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405bc6
push 4
push 0xc0000000
push esi
call fcn.00405835
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405a52
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405a4b
push edi
push esi
push ebp
call fcn.004058ad
test eax, eax
je 0x405a4b
push str._Rename__r_n
push esi
call fcn.0040579a
test eax, eax
jne 0x4059e1
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405a16
add eax, 0xa
push 0x409388
push eax
call fcn.0040579a
mov ebp, eax
test ebp, ebp
je 0x405a12
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405a03
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4059fd
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x405a18
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x42b1d0
push eax
call fcn.004057f0
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x405a8b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405afc
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405aeb
cmp dword [ebp + 0x14], 1
je 0x405aed
cmp dword [ebp + 0x14], 2
je 0x405aed
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405f41
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdd4], 0
push esi
jne 0x405f78
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 0x405f52
mov dword [ecx*4 + 0x42bdd0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f4d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fa9
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 + 0x42bdd0]
xor eax, esi
inc ecx
dec edx
jne 0x405f8b
pop edi
not eax
pop esi
ret 0xc
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push str.Application_Per_User_Data
push 0
push str.SOFTWAREBlizzard_EntertainmentStarcraft
push 0x80000002
mov dword [esp + 0x24], 2
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401154
mov ecx, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push 0x405c60
push eax
push 0
push str.Program
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401154
push 0x405c60
call fcn.00401170
add esp, 4
test eax, eax
jne 0x40109d
push eax
push eax
push 0x405070
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add esp, 0x10
ret 0x10
push esi
push edi
push 0x100
push 0x405b60
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x405b60
call fcn.00401620
mov edx, eax
mov edi, str.galaxy.dll
or ecx, 0xffffffff
xor eax, eax
inc edx
push 0x405c60
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]
call fcn.004011c0
add esp, 0xc
test eax, eax
jne 0x40110b
push eax
push eax
push 0x405050
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x1000
push 0x42
call esi
push 0x1000
push 0x42
mov dword [0x405584], eax
call esi
mov dword [0x405580], eax
call fcn.00401210
mov ecx, dword [0x405584]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ecx
call esi
mov edx, dword [0x405580]
push edx
call esi
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
push 0
push 0
push 0x405030
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add esp, 0x10
ret 0x10

Function at 0x401170
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401199
xor eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
cmp eax, 0xfe800
sete cl
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4011c0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x44
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 4]
push 0x405b50
push eax
push 0
push 0
push 2
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x2c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
add esp, 0x44
ret
Function at 0x4022cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4051d0
cmp edx, dword [eax]
je 0x4022ef
add eax, 8
inc ecx
cmp eax, 0x405260
jl 0x4022e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4051d0]
jne 0x40241d
mov eax, dword [0x405d6c]
cmp eax, 1
je 0x4023f7
test eax, eax
jne 0x402320
cmp dword [0x405124], 1
je 0x4023f7
cmp edx, 0xfc
je 0x40241d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402357
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402880
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004029f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40239a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004029f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4043c8
push edi
call fcn.00403680
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402880
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402890
lea eax, [ebp - 0xa0]
push 0x4043a8
push eax
call fcn.00402890
push dword [esi + 0x4051d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402890
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004035ee
add esp, 0x2c
pop edi
jmp 0x40241d
lea eax, [ebp + 8]
lea esi, [esi + 0x4051d4]
push 0
push eax
push dword [esi]
call fcn.004029f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40f398
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40f3dd
call fcn.0041947c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f3dd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40f3f9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00419f41
mov ebx, eax
test edi, edi
je 0x40f3f7
test esi, esi
je 0x40f3f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413fb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041947c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x413fe9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041400a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4cb795
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x549689
call fcn.00528c47
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004028a0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x552bc8
call fcn.004029e0
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x55a858
lea ecx, [ebp - 0x4d0]
call fcn.004029e0
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x554a24
lea ecx, [ebp - 0x4d0]
call fcn.004029e0
cmp eax, 0xffffffff
jne 0x4cb849
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004028a0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4cb825
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401fd0
jmp 0x4cb878
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00402050
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401fd0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4cb86f
mov ebx, dword [ebp - 0x4cc]
jmp 0x4cb878
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401fd0
mov eax, ebx
call fcn.00528bf6
ret
Function at 0x686422
Capabilities:
Check for trap flag exception

Disassembly:
clc
mov byte [esp], ah
rol dl, 3
push dword [esp]
bt sp, bp
stc
xor dl, 0xdb
stc
clc
push word [esp + 8]
popf
call fcn.007bd925
push edi
pushfd
bts esi, 8
mov dword [esp], ebx
xor edi, 0x9f5aa022
btr di, sp
mov esi, dword [esp + 0x14]
pushal
mov edi, dword [esp + 0x38]
rcr dl, cl
xadd dl, al
call fcn.006b7a08
mov byte es:[0xbc069e06], al
mov ch, 0x4f
jno 0x68649c
nop
ret
pop es
rol byte [0x921cca74], 0x4d
sti
in al, 0x43
mov ebp, 0x7311d730
dec edi
sub al, 0xc
outsb dx, byte [esi]
cmp dword [esp + eax - 0x41], esi
wait
and bh, byte [eax + 0x6fb4c1f7]
mov edi, 0xfa5cb806
salc
push ss
pop ebx
mov bh, 0x4c
mov cl, 0xbe
xor dword [ebp + edi - 0x1cb6ca1b], esi
mov ah, 0xa9
sub dword [ebp + 0x5a5f453e], esp
sbb al, byte [ecx]
jle 0x68654b
push edi
in eax, 0xe1
ret 0xde93
aad 0xb4
invalid

Function at 0x6ade20
Capabilities:
Encode data using xor

Disassembly:
stc
push dword [edi]
pop dword [esp + 0x28]
stc
cmc
test cx, dx
cmp edi, ebx
push dword [esp + 0xc]
jmp 0x7bd62c
push dword [esp + 4]
pushfd
lea esp, [esp + 0x34]
ja 0x6b2bd4
push edx
push ebx
neg al
sub ebx, edi
lea edi, [edx*4 - 0x37f097b2]
add esp, 8
add ebx, esp
mov di, 0x8983
add di, ax
adc di, 0x6473
mov edi, ebx
shr al, 3
mov al, 0x2e
bt bx, 0xb
cmc
call fcn.006b72ec
pop es
xor esi, dword [ebx + ebx*2 + 0x4a]
insd dword es:[edi], dx
movsd dword es:[edi], dword [esi]
adc al, 0x44
invalid
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
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x23d51917
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x667d021a
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x9ee740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9ee78c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9ee752
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9ee7f0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9ee842
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9ee848
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa06d37
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a069f7

Function at 0xa0bb31
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a0b9b0

Function at 0xa110e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa1110d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa1110d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

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

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4e05c4], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 8
push esp
call dword [sym.imp.COMCTL32.DLL_InitCommonControlsEx]
add esp, 8
mov eax, 0x552c08
mov dword [0x4e059c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4e054c], eax
mov eax, 0x4d8d5c
mov dword [0x4df07c], eax
mov eax, 0x4d8d6c
mov dword [0x4df080], eax
call fcn.004021df
cmp eax, 0
mov cl, 0
jl 0x4d62db
call fcn.00402328
cmp eax, 0
mov cl, 1
jl 0x4d62db
call fcn.0040245d
cmp eax, 0
mov cl, 2
jl 0x4d62db
call fcn.0040246b
cmp eax, 0
mov cl, 3
jl 0x4d62db
call fcn.004a277c
call fcn.004a268a
call fcn.004a23a6
call fcn.004a20b8
call fcn.004a23a6
call fcn.004a23a6
push 0x4e1fc5
call fcn.004a1398
cmp eax, 0
mov cl, 4
jl 0x4d62db
push 0x4e1e45
mov eax, 0x4dbfa8
pop dword [eax]
push 0x4e1d85
mov eax, 0x4e0520
pop dword [eax]
push str.RtMWorldShare
mov eax, str.D_n_
pop dword [eax]
push 0x4e05e8
mov eax, 0x4dcb28
pop dword [eax]
push 0x4e1d30
mov eax, 0x4e0528
pop dword [eax]
call fcn.004d6c60
call fcn.004024a4
call fcn.004a26f7
call fcn.004a2604
call fcn.004a21c0
call fcn.004a2012
call fcn.004a21c0
call fcn.004a21c0
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, eax
call fcn.004d6256
mov esp, eax
call fcn.004d546a
jmp eax
movzx ecx, cl
jmp 0x4d62cb
Function at 0x49d9c5
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x4de6f4]
sub esp, 0x114
test eax, eax
jne 0x49da2f
push 0x110
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004d62e3
add esp, 0xc
mov dword [esp], 0x114
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49da2a
or eax, 0xffffffff
cmp dword [esp + 4], 6
mov dword [0x4de6f4], eax
jb 0x49da14
jne 0x49da2f
cmp dword [esp + 8], 1
ja 0x49da2f
mov eax, 1
cmp eax, eax
mov dword [0x4de6f4], eax
sete al
add esp, 0x114
ret
mov eax, dword [0x4de6f4]
cmp eax, 1
sete al
add esp, 0x114
ret
Function at 0x4ab8a7
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
cmp edx, 0xb
jge 0x4ab9bd
test edx, edx
js 0x4ab9bd
xor eax, eax
mov dword [esp + 0x1c], 0
mov word [esp + 0x5a], ax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x72], 0
mov dword [esp + 0x76], 0
mov dword [esp + 0x7a], 0
mov dword [esp + 0x7e], 0
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], dx
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4ab9bd
push 0x2710
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
fild dword [esp + 0x10]
test eax, eax
jns 0x4ab9af
fadd qword [0x552050]
mov eax, dword [esp + 0x64]
fstp qword [eax]
xor eax, eax
add esp, 0x60
ret 4
mov eax, 0x80004005
add esp, 0x60
ret 4