joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f33
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402f50
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402f5f
mov ebx, 0x40e8c0
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402f74
mov ecx, dword [0x423758]
add ecx, eax
push ecx
call fcn.00403125
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040310f
test eax, eax
je 0x4030c6
test byte [ebp + 0x17], 0x80
je 0x4030af
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40a830
mov dword [ebp - 0xc], eax
call fcn.00406209
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403105
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402fc4
mov esi, dword [ebp + 0x14]
mov edi, 0x40a8c0
push esi
push edi
call fcn.0040310f
test eax, eax
je 0x4030c6
sub dword [ebp + 0x14], esi
mov dword [0x40a848], edi
mov dword [0x40a84c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40a830
mov dword [0x40a850], ebx
mov dword [0x40a854], eax
call fcn.00406229
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x4030a7
mov esi, dword [0x40a850]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x4237b4], 1
mov edi, eax
je 0x403066
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x403033
cmp dword [ebp + 0x14], 0
jne 0x403066
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x50]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.00404fa6
mov dword [ebp - 0xc], edi
test esi, esi
je 0x40309b
cmp dword [ebp + 0x10], 0
jne 0x403083
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00405aa7
test eax, eax
je 0x4030ab
add dword [ebp - 4], esi
jmp 0x40308f
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40a850]
cmp dword [ebp - 0x10], 1
jne 0x402fe7
jmp 0x403105
cmp dword [ebp + 0x14], 0
jg 0x402fb7
jmp 0x403105
push 0xfffffffffffffffc
jmp 0x4030c8
push 0xfffffffffffffffe
jmp 0x4030c8
test edi, edi
je 0x4030fa
cmp dword [ebp + 0x14], esi
jge 0x4030bb
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040310f
test eax, eax
jne 0x403102
push 0xfffffffffffffffd
pop eax
jmp 0x403108
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x4030d6
mov esi, dword [ebp + 0x14]
mov edi, 0x40a8c0
push esi
push edi
call fcn.0040310f
test eax, eax
je 0x4030c6
push esi
push edi
push dword [ebp + 0xc]
call fcn.00405aa7
test eax, eax
je 0x4030ab
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4030cb
jmp 0x403105
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40546c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x407374
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x407364
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4054bd
xor eax, eax
jmp 0x4054e4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x4054e4
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x4054b9
call esi
pop esi
leave
ret 4

Function at 0x40551e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x421510], 0x44
push eax
xor eax, eax
push 0x421510
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40555d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4055e7
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004059db
mov edi, eax
cmp edi, 0xffffffff
je 0x405628
test byte [esp + 0x10], 1
push esi
je 0x40560a
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x405610
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405619
xor eax, eax
inc eax
jmp 0x40562a
test byte [esp + 0x10], 4
jne 0x405628
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x40562f
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.004058ed
test bl, 8
mov dword [ebp - 0xc], eax
je 0x40566e
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423788], eax
jmp 0x4057f8
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405688
test eax, eax
je 0x4057a6
test bl, 2
je 0x4057a6
mov esi, 0x420d10
push edi
push esi
call fcn.00405d8d
cmp dword [ebp + 8], 0
je 0x4056a7
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4056ad
push edi
call fcn.00405846
cmp byte [edi], 0
jne 0x4056bb
cmp byte [0x420d10], 0x5c
jne 0x4056c6
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x40579c
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.0040582a
cmp byte [eax], 0
je 0x40570c
cmp byte [ebp - 0x1c], 0
je 0x40570c
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x405722
mov al, byte [esi + 1]
test al, al
je 0x40577b
cmp al, 0x2e
jne 0x405722
cmp byte [esi + 2], 0
je 0x40577b
push esi
push ebx
call fcn.00405d8d
test byte [ebp - 0x14c], 0x10
je 0x405747
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x40577b
push dword [ebp + 0xc]
push edi
call fcn.0040562f
jmp 0x40577b
push dword [ebp - 4]
push edi
call fcn.004055e7
test eax, eax
jne 0x405773
cmp dword [ebp - 4], eax
je 0x40576b
push edi
push 0xfffffffffffffff1
call fcn.00404fa6
push 0
push edi
call fcn.00405c48
jmp 0x40577b
inc dword [0x423788]
jmp 0x40577b
push edi
push 0xfffffffffffffff2
call fcn.00404fa6
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4056ea
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4057a6
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4057f8
cmp dword [ebp - 0xc], esi
jne 0x4057ba
inc dword [0x423788]
jmp 0x4057f8
push edi
call fcn.00406091
test eax, eax
je 0x4057f8
push edi
call fcn.004057ff
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004055e7
test eax, eax
jne 0x4057f0
cmp dword [ebp - 4], esi
je 0x4057b2
push edi
push 0xfffffffffffffff1
call fcn.00404fa6
push esi
push edi
call fcn.00405c48
jmp 0x4057f8
push edi
push 0xffffffffffffffe5
call fcn.00404fa6
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4058ed
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421110
push esi
call fcn.00405d8d
push esi
call fcn.00405898
mov edi, eax
test edi, edi
jne 0x40590e
xor eax, eax
jmp 0x405960
push edi
call fcn.00405ff8
test byte [0x423718], 0x80
je 0x405927
mov al, byte [edi]
test al, al
je 0x40590a
cmp al, 0x5c
je 0x40590a
sub edi, esi
jmp 0x40593f
call fcn.00406091
test eax, eax
je 0x405939
test byte [eax], 0x10
je 0x40590a
push esi
call fcn.00405846
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x40592b
call fcn.004057ff
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 0x4059db
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 0x4059fa
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 0x405a00
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 0x405a2f
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 [0x4093ac]
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 0x405a74
test edi, edi
jne 0x405a3a
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405a6e
Function at 0x405ad6
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x421a98
push 0x4093c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov ebx, 0x400
je 0x405b24
push 1
push 0
push esi
call fcn.00405a00
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x405c43
cmp eax, ebx
jg 0x405c43
mov esi, 0x421e98
push ebx
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x405c43
cmp eax, ebx
jg 0x405c43
push esi
push edi
push str._s_s_r_n
push 0x421698
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x423710]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405daf
push 4
push 0xc0000000
push esi
call fcn.00405a00
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405c43
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 0x405c3c
push edi
push esi
push ebp
call fcn.00405a78
test eax, eax
je 0x405c3c
push str._Rename__r_n
push esi
call fcn.00405965
test eax, eax
jne 0x405bda
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405c0f
add eax, 0xa
push 0x4093b0
push eax
call fcn.00405965
mov ebp, eax
test ebp, ebp
je 0x405c0b
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405bfc
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405bf6
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405c11
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x421698
push eax
call fcn.004059bb
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405aa7
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
ret

