joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jb 0x401edb
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402d90
add esp, 4
and eax, 0xff
test eax, eax
jne 0x401ee9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403210
add esp, 4
push str._temp_
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401880
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401f29
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0x5c
mov eax, dword [ebp - 4]
push eax
call fcn.00401650
add esp, 8
mov byte [eax], 0
mov esp, ebp
pop ebp
ret

Function at 0x401f30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_SleepEx]
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_SleepEx]
mov eax, dword [0x406064]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x406064]
mov dl, byte [ecx + 0xf]
mov byte [ebp - 4], dl
jmp 0x401fc3
call fcn.00401f63
mov dword [ebp - 8], 0x5f8
jmp 0x401f83
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x401faa
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], dl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x401f7a
push 0x5f8
mov eax, dword [0x406064]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_memmove
add esp, 0xc
jmp 0x401fc5
jmp 0x401f6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402600
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x402618
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x402672
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x402639
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x402663
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x402659
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x402661
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x402630
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x42ecfc], ecx
jmp 0x40260f
mov esp, ebp
pop ebp
ret

Function at 0x402680
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3d8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3e4]
push ecx
call fcn.00401e80
add esp, 8
lea edx, [ebp - 0x3e4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
jne 0x40270b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x40270b
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x40270b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40277d
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x402772
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
lea edx, [ebp - 0x3e4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40275d
push 0
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x40275b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x40275b
xor al, al
jmp 0x40279d
jmp 0x40276c
mov ecx, dword [ebp - 0x18]
and ecx, 0x10
cmp ecx, 0x10
je 0x40276c
xor al, al
jmp 0x40279d
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x5c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x40270b
jmp 0x402794
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402d90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret
Function at 0x402dd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.004031f0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x402e90
cmp dword [ebp + 0xc], 0
je 0x402e59
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x24
push ecx
call fcn.00401840
add esp, 4
push eax
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.00403210
add esp, 4
push eax
call fcn.00402800
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x402e59
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
jmp 0x402e90
cmp dword [ebp + 8], 0
je 0x402e7f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpi]
test eax, eax
jne 0x402e7f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
jmp 0x402e90
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x402e19
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401d80
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x403040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00401e80
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.00402f50
add esp, 4
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push 0x42e930
call fcn.00401840
add esp, 4
add eax, 1
push eax
push 0x42e930
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401840
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402100
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.00401840
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401840
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00402100
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401840
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401840
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402100
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4034e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov ecx, 5
mov esi, str.fegConnectRegistryA
lea edi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x14], 0x52
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x42f100]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x42f118], eax
push str.AecivreSnepO
call fcn.00403250
add esp, 4
push eax
mov edx, dword [0x42f100]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x42f10c], eax
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x4e72454b
mov dword [ebp - 0x1c], 0x32336c65
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403e50
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push edi
mov byte [ebp - 0x240], 0
mov ecx, 0x8e
xor eax, eax
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x403e8f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401840
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x403ffd
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
test ecx, ecx
je 0x403ffd
mov edx, dword [ebp - 4]
push edx
call fcn.00403210
add esp, 4
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00401840
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402800
add esp, 0xc
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0x5cf345ca
je 0x403efd
cmp dword [ebp - 0x634], 0x642d3b30
je 0x403efd
cmp dword [ebp - 0x634], 0x8a705f51
jne 0x403f02
jmp 0x403e79
mov edx, dword [str.SYSTEMCurrentControlSet_seRviCes_]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.00401e80
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.004027b0
add esp, 8
mov dword [ebp - 0x638], 0x3e8
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push 0
push str.ImagePath
lea edx, [ebp - 0x240]
push edx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0
jne 0x403f70
jmp 0x403e79
lea eax, [ebp - 0x240]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x42f724
push 0x120
push str.netsvcs
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004011e0
add esp, 0x1c
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x403ff8
mov edx, dword [ebp - 0x630]
push edx
call fcn.004037f0
add esp, 4
and eax, 0xff
test eax, eax
je 0x403fd4
mov al, 1
jmp 0x403fff
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x630]
push eax
call dword [0x42eccc]
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004016e0
add esp, 4
jmp 0x403e79
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4010d2
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40bed0
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
push edi
xor ecx, dword [0x4310f0]
mov edi, dword [0x4310fc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4310f4]
xor ecx, esi
mov esi, dword [0x4310f8]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc]
xor esi, edx
xor edi, ecx
xor ebp, ebp
mov eax, ebp
and eax, 3
mov ecx, dword [eax*4 + 0x4310f0]
mov dword [esp + 0x20], ecx
mov eax, edi
shr eax, 0x15
mov edx, edi
shl edx, 0xb
or eax, edx
add eax, esi
xor eax, ecx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x12]
xor ebx, ebx
mov dl, byte [ecx + 0x4308a0]
mov ecx, eax
shr ecx, 0x18
mov dh, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, ah
and eax, 0xff
shl edx, 8
mov bl, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, byte [eax + 0x4308a0]
mov eax, esi
shr eax, 0xf
or edx, ebx
mov ebx, dword [esp + 0x14]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x20]
xor edx, ebx
mov dword [esp + 0x1c], edx
mov edx, esi
shl edx, 0x11
or eax, edx
xor eax, edi
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x12]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dl, byte [ecx + 0x4308a0]
mov ecx, eax
shr ecx, 0x18
mov dh, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, ah
and eax, 0xff
shl edx, 8
mov bl, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, byte [eax + 0x4308a0]
or edx, ebx
mov ebx, dword [esp + 0x18]
shl edx, 8
or edx, ecx
xor edx, ebx
inc ebp
cmp ebp, 0x20
mov eax, edx
mov dword [esp + 0x18], edi
mov edi, eax
jl 0x40bf0e
mov edx, dword [0x4310f0]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, esi
xor edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx], edx
mov edx, dword [0x4310f4]
xor edx, eax
mov dword [ecx + 4], edx
mov eax, dword [0x4310f8]
xor eax, ebx
mov dword [ecx + 8], eax
mov edx, dword [0x4310fc]
xor edx, edi
mov dword [ecx + 0xc], edx
mov ebp, dword [0x4310fc]
mov edi, dword [0x4310f8]
mov esi, dword [0x4310f4]
or edx, 0xffffffff
lea eax, [ecx + 1]
sub edx, ecx
mov ecx, dword [0x4310f0]
xor ebx, ebx
mov bl, byte [eax - 1]
add eax, 4
xor ecx, dword [ebx*4 + 0x42f180]
xor ebx, ebx
mov dword [0x4310f0], ecx
mov bl, byte [eax - 4]
xor esi, dword [ebx*4 + 0x42f180]
xor ebx, ebx
mov dword [0x4310f4], esi
mov bl, byte [eax - 3]
xor edi, dword [ebx*4 + 0x42f180]
xor ebx, ebx
mov dword [0x4310f8], edi
mov bl, byte [eax - 2]
xor ebp, dword [ebx*4 + 0x42f180]
lea ebx, [edx + eax]
cmp ebx, 0x10
mov dword [0x4310fc], ebp
jl 0x40c044
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4011e5
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x407270
sub esp, 0x10c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call ebx
test eax, eax
jne 0x40737d
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.Personal
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40737d
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x1c]
push str._s_nice.bmp
push eax
call fcn.00416d1e
add esp, 0xc
push str.bumsex.bmp
call fcn.0040119a
mov ecx, eax
call fcn.00401352
mov edi, eax
test edi, edi
je 0x40737d
lea ecx, [esp + 0x18]
push 0x427d90
push ecx
call fcn.00416d0b
mov esi, eax
add esp, 8
test esi, esi
je 0x40737d
push esi
mov ecx, edi
call fcn.0040105a
push eax
push 1
mov ecx, edi
call fcn.004010e1
push eax
call fcn.00416be1
push esi
call fcn.00416b8b
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerDesktopGeneral
push 0x80000001
call ebx
test eax, eax
jne 0x40737d
or ecx, 0xffffffff
lea edi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 2
push 0
push str.Wallpaper
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
Function at 0x40123f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c120
sub esp, 0x24
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [0x4310f8]
push ebx
push ebp
mov ebp, dword [eax]
push esi
xor ecx, dword [0x4310f4]
mov esi, dword [eax + 8]
push edi
mov edi, dword [0x4310f0]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4310fc]
xor ebp, edi
mov edi, dword [eax + 0xc]
xor esi, edx
xor edi, ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], 0x1f
mov eax, dword [esp + 0x14]
and eax, 3
mov ecx, dword [eax*4 + 0x4310f0]
mov dword [esp + 0x20], ecx
mov eax, edi
shr eax, 0x15
mov edx, edi
shl edx, 0xb
or eax, edx
add eax, esi
xor eax, ecx
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x12]
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx + 0x4308a0]
mov ecx, eax
shr ecx, 0x18
mov dh, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, ah
and eax, 0xff
shl edx, 8
mov bl, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, byte [eax + 0x4308a0]
mov eax, esi
shr eax, 0xf
or edx, ebx
shl edx, 8
or edx, ecx
xor edx, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov edx, esi
shl edx, 0x11
or eax, edx
xor ecx, ecx
xor eax, edi
add eax, ebp
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x12]
xor edx, edx
xor ebx, ebx
mov ebp, esi
mov esi, dword [esp + 0x1c]
mov dl, byte [ecx + 0x4308a0]
mov ecx, eax
shr ecx, 0x18
mov dh, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, ah
and eax, 0xff
shl edx, 8
mov bl, byte [ecx + 0x4308a0]
xor ecx, ecx
mov cl, byte [eax + 0x4308a0]
or edx, ebx
mov ebx, dword [esp + 0x18]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x14]
xor edx, ebx
mov eax, edx
dec ecx
mov dword [esp + 0x18], edi
mov edi, eax
mov dword [esp + 0x14], ecx
jns 0x40c17b
mov edx, dword [0x4310f0]
mov ecx, dword [esp + 0x38]
mov edi, esi
xor edx, edi
mov dword [ecx], edx
mov edx, dword [0x4310f4]
xor edx, eax
mov dword [ecx + 4], edx
mov eax, dword [0x4310f8]
xor eax, ebp
mov dword [ecx + 8], eax
mov edx, dword [0x4310fc]
xor edx, dword [esp + 0x18]
mov dword [ecx + 0xc], edx
mov ebp, dword [0x4310fc]
mov edi, dword [0x4310f8]
mov esi, dword [0x4310f4]
mov ecx, dword [0x4310f0]
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x24]
add eax, 4
mov ebx, dword [edx*4 + 0x42f180]
xor edx, edx
mov dl, byte [esp + eax + 0x21]
xor ecx, ebx
mov ebx, dword [edx*4 + 0x42f180]
xor edx, edx
mov dl, byte [esp + eax + 0x22]
xor esi, ebx
mov ebx, dword [edx*4 + 0x42f180]
xor edx, edx
mov dl, byte [esp + eax + 0x23]
xor edi, ebx
xor ebp, dword [edx*4 + 0x42f180]
cmp eax, 0x10
jl 0x40c2a6
mov dword [0x4310f8], edi
pop edi
mov dword [0x4310f4], esi
pop esi
mov dword [0x4310fc], ebp
pop ebp
mov dword [0x4310f0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x401294
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x410510
push 0xffffffffffffffff
push 0x424d08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], ebx
call fcn.004012c6
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004012c6
mov edi, dword [esi]
cmp edi, dword [esp + 0x10]
jne 0x4105a8
mov ecx, dword [esi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x4105a8
mov eax, dword [esi + 8]
imul ecx, edi
cmp ecx, ebx
mov edx, dword [esp + 0x18]
je 0x41059d
push ebp
mov edi, dword [edx]
mov ebp, dword [eax]
shl edi, 0x18
or ebp, edi
mov dword [eax], ebp
add edx, 4
add eax, 4
dec ecx
jne 0x410588
pop ebp
mov edx, dword [esp + 0x18]
mov byte [esp + 0x24], bl
push edx
jmp 0x4105b1
mov eax, dword [esp + 0x18]
mov byte [esp + 0x24], bl
push eax
call fcn.004165aa
mov ecx, dword [esp + 0x20]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40131b
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x4089f0
mov eax, dword [0x431224]
sub esp, 0x1f4
push esi
push eax
push 7
push 1
push 0x42c9b8
call fcn.00416d70
add esp, 0x10
cmp eax, 7
je 0x408a1d
xor eax, eax
pop esi
add esp, 0x1f4
ret
mov al, byte [0x42c9b8]
cmp al, 0x52
jne 0x408b64
mov al, byte [0x42c9b9]
cmp al, 0x45
jne 0x408a82
cmp byte [0x42c9ba], 0x7e
jne 0x408ab7
cmp byte [0x42c9bb], 0x5e
jne 0x408ab7
mov eax, dword [0x42b458]
test eax, eax
je 0x408b4d
push 0x4281ec
push 0x42c8a0
call fcn.00416d0b
mov esi, eax
add esp, 8
test esi, esi
je 0x408b4d
push str.Attention:_Format_As_OLD_Detected__Cant_Handel_Archive_
push str.C:_WORK___FINAL_STAGE_DEMOS1_AssCancer__VC6_fileurarlib.c
push 0x348
jmp 0x408b2c
cmp al, 0x61
jne 0x408ab7
cmp byte [0x42c9ba], 0x72
jne 0x408ab7
cmp byte [0x42c9bb], 0x21
jne 0x408ab7
cmp byte [0x42c9bc], 0x1a
jne 0x408ab7
cmp byte [0x42c9bd], 7
jne 0x408ab7
mov al, byte [0x42c9be]
test al, al
je 0x408bba
lea eax, [esp + 4]
push str.Unknown_Archive_Type__Only_Plain_RAR
push eax
call fcn.00416d1e
mov esi, eax
lea ecx, [esp + esi + 0xc]
push str.Supported__Normal_and_Solid
push ecx
call fcn.00416d1e
add esi, eax
lea edx, [esp + esi + 0x14]
push str.Archives___SFX_and_Volumes
push edx
call fcn.00416d1e
add esi, eax
lea eax, [esp + esi + 0x1c]
push str.Are_NOT_Supported__
push eax
call fcn.00416d1e
mov eax, dword [0x42b458]
add esp, 0x20
test eax, eax
je 0x408b4d
push 0x4281ec
push 0x42c8a0
call fcn.00416d0b
mov esi, eax
add esp, 8
test esi, esi
je 0x408b4d
lea ecx, [esp + 4]
push ecx
push str.C:_WORK___FINAL_STAGE_DEMOS1_AssCancer__VC6_fileurarlib.c
push 0x366
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x42c9d4]
push eax
push str.__8u_ms__Line:__u_In_File:__s_:_n_________________s_n
push esi
call fcn.0041706b
push esi
call fcn.00416b8b
add esp, 0x1c
mov dword [0x42c9c4], 0xd
mov eax, 1
pop esi
add esp, 0x1f4
ret
cmp al, 0x58
jne 0x408ab7
cmp byte [0x42c9b9], 0x6f
jne 0x408ab7
cmp byte [0x42c9ba], 0x52
jne 0x408ab7
cmp byte [0x42c9bb], 0x41
jne 0x408ab7
cmp byte [0x42c9bc], 0x73
jne 0x408ab7
cmp byte [0x42c9bd], 0x53
jne 0x408ab7
cmp byte [0x42c9be], 0x21
jne 0x408ab7
push 0x73
call fcn.004011bd
add esp, 4
cmp eax, 0xd
je 0x408b4d
xor eax, eax
pop esi
add esp, 0x1f4
ret