joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6fe1a6
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x40]
je 0x801814
pushfd
call fcn.00902d2e
add dword [edi + ebp*4 + 0x42], 0xd
invalid

Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c
Function at 0x40de73
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a440]
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.0040931a
mov dword [ebp - 0x14], eax
cmp dword [0x722a60], esi
jne 0x40df66
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40def3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e046
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e046
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e046
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x722a60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x722a64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x722a68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x722a70], eax
test eax, eax
je 0x40df63
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x722a6c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40df8b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40df7e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dfa0
push 4
pop eax
jmp 0x40e048
cmp dword [ebp - 0x14], esi
je 0x40dfa0
push dword [0x722a60]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40df85
mov eax, dword [0x722a6c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40dffe
cmp dword [0x722a70], edi
je 0x40dffe
push eax
call ebx
push dword [0x722a70]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40dffe
test eax, eax
je 0x40dffe
call ecx
test eax, eax
je 0x40dff3
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 0x40dff3
test byte [ebp - 8], 1
jne 0x40dffe
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e02e
mov eax, dword [0x722a64]
cmp eax, edi
je 0x40e02b
push eax
call ebx
test eax, eax
je 0x40e02b
call eax
mov esi, eax
test esi, esi
je 0x40e02b
mov eax, dword [0x722a68]
cmp eax, edi
je 0x40e02b
push eax
call ebx
test eax, eax
je 0x40e02b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x722a60]
call ebx
test eax, eax
je 0x40e046
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e048
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404429
mov esp, ebp
pop ebp
ret
Function at 0x401497
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x45e32c]
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 [0x44e00d], al
jmp 0x4014f5
mov byte [0x44e00d], 0x2d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00426f93
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 [0x45e32c]
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.004268f0
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.00426f93
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 [0x57d03d], 1
xor al, al
pop ecx
ret
and dword [0x576768], 0
cmp byte [0x45fa9c], 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.00426076
pop ecx
mov dword [0x576768], 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 + 0x45a9f0]
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 [0x46154c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4029b7
pop esi
ret
push ebx
push esi
push dword [0x46154c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x402a0c
push edi
push esi
push dword [0x46154c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [esp + 0x18]
mov dword [esi], eax
inc eax
push eax
call fcn.00426ac7
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.00426fb0
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 [0x45e32c]
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.0042772f
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.00426f93
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.00426ac7
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 [0x45e32c]
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.00426c50
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.00426f93
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.00426c50
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 [0x45e32c]
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.00426c50
mov eax, dword [0x576540]
push esi
push esi
mov dword [ebp - 0x7c], eax
call fcn.00401a3b
mov dword [ebp - 0x74], eax
mov al, byte [0x44e00d]
mov ebx, 0x57cd40
push ebx
mov byte [ebp - 0x77], al
call fcn.004268f0
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 0x57cd4e
push eax
call fcn.004283e0
push 0x10
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.004283b6
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.004268f0
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 [0x576540], esi
jne 0x403b26
lea eax, [ebp - 0x6c]
push 0x43eea8
push eax
call fcn.00426980
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.00426f93
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 [0x45e32c]
xor eax, ebp
mov dword [ebp + 0x104], eax
cmp dword [0x57d01c], 0
je 0x4042af
push ebx
push esi
push edi
push 0x7d000
call fcn.00426ac7
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.00426c50
add esp, 0x24
cmp dword [0x460718], 1
jne 0x404246
push 0
push 0x1a
lea eax, [ebp - 0x80]
push eax
push dword [0x57d008]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404235
lea eax, [ebp - 0x80]
push 0x440d5c
push eax
call fcn.00426990
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 [0x460738], 0
je 0x4042a5
push 0x2c0
push 0x45fefc
push esi
call fcn.00426fb0
lea eax, [esi + 0x2c0]
push 0
push eax
call fcn.00403f2b
mov edi, eax
movsx eax, byte [0x460738]
push eax
lea eax, [ebp - 0x80]
push str.profile_d.cfg
push eax
call fcn.0042772f
sub edi, esi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00403417
add esp, 0x2c
push esi
call fcn.00426076
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00426f93
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 [0x45e32c]
xor eax, ebp
mov dword [ebp + 0x294], eax
push ebx
xor ebx, ebx
cmp dword [ebp + 0x2a0], ebx
push esi
jne 0x4042f5
mov dword [0x57d01c], 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 [0x460664], 1
jmp 0x4043e2
cmp dword [0x460718], 1
push edi
jne 0x404379
push ebx
push 0x1a
lea eax, [ebp + 0x110]
push eax
push dword [0x57d008]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404379
lea eax, [ebp + 0x110]
push 0x440d5c
push eax
call fcn.00426990
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.00426076
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 [0x460738]
push esi
call fcn.00404129
cmp dword [ebp + 0x2a4], 0
pop ecx
mov esi, eax
je 0x4043cc
mov byte [0x460738], 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.00426076
pop ecx
pop edi
mov ecx, dword [ebp + 0x294]
pop esi
xor ecx, ebp
pop ebx
call fcn.00426f93
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 [0x460738]
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.0042772f
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 0x45fefc
call fcn.00426fb0
lea eax, [edi + 0x2c4]
push ebx
push eax
call fcn.00403f80
push edi
call fcn.00426076
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