Function at 0x405c48
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x405c6b
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405ad6
pop ecx
pop ecx
inc dword [0x423790]
ret 8
Function at 0x405c74
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 0x405ce5
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 0x405cd4
cmp dword [ebp + 0x14], 1
je 0x405cd6
cmp dword [ebp + 0x14], 2
je 0x405cd6
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 0x4060b8
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 0x4060dc
xor eax, eax
test eax, eax
je 0x4060ee
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4060ee
xor ecx, ecx
jmp 0x4060f1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
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 0x40619b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42229c], 0
push esi
jne 0x4061d2
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 0x4061ac
mov dword [ecx*4 + 0x422298], eax
inc ecx
cmp ecx, 0x100
jl 0x4061a7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406203
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 + 0x422298]
xor eax, esi
inc ecx
dec edx
jne 0x4061e5
pop edi
not eax
pop esi
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
invalid
invalid
Function at 0x405814
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405adf
test bl, 8
mov dword [ebp - 8], eax
je 0x405853
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x429288], eax
jmp 0x4059d0
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x40586d
test eax, eax
je 0x40597e
test bl, 2
je 0x40597e
mov esi, 0x4246f0
push edi
push esi
call fcn.00405f8c
cmp dword [ebp + 8], 0
je 0x40588c
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405892
push edi
call fcn.00405a23
cmp word [edi], 0
jne 0x4058a2
cmp word [0x4246f0], 0x5c
jne 0x4058ad
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405973
cmp word [ebp - 0x22c], 0x2e
jne 0x4058f7
cmp word [ebp - 0x22a], 0
je 0x405956
cmp word [ebp - 0x22a], 0x2e
jne 0x4058f7
cmp word [ebp - 0x228], 0
je 0x405956
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00405f8c
test byte [ebp - 0x258], 0x10
je 0x405922
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405956
push dword [ebp + 0xc]
push edi
call fcn.00405814
jmp 0x405956
push dword [ebp - 4]
push edi
call fcn.004057cc
test eax, eax
jne 0x40594e
cmp dword [ebp - 4], eax
je 0x405946
push edi
push 0xfffffffffffffff1
call fcn.00405234
push 0
push edi
call fcn.00405e26
jmp 0x405956
inc dword [0x429288]
jmp 0x405956
push edi
push 0xfffffffffffffff2
call fcn.00405234
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4058cf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x40597e
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4059d0
cmp dword [ebp - 8], esi
jne 0x405992
inc dword [0x429288]
jmp 0x4059d0
push edi
call fcn.004062cf
test eax, eax
je 0x4059d0
push edi
call fcn.004059d7
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004057cc
test eax, eax
jne 0x4059c8
cmp dword [ebp - 4], esi
je 0x40598a
push edi
push 0xfffffffffffffff1
call fcn.00405234
push esi
push edi
call fcn.00405e26
jmp 0x4059d0
push edi
push 0xffffffffffffffe5
call fcn.00405234
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4063a4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426d8c], 0
push esi
jne 0x4063db
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 0x4063b5
mov dword [ecx*4 + 0x426d88], eax
inc ecx
cmp ecx, 0x100
jl 0x4063b0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40640c
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 + 0x426d88]
xor eax, esi
inc ecx
dec edx
jne 0x4063ee
pop edi
not eax
pop esi
ret 0xc
Function at 0x410e70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x579490]
cmp ax, 0xcb
je 0x410f7c
cmp ax, 0xcc
je 0x410f7c
lea esi, [esi]
mov edx, dword [0x665070]
test edx, edx
je 0x410ea5
mov eax, dword [0x664f20]
call edx
mov ebx, eax
jmp 0x410eaa
mov ebx, 0x664f24
cmp word [0x664f10], 0
jle 0x410ed0
mov eax, 0x664ef0
call fcn.00411130
mov eax, ebx
call fcn.00410a30
mov eax, ebx
call fcn.00410aa0
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410ef2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410eed
mov edx, edi
mov eax, ebx
call fcn.0040fea0
jmp 0x410ef0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410ed8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x664f10], 0
jle 0x410f7c
mov edx, 0x664e30
mov eax, ebx
call fcn.0040ffe0
mov edi, eax
test edi, edi
je 0x410f4c
mov eax, dword [0x664ec4]
mov dword [edi + 0xc], eax
cmp dword [0x664ec4], 0
je 0x410f40
mov eax, dword [0x664ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x664ec4], eax
nop
sub word [0x664f10], 1
cmp word [0x664f10], 0
sete bl
mov eax, 0x664ef0
call fcn.00411150
test bl, bl
je 0x410f7c
mov eax, 0x664ef0
call fcn.00411120
lea esi, [esi]
pop edi
pop esi
pop ebx
ret

