joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f00
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
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 0x402f20
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402f2f
mov ebx, 0x410908
mov eax, dword [ebp + 8]
test eax, eax
js 0x402f44
mov ecx, dword [0x42a538]
add ecx, eax
push ecx
call fcn.00402ee9
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00402eb7
test eax, eax
jne 0x402f5b
push 0xfffffffffffffffd
pop eax
jmp 0x4030ba
test dword [ebp + 0x14], 0x80000000
je 0x403099
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x420910
mov dword [ebp - 0xc], eax
call fcn.00406b6c
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x4030b7
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f9b
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40c908
push edi
call fcn.00402eb7
test eax, eax
je 0x402f53
sub dword [ebp + 0x14], esi
mov dword [0x420928], edi
mov dword [0x42092c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x420910
mov dword [0x420930], ebx
mov dword [0x420934], eax
call fcn.00406b8c
mov dword [ebp - 0x10], eax
test eax, eax
js 0x40308b
mov esi, dword [0x420930]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x42a5d4], 1
mov edi, eax
je 0x40303f
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x403006
cmp dword [ebp + 0x14], 0
jne 0x40303f
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00404a95
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x403080
cmp dword [ebp + 0x10], eax
jne 0x403068
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403092
cmp dword [ebp - 0x14], esi
jne 0x403092
add dword [ebp - 4], esi
jmp 0x403074
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x420930]
cmp dword [ebp - 0x10], 1
jne 0x402fba
jmp 0x4030b7
cmp dword [ebp + 0x14], eax
jg 0x402f8e
jmp 0x4030b7
push 0xfffffffffffffffc
jmp 0x402f55
push 0xfffffffffffffffe
jmp 0x402f55
test edi, edi
je 0x403100
cmp dword [ebp + 0x14], esi
jge 0x4030a5
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00402eb7
test eax, eax
je 0x402f53
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x4030cc
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40c908
push edi
call fcn.00402eb7
test eax, eax
je 0x402f53
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403092
cmp esi, dword [ebp + 0x10]
jne 0x403092
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4030c1
jmp 0x4030b7
Function at 0x40570e
Capabilities:
Create process on windows

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

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40591c
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x40591f
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [eax + 1]
push 0
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_CreateFileW]
ret 0xc

Function at 0x40594e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x4088cc]
mov dword [ebp - 8], eax
mov eax, dword [0x4088d0]
dec edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40599e
test edi, edi
jne 0x40595b
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405998

Function at 0x4059a2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405a1b
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x800
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405a04
cmp dword [ebp + 0x14], 1
je 0x405a09
cmp dword [ebp + 0x14], 2
je 0x405a09
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x7fe], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x14
Function at 0x40605f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425230
push esi
call fcn.00405ad8
push esi
call fcn.00405828
mov edi, eax
test edi, edi
jne 0x406080
xor eax, eax
jmp 0x4060dd
push edi
call fcn.00405b07
test byte [0x42a548], 0x80
je 0x40609c
movzx eax, word [edi]
test ax, ax
je 0x40607c
cmp eax, 0x5c
je 0x40607c
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x4060be
push esi
call fcn.00405bb6
test eax, eax
je 0x4060b8
test byte [eax], 0x10
je 0x4060e2
push esi
call fcn.00406032
push esi
call ebx
cmp eax, edi
jg 0x4060a9
push esi
call fcn.00406003
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x4060dc
Function at 0x406377
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x4089b4
mov ebx, 0x425a30
push ebx
mov dword [0x42a5a8], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov esi, 0x400
cmp edi, ebp
je 0x4063cf
push 1
push ebp
push edi
call fcn.0040591f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x40654a
cmp eax, esi
jg 0x40654a
push esi
mov edi, 0x427880
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x40654a
cmp eax, esi
jg 0x40654a
push ebp
push ebp
push esi
push 0x426230
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
call ebx
test eax, eax
je 0x40654a
push ebp
push ebp
push esi
mov esi, 0x426880
push esi
push 0xffffffffffffffff
push edi
push ebp
push ebp
call ebx
test eax, eax
je 0x40654a
push esi
push 0x426230
push str._s_s_r_n
push 0x426c80
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x42a4ec]
push dword [eax + 0x128]
push edi
call fcn.004060e6
push 4
push 0xc0000000
push edi
call fcn.0040591f
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x40654a
push ebp
push eax
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
cmp esi, ebp
je 0x406540
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406540
cmp edi, dword [esp + 0x10]
jne 0x406540
push str._Rename__r_n
push esi
call fcn.00405885
cmp eax, ebp
jne 0x4064d3
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406508
push 0x4089a8
add eax, 0xa
push eax
call fcn.00405885
mov ebp, eax
test ebp, ebp
je 0x406506
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
cmp ecx, ebp
jbe 0x4064fd
sub eax, ecx
mov dl, byte [ecx]
mov byte [eax + ecx], dl
dec ecx
cmp ecx, ebp
ja 0x4064f3
sub ebp, esi
lea eax, [ebp + 1]
xor ebp, ebp
jmp 0x40650a
xor ebp, ebp
mov eax, edi
push ebx
push 0x426c80
add eax, esi
push eax
call fcn.004058db
push ebp
push ebp
push ebp
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
lea eax, [esp + 0x14]
push eax
add edi, ebx
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x406583
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0040605f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test cl, 8
je 0x4065b8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42a5a8], eax
jmp 0x40675d
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x4065d3
test eax, eax
je 0x406708
test cl, 2
je 0x406708
push edi
push ebx
mov esi, 0x427080
push esi
call fcn.00405ad8
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x4065f6
push str..
push esi
call edi
jmp 0x4065fc
push ebx
call fcn.00406032
cmp word [ebx], 0
jne 0x40660c
cmp word [0x427080], 0x5c
jne 0x406614
push 0x4082d0
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4066f7
lea esi, [ebp - 0x230]
push 0x3f
mov eax, esi
push eax
call fcn.004057d5
xor edi, edi
cmp word [eax], di
je 0x40665b
cmp word [ebp - 0x28], di
je 0x40665b
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x406675
movzx eax, word [esi + 2]
cmp ax, di
je 0x4066d4
cmp eax, 0x2e
jne 0x406675
cmp word [esi + 4], di
je 0x4066d4
push esi
push dword [ebp - 4]
call fcn.00405ad8
test byte [ebp - 0x25c], 0x10
je 0x40669c
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4066d4
push dword [ebp + 0xc]
push ebx
call fcn.00406583
jmp 0x4066d4
push ebx
call fcn.004058ff
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4066cc
test byte [ebp + 0xc], 4
je 0x4066c4
push ebx
push 0xfffffffffffffff1
call fcn.00404a95
push edi
push ebx
call fcn.00406550
jmp 0x4066d4
inc dword [0x42a5a8]
jmp 0x4066d4
push ebx
push 0xfffffffffffffff2
call fcn.00404a95
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40663b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4066f9
xor edi, edi
cmp dword [ebp + 8], edi
pop edi
je 0x406708
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40675c
cmp dword [ebp - 0xc], esi
je 0x40674c
push ebx
call fcn.00405bb6
test eax, eax
je 0x40675c
push ebx
call fcn.00406003
push ebx
call fcn.004058ff
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406754
test byte [ebp + 0xc], 4
je 0x40674c
push ebx
push 0xfffffffffffffff1
call fcn.00404a95
push esi
push ebx
call fcn.00406550
jmp 0x40675c
inc dword [0x42a5a8]
jmp 0x40675c
push ebx
push 0xffffffffffffffe5
call fcn.00404a95
pop esi
pop ebx
leave
ret 8
Function at 0x406afb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x428084], 0
jne 0x406b39
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b0f
mov dword [ecx*4 + 0x428080], eax
inc ecx
cmp ecx, 0x100
jl 0x406b0a
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406b66
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x428080]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406b47
not eax
pop ebp
ret 0xc
Function at 0x40e28b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409441
mov dword [ebp - 0x14], eax
cmp dword [0x47e41c], esi
jne 0x40e37e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e30b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e45e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e45e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e45e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x47e41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x47e420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x47e424], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47e42c], eax
test eax, eax
je 0x40e37b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47e428], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e3a3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e396
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e3b8
push 4
pop eax
jmp 0x40e460
cmp dword [ebp - 0x14], esi
je 0x40e3b8
push dword [0x47e41c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e39d
mov eax, dword [0x47e428]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e416
cmp dword [0x47e42c], edi
je 0x40e416
push eax
call ebx
push dword [0x47e42c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e416
test eax, eax
je 0x40e416
call ecx
test eax, eax
je 0x40e40b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e40b
test byte [ebp - 8], 1
jne 0x40e416
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e446
mov eax, dword [0x47e420]
cmp eax, edi
je 0x40e443
push eax
call ebx
test eax, eax
je 0x40e443
call eax
mov esi, eax
test esi, esi
je 0x40e443
mov eax, dword [0x47e424]
cmp eax, edi
je 0x40e443
push eax
call ebx
test eax, eax
je 0x40e443
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x47e41c]
call ebx
test eax, eax
je 0x40e45e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e460
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404493
mov esp, ebp
pop ebp
ret
Function at 0x6d574769
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x6d574778
pop dword [ebp - 0xc]
mov eax, 0x439d62f7
add eax, 0x29b9e481
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xcbd88d01
sub dword [ebp - 0x1c], 0x7d8647b6
mov dword [ebp - 0x18], 0x9dd438c3
sub dword [ebp - 0x18], 0x6ba0ec7e
mov dword [ebp - 0x14], 0x1169d9ed
add dword [ebp - 0x14], 0x3ae26a41
mov dword [ebp - 0x10], 0xc5753331
add dword [ebp - 0x10], 0x3a8acccf
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x4f2d966c
sub eax, 0xe1d60640
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc59940b6
add dword [ebp - 0x1c], 0xaed928a0
mov dword [ebp - 0x18], 0x35a8f0e2
sub dword [ebp - 0x18], 0xf43c8f6d
mov dword [ebp - 0x14], 0x1baef716
sub dword [ebp - 0x14], 0xb83f8aaa
mov dword [ebp - 0x10], 0x64e72b62
add dword [ebp - 0x10], 0x9b18d49e
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x7eaf8382
add eax, 0xeea80ca6
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x33358
push 0
call eax
mov ecx, 0x9c54a6d1
sub ecx, 0x9c546f3a
mov ebx, eax
mov edx, 0x31d6f445
add edx, 0x3b80f9bb
add edx, dword [ebp - 0xc]
mov edi, 0x29263a90
add edi, 0x381a5541
add dword [ebp - 4], 0x744a9905
mov esi, dword [edx]
mov dword [ebp - 8], 0x66e9ec10
add esi, edi
xor dword [ebp - 8], 0xf9f095b9
mov dword [ebx], esi
add dword [ebp - 4], 0xe0d1d6c7
add ebx, 0x57adcef7
sub ebx, 0x57adcef3
add edx, 0x8c6a1d24
add edx, 0x7395e2e0
loop 0x6d57489a
add eax, 0x612b1ec5
add eax, 0x9ed5b26a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x220d4208
add ecx, 0x4b49bdf8
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xa55735c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7b276828
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408f54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408f92
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408f99
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40c660
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x409138
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43e564], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409175
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409160
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x409152
mov dword [ecx*4 + 0x43e560], eax
inc ecx
cmp ecx, 0x100
jne 0x40914b
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409197
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43e560]
jmp 0x40917f
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40b730
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4e406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x420]
push esi
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x45c], ebx
call fcn.00485990
add esp, 0xc
test ebx, ebx
je 0x40b927
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00485990
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40b921
push 0
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048bd7e
add esp, 0x24
test eax, eax
jne 0x40b921
lea eax, [ebp - 0xc]
push eax
push 0x4c6fb0
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0040c9a0
add esp, 0x10
lea eax, [ebp - 0x420]
push 0
push 0x80
push 3
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40b921
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 0
push eax
push 8
lea eax, [ebp - 0x458]
mov dword [ebp - 0x430], 0
push eax
push 0xc
lea eax, [ebp - 0x430]
mov dword [ebp - 0x42c], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x424], 0
push 0x2d1400
push ebx
movups xmmword [ebp - 0x458], xmm0
movups xmmword [ebp - 0x448], xmm0
movq qword [ebp - 0x438], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40b921
mov edi, dword [ebp - 0x454]
test edi, edi
je 0x40b927
push edi
call fcn.0046da95
mov esi, eax
add esp, 4
test esi, esi
je 0x40b8a5
push edi
push 0
push esi
call fcn.00485990
add esp, 0xc
jmp 0x40b8a7
xor esi, esi
push 0
lea eax, [ebp - 0x424]
push eax
push edi
push esi
push 0xc
lea eax, [ebp - 0x430]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x40b8f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
test esi, esi
je 0x40b8e0
push esi
call fcn.0046d88c
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d32d
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x40b8d1
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40b8d1
add eax, esi
je 0x40b8d1
mov ecx, dword [ebp - 0x45c]
push eax
call fcn.0040b650
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x40b8d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d32d
mov esp, ebp
pop ebp
ret 8