joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.00477ef0
push 0
push 2
mov dword [ebp - 0x270], str.spoolsv.exe
mov dword [ebp - 0x26c], str.sihost.exe
mov dword [ebp - 0x268], str.fontdrvhost.exe
mov dword [ebp - 0x264], str.cmd.exe
mov dword [ebp - 0x260], str.dwm.exe
mov dword [ebp - str.Js__], str.LogonUI.exe
mov dword [ebp - 0x258], str.lsass.exe
mov dword [ebp - 0x254], str.csrss.exe
mov dword [ebp - 0x250], str.smss.exe
mov dword [ebp - 0x24c], str.winlogon.exe
mov dword [ebp - 0x248], str.services.exe
mov dword [ebp - 0x244], str.conhost.exe
mov dword [ebp - 0x240], str.everything.exe
mov dword [ebp - 0x23c], 0x5fe3b8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x475990
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x475989
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push esi
nop word [eax + eax]
xor esi, esi
push dword [ebp + esi*4 - 0x270]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x47591e
inc esi
cmp esi, 0xe
jl 0x475902
jmp 0x475971
push 4
call fcn.00536ab6
mov ecx, dword [ebp - 0x228]
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [eax], ecx
lea eax, [ebp - 0x234]
mov esi, dword [0x5fe980]
push eax
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.0045c860
mov edx, dword [0x5fe984]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x47599f
inc edx
mov dword [0x5fe984], edx
mov dword [esi + 4], eax
mov dword [ebx], eax
mov ebx, dword [ebp - 0x238]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x475900
pop esi
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005368a5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533cfe
int3
Function at 0x41b45a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d690]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004182b3
mov dword [ebp - 0x14], eax
cmp dword [0x467340], edi
jne 0x41b54b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41b4d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41b62b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b62b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b62b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x467340], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x467344], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x467348], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x467350], eax
test eax, eax
je 0x41b548
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46734c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b570
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41b563
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41b585
push 4
pop eax
jmp 0x41b62d
cmp dword [ebp - 0x14], edi
je 0x41b585
push dword [0x467340]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41b56a
mov eax, dword [0x46734c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41b5e3
cmp dword [0x467350], esi
je 0x41b5e3
push eax
call ebx
push dword [0x467350]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41b5e3
test eax, eax
je 0x41b5e3
call ecx
test eax, eax
je 0x41b5d8
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 0x41b5d8
test byte [ebp - 8], 1
jne 0x41b5e3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41b613
mov eax, dword [0x467344]
cmp eax, esi
je 0x41b610
push eax
call ebx
test eax, eax
je 0x41b610
call eax
mov edi, eax
test edi, edi
je 0x41b610
mov eax, dword [0x467348]
cmp eax, esi
je 0x41b610
push eax
call ebx
test eax, eax
je 0x41b610
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x467340]
call ebx
test eax, eax
je 0x41b62b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41b62d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004153b9
leave
ret
Function at 0x40149d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x47b390]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401532
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014ef
cmp dword [ebp + 0x10], ebx
jne 0x401526
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.0040149d
test eax, eax
jne 0x401501
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405bd1
cmp eax, ebx
je 0x401539
push ebx
push dword [0x47b390]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x401532
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x47b390], ebx
jne 0x40152f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40152f
jmp 0x401532
Function at 0x405702
Capabilities:
Create process on windows

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

Function at 0x4058f3
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 0x405910
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x405913
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 0x405942
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 0x405992
test edi, edi
jne 0x40594f
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x40598c