Function at 0x427c00
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
mov edx, 0x60fab0
lea eax, [ebp - 0x18]
call fcn.0040ea90
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00427be0
push ebp
push 0x414aa0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, str.Parametr
call fcn.00408b80
mov edx, dword [0x667d30]
lea eax, [ebp - 0x14]
call fcn.00408b80
lea eax, [ebp - 0x10]
mov edx, str.Parametr
call fcn.00408b80
mov edx, dword [0x667d34]
lea eax, [ebp - 0xc]
call fcn.00408b80
mov byte [ebp - 8], 0
add byte [ebp - 8], 1
mov edx, 1
mov eax, 0x65d3e8
call fcn.00570b10
mov dword [ebp - 4], eax
xor eax, eax
push fcn.00427bd0
push ebp
push 0x414aa0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x80000001
call fcn.00570ad0
mov al, byte [ebp - 8]
cmp al, 1
jl 0x427cd4
sub al, 1
je 0x427cb0
sub al, 1
je 0x427cc4
jmp 0x427cd4
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.00570d40
jmp 0x427cd4
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.00570d40
nop
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.00570f20
mov eax, dword [ebp - 0x1c]
movzx edx, byte [ebp - 8]
mov edx, dword [ebp + edx*8 - 0x1c]
call fcn.00409740
test eax, eax
je 0x427d14
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp + eax*8 - 0x1c]
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
call fcn.005710e0
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00427bd0
cmp byte [ebp - 8], 2
jl 0x427c68
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00427be0
mov esp, ebp
pop ebp
ret
Function at 0x492f20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x492f54
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x668910]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x492f30
pop edi
pop esi
pop ebx
ret

Function at 0x4b3270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4b32a1
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4b3290
pop esi
pop ebx
ret

Function at 0x4b4a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4b4aa4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4b4b6a
mov esi, esi
xor eax, eax
push 0x4b4b4b
push ebp
push 0x414e20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040d380
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x612238
call fcn.0043b930
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004b4d00
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004b4d70
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004b4de0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4b4b40
cmp dword [ebp - 4], 0
je 0x4b4b40
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4b4b6a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50f6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x50f6bb
jmp 0x50f6c8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x50f6d0
jmp 0x50f6d8
jmp 0x50f78a
xor eax, eax
push 0x50f767
push ebp
push 0x414e20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040d380
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x50f749
jmp 0x50f75c
cmp dword [ebp - 8], 0
jne 0x50f751
jmp 0x50f75c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x50f78a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret