joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4104c8
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov edx, eax
sub edx, 1
jb 0x4104e9
sub edx, 3
je 0x4104fc
jmp 0x41050f
push 0x410578
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcpyA
or esi, 0xffffffff
jmp 0x410564
push 0x41058c
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcpyA
or esi, 0xffffffff
jmp 0x410564
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x41054f
push 0x104
lea eax, [ebp - 0x104]
push eax
push edi
call sub.psapi.dll_GetProcessImageFileNameA
test eax, eax
jbe 0x41054f
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0041038c
test eax, eax
je 0x41054f
or esi, 0xffffffff
test esi, esi
jne 0x41055a
call sub.kernel32.dll_GetLastError
mov ebx, eax
test edi, edi
je 0x410564
push edi
call sub.kernel32.dll_CloseHandle
push ebx
call sub.kernel32.dll_SetLastError
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4106e8
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov edi, eax
xor eax, eax
push ebp
push 0x410856
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x154]
mov edx, edi
call fcn.00404484
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 4]
call fcn.0040add8
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x158]
mov ecx, 0x41086c
mov edx, dword [ebp - 4]
call fcn.00404580
mov eax, dword [ebp - 0x158]
call fcn.004046e8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x410817
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004044fc
push dword [ebp - 4]
push 0x41087c
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004045fc
mov eax, dword [ebp - 0x150]
and eax, 0x10
cmp eax, 0x10
jne 0x4107e4
mov eax, dword [ebp - 0xc]
mov edx, 0x410888
call fcn.00404690
je 0x4107fc
mov eax, dword [ebp - 0xc]
mov edx, 0x410894
call fcn.00404690
je 0x4107fc
push 0
mov eax, dword [ebp - 8]
call fcn.004046e8
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov eax, esi
or edx, 0xffffffff
call fcn.004106e8
jmp 0x4107fc
push 0
mov eax, dword [ebp - 8]
call fcn.004046e8
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x150]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x41076f
push ebx
call sub.kernel32.dll_FindClose_1
cmp dword [ebp - 0x10], 0
je 0x41082b
push 0
push edi
call sub.kernel32.dll_SetFileAttributesA
push edi
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41085d
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.004042b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042b0
ret
Function at 0x410898
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
xor esi, esi
xor ebx, ebx
mov edx, eax
sub edx, 1
jb 0x4108ad
sub edx, 3
je 0x4108b2
jmp 0x4108b7
or ebx, 0xffffffff
jmp 0x4108e9
or ebx, 0xffffffff
jmp 0x4108e9
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4108d4
push 0
push edi
call sub.kernel32.dll_TerminateProcess
mov ebx, eax
test ebx, ebx
jne 0x4108df
call sub.kernel32.dll_GetLastError
mov esi, eax
test edi, edi
je 0x4108e9
push edi
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x41129c
Capabilities:
Acquire debug privileges
Check for time delay via gettickcount
Create process on windows
Enumerate process modules
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4112a4
push ecx
push ebx
push esi
push edi
mov eax, 0x410934
call fcn.00405a40
xor eax, eax
push ebp
push 0x4114ba
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x411495
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentProcess
mov edx, 0x4114cc
call fcn.00410314
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.0040b5a0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00407278
mov edx, dword [ebp - 0x14]
mov eax, 0x4179e4
mov ecx, 0x4114e8
call fcn.00404580
mov eax, dword [0x4179e4]
call fcn.004071b8
test al, al
jne 0x411326
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41149f
call sub.kernel32.dll_GetTickCount
mov dword [0x418b4c], eax
jmp 0x411475
mov eax, 0x417a3c
call fcn.00410594
test eax, eax
je 0x411475
push 0x418b48
push 0x1004
push 0x417b44
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x4113bd
cmp dword [0x418b48], 0
jbe 0x4113bd
mov esi, dword [0x418b48]
shr esi, 2
dec esi
test esi, esi
jl 0x4113bd
inc esi
mov ebx, 0x417b44
push 0x417a40
mov eax, dword [ebx]
push eax
call fcn.004104c8
test eax, eax
je 0x4113b7
lea eax, [ebp - 0x1c]
mov edx, 0x417a40
mov ecx, 0x104
call fcn.004044fc
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x417a3c]
call fcn.0040fce8
test al, al
je 0x4113b7
mov eax, dword [ebx]
call fcn.00410898
add ebx, 4
dec esi
jne 0x41137c
push 3
lea eax, [ebp - 0x20]
mov ecx, 0x411510
mov edx, dword [0x417a3c]
call fcn.00404580
mov eax, dword [ebp - 0x20]
call fcn.004046e8
push eax
mov eax, dword [0x417a3c]
call fcn.004046e8
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x411475
push 0x417a2c
push 0x4179e8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4179e4]
call fcn.004046e8
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x411475
push 0xffffffffffffffff
mov eax, dword [0x417a2c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [0x417a30]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x417a2c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x417a3c]
call fcn.00407200
test al, al
je 0x41148b
lea eax, [ebp - 0x24]
mov ecx, 0x411510
mov edx, dword [0x417a3c]
call fcn.00404580
mov eax, dword [ebp - 0x24]
call fcn.004046e8
or edx, 0xffffffff
call fcn.004106e8
jmp 0x41148b
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x418b4c]
cmp eax, 0xea60
jb 0x411335
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41149f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4114c1
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004042b0
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x497025bb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x9322781
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401497
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x200
lea eax, [ebp - 0x204]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x204]
push eax
call fcn.00401478
pop ecx
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [ebp - 0x203], 0x3a
jne 0x4014ee
mov al, byte [ebp - 0x204]
mov byte [0x44c00e], al
jmp 0x4014f5
mov byte [0x44c00e], 0x2d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00426fc3
leave
ret

Function at 0x401503
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
lea eax, [ebp - 0x78]
push eax
push 3
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401543
xor eax, eax
jmp 0x4015da
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
mov esi, 0x43e0e4
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401573
cmp dword [ebp + 0x198], ebx
je 0x4015cd
cmp byte [ebp + 0x19c], bl
je 0x40158f
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x80], 1
sete al
jmp 0x4015d9
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0x198], ebx
je 0x4015cd
push 0x200
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x74]
push eax
call fcn.00426920
pop ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
pop ebx
call fcn.00426fc3
add ebp, 0x190
leave
ret
Function at 0x4023f8
Capabilities:
Resolve dns

Disassembly:
push ecx
push str.seznam.cz
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x402413
mov byte [0x57b03d], 1
xor al, al
pop ecx
ret
and dword [0x574768], 0
cmp byte [0x45da9c], 0
je 0x402457
push 0
push 1
push 0x50
push 0
lea eax, [esp + 0x10]
push eax
push str.http:__www.kuma.cz_download_version.bin
push str.www.kuma.cz
call fcn.00401f49
add esp, 0x1c
test eax, eax
je 0x402457
push eax
call fcn.004260a6
pop ecx
mov dword [0x574768], 1
mov al, 1
pop ecx
ret

Function at 0x4026a2
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
jne 0x4026af
xor eax, eax
ret
mov eax, dword [eax + 0x18]
cmp eax, ecx
je 0x4026ac
push 1
push ecx
push ecx
push eax
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
inc eax
ret

Function at 0x40274e
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x40277a
cmp dword [eax + 0xc], ecx
je 0x40277a
movsx eax, word [eax]
imul eax, eax, 0x48
mov eax, dword [eax + 0x4589f0]
cmp eax, ecx
je 0x40277a
push 1
push ecx
push ecx
push eax
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x40299a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [0x45f54c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4029b7
pop esi
ret
push ebx
push esi
push dword [0x45f54c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x402a0c
push edi
push esi
push dword [0x45f54c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [esp + 0x18]
mov dword [esi], eax
inc eax
push eax
call fcn.00426af7
mov edi, eax
mov eax, dword [esi]
pop ecx
mov byte [edi + eax], 0
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.00426fe0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403417
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push eax
mov dword [ebp - 0x108], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40348b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x104]
push str.Nelze_zapisovat_data_pro_program_iTV._Syst
push eax
call fcn.0042775f
push esi
push esi
push 0x43e95c
lea eax, [ebp - 0x104]
push 2
push eax
call fcn.004028d1
add esp, 0x20
jmp 0x4034a5
push esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x108]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426fc3
leave
ret
Function at 0x4034ba
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4034eb
xor eax, eax
jmp 0x403530
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [ebp + 0x10]
inc esi
cmp eax, esi
jge 0x403506
cmp eax, ebx
je 0x403506
lea esi, [eax + 1]
push esi
call fcn.00426af7
pop ecx
push ebx
push dword [ebp + 0xc]
mov edi, eax
mov byte [edi + esi - 1], bl
dec esi
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4035f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], 0x10
mov edx, dword [ebp + 0xc]
xor eax, dword [edx]
mov dword [ebp + 8], eax
call fcn.004035b6
add dword [ebp + 0xc], 4
xor eax, esi
dec dword [ebp + 0x10]
mov esi, dword [ebp + 8]
jne 0x403613
mov edx, eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
xor eax, edx
xor ecx, esi
mov dword [edi], ecx
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret

Function at 0x403643
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x44]
mov dword [ebp + 0xc], 0x10
xor eax, dword [esi]
mov dword [ebp + 8], eax
call fcn.004035b6
xor eax, edi
mov edi, dword [ebp + 8]
sub esi, 4
dec dword [ebp + 0xc]
jne 0x403660
mov edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
xor eax, edx
xor ecx, edi
mov dword [ebx], ecx
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
pop ebp
ret
Function at 0x40368e
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 4
mov eax, 0x43f7b0
lea ecx, [edi + 0x48]
pop ebx
mov edx, 0x100
mov esi, dword [eax]
mov dword [ecx], esi
add eax, ebx
add ecx, ebx
dec edx
jne 0x4036aa
cmp eax, 0x4407b0
jl 0x4036a5
mov edx, 0x43f768
xor ecx, ecx
mov eax, edi
sub edx, edi
mov dword [ebp - 4], 0x12
xor esi, esi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
movzx ebx, byte [ecx + ebx]
shl esi, 8
or esi, ebx
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x4036e7
xor ecx, ecx
dec dword [ebp - 8]
jne 0x4036d3
mov ebx, dword [edx + eax]
xor ebx, esi
mov dword [eax], ebx
push 4
pop ebx
add eax, ebx
dec dword [ebp - 4]
jne 0x4036ce
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.004035f6
mov eax, dword [ebp - 4]
mov dword [edi + esi*4], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [edi + esi*4 + 4], eax
inc esi
inc esi
cmp esi, 0x12
jl 0x403705
lea esi, [edi + 0x4c]
mov dword [ebp - 0xc], ebx
mov ebx, 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.004035f6
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
add esp, 0xc
add esi, 8
dec ebx
jne 0x403735
dec dword [ebp - 0xc]
jne 0x403730
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4037ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp + 0x198]
lea ecx, [ebp - 0x78]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4037ea
xor al, al
jmp 0x40384a
mov al, byte [0x43f692]
push edi
push 0x1ff
mov byte [ebp - 0x74], al
lea eax, [ebp - 0x73]
push 0
push eax
mov dword [ebp - 0x7c], 0x100
call fcn.00426c80
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.ProductId
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x4037e6
push dword [ebp + 0x19c]
lea eax, [ebp - 0x74]
push eax
call fcn.00403784
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
call fcn.00426fc3
add ebp, 0x190
leave
ret

Function at 0x403929
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push 8
pop ebx
push ebx
xor edi, edi
push edi
push esi
call fcn.00426c80
add esp, 0xc
push edi
push edi
push edi
push edi
push esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [esi], edi
je 0x403968
push 0xffffffffffffffff
push str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.004037ad
pop ecx
pop ecx
mov ecx, esi
xor byte [ecx], al
inc ecx
dec ebx
jne 0x403962
push edi
push edi
call fcn.00401a3b
pop ecx
pop ecx
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
ret
Function at 0x4039e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
mov eax, dword [ebp + 0x1b0]
push ebx
push esi
push edi
push 0xc
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00426c80
mov eax, dword [0x574540]
push esi
push esi
mov dword [ebp - 0x7c], eax
call fcn.00401a3b
mov dword [ebp - 0x74], eax
mov al, byte [0x44c00e]
mov ebx, 0x57ad40
push ebx
mov byte [ebp - 0x77], al
call fcn.00426920
add esp, 0x18
test eax, eax
jbe 0x403a95
mov esi, 0x440cec
lea edi, [ebp + 0x194]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp + 0x197]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosb byte es:[edi], al
lea eax, [ebp + 0x194]
push 0x57ad4e
push eax
call fcn.00428410
push 0x10
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.004283e6
xor eax, dword [ebp - 0x74]
add esp, 0x18
and eax, 0xff
xor dword [ebp - 0x74], eax
xor esi, esi
jmp 0x403a9c
or dword [ebp - 0x74], 0xff
push ebx
call fcn.00426920
push eax
push ebx
call fcn.00403784
mov cl, byte [ebp - 0x74]
add esp, 0xc
push 8
mov byte [ebp - 0x78], al
pop edx
lea eax, [ebp - 0x7c]
xor byte [eax], cl
inc eax
dec edx
jne 0x403ab8
push 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004038cc
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0xc
cmp dword [0x574540], esi
jne 0x403b26
lea eax, [ebp - 0x6c]
push 0x43eea8
push eax
call fcn.004269b0
pop ecx
pop ecx
push str.Na_tomto_disku_nebo_odd
push 0x433
push dword [ebp - 0x70]
call edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x419
push dword [ebp - 0x70]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x418
push dword [ebp - 0x70]
call esi
push eax
call ebx
lea eax, [ebp - 0x6c]
push eax
push 0x3f3
push dword [ebp - 0x70]
call edi
mov ecx, dword [ebp + 0x1a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426fc3
add ebp, 0x1a8
leave
ret
Function at 0x404187
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x188
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp + 0x104], eax
cmp dword [0x57b01c], 0
je 0x4042af
push ebx
push esi
push edi
push 0x7d000
call fcn.00426af7
push eax
mov esi, eax
call fcn.004040b0
push eax
mov ebx, eax
call fcn.00403ec9
push 1
push eax
call fcn.00403f2b
push eax
call fcn.00403e67
mov edi, eax
call fcn.00401497
mov eax, dword [str.itv.cfg]
mov dword [ebp - 0x80], eax
mov eax, dword [0x440d6c]
push 0x17c
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00426c80
add esp, 0x24
cmp dword [0x45e718], 1
jne 0x404246
push 0
push 0x1a
lea eax, [ebp - 0x80]
push eax
push dword [0x57b008]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404235
lea eax, [ebp - 0x80]
push 0x440d5c
push eax
call fcn.004269c0
pop ecx
pop ecx
sub ebx, esi
push ebx
push esi
push str.itv.cfg
call fcn.00403417
add esp, 0xc
sub edi, esi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00403417
add esp, 0xc
cmp byte [0x45e738], 0
je 0x4042a5
push 0x2c0
push 0x45defc
push esi
call fcn.00426fe0
lea eax, [esi + 0x2c0]
push 0
push eax
call fcn.00403f2b
mov edi, eax
movsx eax, byte [0x45e738]
push eax
lea eax, [ebp - 0x80]
push str.profile_d.cfg
push eax
call fcn.0042775f
sub edi, esi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00403417
add esp, 0x2c
push esi
call fcn.004260a6
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00426fc3
add ebp, 0x108
leave
ret
Function at 0x4042c4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x318
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp + 0x294], eax
push ebx
xor ebx, ebx
cmp dword [ebp + 0x2a0], ebx
push esi
jne 0x4042f5
mov dword [0x57b01c], 1
call fcn.00401497
push ebx
lea eax, [ebp - 0x78]
push eax
push str.itv.cfg
call fcn.004034ba
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x404321
mov dword [0x45e664], 1
jmp 0x4043e2
cmp dword [0x45e718], 1
push edi
jne 0x404379
push ebx
push 0x1a
lea eax, [ebp + 0x110]
push eax
push dword [0x57b008]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404379
lea eax, [ebp + 0x110]
push 0x440d5c
push eax
call fcn.004269c0
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x110]
push eax
call fcn.004034ba
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x404379
push esi
call fcn.004260a6
pop ecx
mov esi, edi
mov dword [ebp - 0x7c], esi
mov eax, dword [esi]
add esi, 4
cmp dword [ebp + 0x2a0], ebx
je 0x404399
cmp eax, dword [ebp + 0x2a0]
je 0x404399
mov eax, dword [esi]
lea esi, [esi + eax + 4]
xor eax, eax
dec eax
je 0x404404
dec eax
je 0x4043f9
dec eax
je 0x4043ad
dec eax
jne 0x4043ce
push esi
call fcn.00403ef5
jmp 0x4043ff
movsx ebx, byte [0x45e738]
push esi
call fcn.00404129
cmp dword [ebp + 0x2a4], 0
pop ecx
mov esi, eax
je 0x4043cc
mov byte [0x45e738], bl
xor ebx, ebx
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
add ecx, eax
cmp esi, ecx
jb 0x40437c
push eax
call fcn.004260a6
pop ecx
pop edi
mov ecx, dword [ebp + 0x294]
pop esi
xor ecx, ebp
pop ebx
call fcn.00426fc3
add ebp, 0x298
leave
ret
push esi
call fcn.00403ea4
pop ecx
mov esi, eax
jmp 0x4043ce
push 1
push esi
call fcn.00403f80
mov esi, eax
mov al, byte [0x45e738]
test al, al
pop ecx
pop ecx
je 0x4043ce
movsx eax, al
push eax
lea eax, [ebp - 0x74]
push str.profile_d.cfg
push eax
call fcn.0042775f
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004034ba
mov edi, eax
add esp, 0x18
cmp edi, ebx
je 0x4043ce
push 0x2c0
push edi
push 0x45defc
call fcn.00426fe0
lea eax, [edi + 0x2c4]
push ebx
push eax
call fcn.00403f80
push edi
call fcn.004260a6
add esp, 0x18
jmp 0x4043ce

Function at 0x404e11
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4