Function at 0x405996
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 0x405a0f
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x4008
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4059f8
cmp dword [ebp + 0x14], 1
je 0x4059fd
cmp dword [ebp + 0x14], 2
je 0x4059fd
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x4006], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x14
Function at 0x4060e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x45fe18
push esi
call fcn.00405acc
push esi
call fcn.0040581c
mov edi, eax
test edi, edi
jne 0x406105
xor eax, eax
jmp 0x406162
push edi
call fcn.00405afb
test byte [0x47b308], 0x80
je 0x406121
movzx eax, word [edi]
test ax, ax
je 0x406101
cmp eax, 0x5c
je 0x406101
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x406143
push esi
call fcn.00405baa
test eax, eax
je 0x40613d
test byte [eax], 0x10
je 0x406167
push esi
call fcn.004060b7
push esi
call ebx
cmp eax, edi
jg 0x40612e
push esi
call fcn.00406088
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 0x406161
Function at 0x4063ff
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, 0x463e20
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov esi, 0x400
cmp edi, ebp
je 0x40644d
push 1
push ebp
push edi
call fcn.00405913
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 0x4065c8
cmp eax, esi
jg 0x4065c8
push esi
mov edi, 0x469478
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x4065c8
cmp eax, esi
jg 0x4065c8
push ebp
push ebp
push esi
push 0x464620
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
call ebx
test eax, eax
je 0x4065c8
push ebp
push ebp
push esi
mov esi, 0x464c70
push esi
push 0xffffffffffffffff
push edi
push ebp
push ebp
call ebx
test eax, eax
je 0x4065c8
push esi
push 0x464620
push str._s_s_r_n
push 0x465070
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x47b2bc]
push dword [eax + 0x128]
push edi
call fcn.0040616b
push 4
push 0xc0000000
push edi
call fcn.00405913
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4065c8
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 0x4065be
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 0x4065be
cmp edi, dword [esp + 0x10]
jne 0x4065be
push str._Rename__r_n
push esi
call fcn.00405879
cmp eax, ebp
jne 0x406551
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406586
push 0x4089a8
add eax, 0xa
push eax
call fcn.00405879
mov ebp, eax
test ebp, ebp
je 0x406584
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
cmp ecx, ebp
jbe 0x40657b
sub eax, ecx
mov dl, byte [ecx]
mov byte [eax + ecx], dl
dec ecx
cmp ecx, ebp
ja 0x406571
sub ebp, esi
lea eax, [ebp + 1]
xor ebp, ebp
jmp 0x406588
xor ebp, ebp
mov eax, edi
push ebx
push 0x465070
add eax, esi
push eax
call fcn.004058cf
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 0x406601
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.004060e4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test cl, 8
je 0x406636
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x47b368], eax
jmp 0x4067db
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x406651
test eax, eax
je 0x406786
test cl, 2
je 0x406786
push edi
push ebx
mov esi, 0x465470
push esi
call fcn.00405acc
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x406674
push str..
push esi
call edi
jmp 0x40667a
push ebx
call fcn.004060b7
cmp word [ebx], 0
jne 0x40668a
cmp word [0x465470], 0x5c
jne 0x406692
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 0x406775
lea esi, [ebp - 0x230]
push 0x3f
mov eax, esi
push eax
call fcn.004057c9
xor edi, edi
cmp word [eax], di
je 0x4066d9
cmp word [ebp - 0x28], di
je 0x4066d9
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x4066f3
movzx eax, word [esi + 2]
cmp ax, di
je 0x406752
cmp eax, 0x2e
jne 0x4066f3
cmp word [esi + 4], di
je 0x406752
push esi
push dword [ebp - 4]
call fcn.00405acc
test byte [ebp - 0x25c], 0x10
je 0x40671a
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x406752
push dword [ebp + 0xc]
push ebx
call fcn.00406601
jmp 0x406752
push ebx
call fcn.004058f3
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40674a
test byte [ebp + 0xc], 4
je 0x406742
push ebx
push 0xfffffffffffffff1
call fcn.00404a89
push edi
push ebx
call fcn.004065ce
jmp 0x406752
inc dword [0x47b368]
jmp 0x406752
push ebx
push 0xfffffffffffffff2
call fcn.00404a89
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4066b9
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x406777
xor edi, edi
cmp dword [ebp + 8], edi
pop edi
je 0x406786
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4067da
cmp dword [ebp - 0xc], esi
je 0x4067ca
push ebx
call fcn.00405baa
test eax, eax
je 0x4067da
push ebx
call fcn.00406088
push ebx
call fcn.004058f3
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4067d2
test byte [ebp + 0xc], 4
je 0x4067ca
push ebx
push 0xfffffffffffffff1
call fcn.00404a89
push esi
push ebx
call fcn.004065ce
jmp 0x4067da
inc dword [0x47b368]
jmp 0x4067da
push ebx
push 0xffffffffffffffe5
call fcn.00404a89
pop esi
pop ebx
leave
ret 8
Function at 0x406b79
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x469c7c], 0
jne 0x406bb7
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 0x406b8d
mov dword [ecx*4 + 0x469c78], eax
inc ecx
cmp ecx, 0x100
jl 0x406b88
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406be4
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 + 0x469c78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406bc5
not eax
pop ebp
ret 0xc
Function at 0x418185
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x41e990], ebx
push esi
push edi
jne 0x418205
push 0x41b238
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x418240
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x41b22c
push edi
call esi
test eax, eax
mov dword [0x41e990], eax
je 0x418240
push 0x41b21c
push edi
call esi
push 0x41b208
push edi
mov dword [0x41e994], eax
call esi
cmp dword [0x41e778], 2
mov dword [0x41e998], eax
jne 0x418205
push 0x41b1ec
push edi
call esi
test eax, eax
mov dword [0x41e9a0], eax
je 0x418205
push 0x41b1d4
push edi
call esi
mov dword [0x41e99c], eax
mov eax, dword [0x41e99c]
test eax, eax
je 0x41824a
call eax
test eax, eax
je 0x418231
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x41e9a0]
test eax, eax
je 0x418231
test byte [ebp - 8], 1
jne 0x41824a
cmp dword [0x41e784], 4
jb 0x418244
or byte [ebp + 0x12], 0x20
jmp 0x418269
xor eax, eax
jmp 0x418279
or byte [ebp + 0x12], 4
jmp 0x418269
mov eax, dword [0x41e994]
test eax, eax
je 0x418269
call eax
mov ebx, eax
test ebx, ebx
je 0x418269
mov eax, dword [0x41e998]
test eax, eax
je 0x418269
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x41e990]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422a70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00407220
mov eax, dword [0x427008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100c], eax
cmp ebx, 0x182
jne 0x422aa9
lea ecx, [ebp - 0x102c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x422ab9
cmp ebx, 0x19f
jne 0x422ab9
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x422b3d
push esi
jmp 0x422ad0
lea esi, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
call fcn.00422a60
mov dl, byte [ebp - 0x1008]
mov eax, dword [ebp - 0x100c]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x422b37
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.yecahanoduzoj
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, ebx
jl 0x422ad0
pop esi
pop edi
cmp ebx, 0x2d
jne 0x422b57
mov dword [0x51ee20], 0xa62e7790
mov dword [0x51ee24], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x422b70
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x51ecec]
push ebx
push esi
mov esi, dword [0x51eb34]
mov ebx, eax
cmp eax, 0x5dd
jne 0x422b92
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x427ef0]
call fcn.00422a30
cmp dword [0x51ecec], 0x2f
jne 0x422bad
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00422a70
add esp, 4
cmp dword [0x51ecec], 0x568
pop esi
pop ebx
jne 0x422bd6
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret
Function at 0x4aaa74
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x4ba9dc], 0
jne 0x4aab33
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.004af8ad
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4ba9dc], eax
mov dword [ebp - 0xc], 0
jmp 0x4aaab8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x4aab33
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.004aaa1e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x4aaae7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x4aab14
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x4aab0a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x4aab12
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4aaade
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004aaa1e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4ba9dc]
mov dword [ecx + edx*4], eax
jmp 0x4aaaaf
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x4aab4d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x4aab79
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x4ba9dc]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x4aab44
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4ab73a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4ab7a6
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4ab7ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b57e0
add esp, 8
test eax, eax
jne 0x4ab7ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4ab7f1
jmp 0x4ab79d
xor eax, eax
mov esp, ebp
pop ebp
ret