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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp + 4], 0xf7f609d8
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x4415aa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0x65864a7e
and eax, 0xe5864a7e
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
not ecx
and ecx, eax
add ecx, eax
not eax
and eax, edx
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x8a
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x441560
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x4ccff8]

Function at 0x4420c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax], 0
lea eax, [eax + 2]
jne 0x4420e0
lea ecx, [esi + eax]
add ecx, 0xfffffffe
mov eax, esi
not eax
and eax, ecx
add eax, eax
xor ecx, esi
sub eax, ecx
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x44210c
mov eax, 0xffffffff
jmp 0x44210f
add eax, 0xa
push eax
call fcn.0040cb80
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x442151
add esi, 2
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x442140
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 0xc], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 0xe], cx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x40
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0x700f0e0d
mov byte [esp + 8], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x4421f0
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0xb4e6abbd
xor ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
add cl, 0x4f
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x4421c0
mov esi, dword [esp + 4]
mov ecx, dword [0x4ce508]
test ecx, ecx
je 0x442253
xor edx, edx
mov ebx, dword [0x4ce50c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x88a3caae
je 0x442220
inc edx
cmp ecx, edx
jne 0x442210
jmp 0x442253
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x442253
lea edx, [esp + 4]
lea esi, [esp + 0x18]
push edi
push ebp
push edx
push esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 6
push dword [0x4ce510]
push ecx
mov edi, eax
call fcn.0043edd0
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.0040cb90
add esp, 4
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov esi, dword [ebp + 8]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax], 0
lea eax, [eax + 2]
jne 0x442290
lea ecx, [esi + eax]
add ecx, 0xfffffffe
mov eax, esi
not eax
and eax, ecx
add eax, eax
xor ecx, esi
sub eax, ecx
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x4422bc
mov eax, 0xffffffff
jmp 0x4422bf
add eax, 0xa
push eax
call fcn.0040cb80
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [ebx + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx edi, word [esi]
test di, di
je 0x442301
add esi, 2
nop
nop
mov word [edx], di
add edx, 2
movzx edi, word [esi]
add esi, 2
test di, di
jne 0x4422f0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and ebx, 2
mov esi, ebx
xor esi, 2
imul esi, edx
or ecx, 2
imul ecx, ebx
lea edx, [ecx + esi]
mov word [esp + 4], dx
add ecx, esi
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x700f0e0d
mov byte [esp + 0x2c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x4423c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0xb4e6abbd
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x4f
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x442390
mov esi, dword [esp + 0x28]
mov ecx, dword [0x4ce508]
test ecx, ecx
je 0x442419
xor edx, edx
mov edi, dword [0x4ce50c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x8896be63
je 0x4423f0
inc edx
cmp ecx, edx
jne 0x4423e0
jmp 0x442419
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x442419
lea edx, [esp + 0x28]
lea esi, [esp + 0x10]
push edx
push esi
push 2
push dword [0x4ce510]
push ecx
mov edi, eax
call fcn.0043edd0
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.0040cb90
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44242f
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0x700f0e0d
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x4424a3
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xb4e6abbd
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4f
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x442470
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4ce508]
test edx, edx
je 0x4424f8
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x4ce50c]
nop
cmp dword [ebx + edi*8], 0x77a9e0c4
je 0x4424d0
inc edi
cmp edx, edi
jne 0x4424c0
jmp 0x4424f8
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x4424f8
lea eax, [esp + 0x10]
lea edi, [esp + 8]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x4ce510]
push edx
call fcn.0043edd0
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x442505
mov edx, dword [esp + 0x18]
mov dword [esi], edx
test ecx, ecx
je 0x442511
cmp byte [esp + 0x25], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40270c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004032e8
test esi, esi
jne 0x402742
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004033ac
jmp 0x402760
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402620
mov edi, eax
test esi, esi
je 0x402760
cmp dword [ebx], 0
je 0x402760
dec esi
jmp 0x402749
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402860
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x408008], 0x8088405
inc edx
mov dword [ebx + 0x408008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4028b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x408010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40294c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40292c
xor eax, eax
push ebp
push 0x402925
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402968
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40292c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x408010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x408010], ax
mov esp, ebp
pop ebp
ret

Function at 0x40316c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x409038], 0
je 0x4031cd
cmp word [0x40920c], 0xd7b2
jne 0x403195
cmp dword [0x409214], 0
jbe 0x403195
mov eax, 0x409208
call dword [0x409224]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x408054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4031f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x408020], 0
jne 0x4031e9
push 0
push 0x408074
push 0x408054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403c08
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x403e38
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403c8b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x403e38
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403c8b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x403e54
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d14
xor eax, eax
push ebp
push 0x403d0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403a50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403cf2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403e74
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403cf2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d14
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403e2e
cmp byte [ebp - 0xd], 0
jne 0x403d5b
cmp byte [ebp - 0x12], 0
je 0x403e2e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403d74
dec ebx
cmp byte [ebx], 0x2e
je 0x403d83
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403d73
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403e2e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403dc0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403e2e
cmp byte [ebp - 0xd], 0
je 0x403e2e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403e2e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406858
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ec
mov eax, dword [ebp - 8]
call fcn.004035ec
xor eax, eax
push ebp
push 0x4069d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x158]
mov ecx, 0x4069ec
mov edx, dword [ebp - 4]
call fcn.00403450
mov eax, dword [ebp - 0x158]
call fcn.004035fc
push eax
call sub.kernel32.dll_FindFirstFileA_1
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x4068da
cmp dword [ebp - 0x10], 0xffffffff
je 0x4069a5
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004033ec
mov ebx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x14]
mov edx, 0x4069f8
call fcn.00403548
je 0x40697e
mov eax, dword [ebp - 0x14]
mov edx, 0x406a04
call fcn.00403548
je 0x40697e
test bl, 0x10
je 0x406947
push dword [ebp - 4]
push dword [ebp - 0x14]
push 0x406a10
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.004034c4
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 8]
call fcn.00406858
jmp 0x40697e
push 1
call sub.kernel32.dll_Sleep
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x14]
call fcn.00406320
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 8]
call fcn.00403548
jne 0x40697e
mov eax, 0x40a96c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00403450
jmp 0x40699c
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4068e0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069df
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.0040330c
lea eax, [ebp - 0x14]
call fcn.004032e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040330c
ret
Function at 0x406bbc
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ec
xor eax, eax
push ebp
push 0x406cad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004035fc
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x406c84
xor eax, eax
push ebp
push 0x406c7d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00406654
mov ebx, eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
sub esi, ebx
sub esi, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFilePointer
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.004036dc
push 0
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x10]
call fcn.0040364c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c84
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.0040333c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cb4
lea eax, [ebp - 0x10]
call fcn.004032e8
lea eax, [ebp - 4]
call fcn.004032e8
ret

Function at 0x406cbc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ec
xor eax, eax
push ebp
push 0x406d35
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 4]
call fcn.004035fc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x406d1f
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d3c
lea eax, [ebp - 4]
call fcn.004032e8
ret
Function at 0x4025d2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
movzx eax, ax
add eax, 0xfffffbc7
cmp eax, 1
ja 0x402616
mov eax, dword [ebp + 0xc]
sub eax, 0x411
je 0x4025ff
dec eax
jne 0x402616
push 1
push ecx
push ecx
push str.https:__www.avast.com_privacy_policy
jmp 0x402608
push 1
push ecx
push ecx
push str.https:__www.avast.com_eula
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov cl, 1
mov al, cl
pop ebp
ret 8
Function at 0x40312f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
movzx eax, ax
sub eax, 0x429
je 0x40315c
dec eax
jne 0x403173
mov eax, dword [ebp + 0xc]
sub eax, 0x40f
je 0x40315c
dec eax
jne 0x403173
push 1
push ecx
push ecx
push str.https:__www.opera.com_ru_privacy
jmp 0x403165
push 1
push ecx
push ecx
push str.https:__www.opera.com_ru_eula_computers
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov cl, 1
mov al, cl
pop ebp
ret 8
Function at 0x403626
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43797c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x44e278]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [edi + 0xc]
push 0xd4
mov ecx, esi
mov dword [edi + 8], eax
call fcn.00415b3d
mov eax, dword [esi]
mov ecx, esi
push 0x445
push dword [edi + 8]
call dword [eax + 8]
lea esi, [edi + 0x88]
mov eax, dword [esi]
mov ecx, esi
push 0xffffff
call dword [eax + 0x7c]
mov eax, dword [esi]
mov ebx, 0x616161
push 0x492
push dword [edi + 8]
mov ecx, esi
mov dword [edi + 0x90], ebx
call dword [eax + 8]
lea esi, [edi + 0x100]
mov eax, dword [esi]
mov ecx, esi
push 0xffffff
call dword [eax + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push 0x493
push dword [edi + 8]
mov dword [edi + 0x108], ebx
call dword [eax + 8]
push 0x441f40
lea ecx, [esp + 0x18]
mov dword [edi + 0x180], 0x717171
mov dword [edi + 0x20c], 0xd77800
mov dword [edi + 0x190], 0xc16200
mov dword [edi + 0x18c], 0xed8e16
call fcn.00401590
and dword [esp + 0x50], 0
lea eax, [esp + 0x14]
push 0xffffffffffffffff
lea esi, [edi + 0x178]
push eax
mov ecx, esi
call fcn.004022fd
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x14]
xor ebx, ebx
push 0
inc ebx
push ebx
call fcn.004017dc
push 0x441bec
lea ecx, [esp + 0x18]
call fcn.00401590
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x54], ebx
push eax
mov ecx, esi
call fcn.004022fd
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x14]
push 0
push ebx
call fcn.004017dc
push 0x441ef8
lea ecx, [esp + 0x18]
call fcn.00401590
push 0xffffffffffffffff
lea eax, [esp + 0x18]
mov dword [esp + 0x54], 2
push eax
mov ecx, esi
call fcn.004022fd
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x14]
push 0
push ebx
call fcn.004017dc
push 0x441c48
lea ecx, [esp + 0x30]
call fcn.00401590
push ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x54], 3
push eax
mov ecx, esi
call fcn.004022fd
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
push 0
push ebx
call fcn.004017dc
mov eax, dword [esi]
mov ecx, esi
push 0x494
push dword [edi + 8]
call dword [eax + 8]
lea ecx, [edi + 0x218]
mov eax, 0x717171
and dword [ecx + 0xa4], 0
mov dword [ecx + 0xa8], 0xfffffffd
mov dword [edi + 0x220], eax
mov dword [edi + 0x2d4], eax
mov eax, dword [ecx]
push 0x448
push dword [edi + 8]
mov dword [edi + 0x2d8], 0xd77800
call dword [eax + 8]
lea esi, [edi + 0x2e4]
mov eax, dword [esi]
mov ecx, esi
push 0xffffff
call dword [eax + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push 0x495
push dword [edi + 8]
mov dword [edi + 0x2ec], 0x616161
call dword [eax + 8]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4039cf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
movzx eax, ax
cmp eax, 0x489
jb 0x403a1b
cmp eax, 0x48a
jbe 0x4039ef
cmp eax, 0x494
jne 0x403a1b
mov eax, dword [ebp + 0xc]
sub eax, ecx
je 0x403a04
dec eax
jne 0x403a1b
push 1
push ecx
push ecx
push str.https:__playgames.pro_privacy_
jmp 0x403a0d
push 1
push ecx
push ecx
push str.https:__playgames.pro_eula_
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov cl, 1
mov al, cl
pop ebp
ret 8
Function at 0x404437
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437ad4
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x44e278]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x44e278]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, 0x415
xor ebx, ebx
cmp ax, cx
jne 0x40454e
push 0x208
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.00429320
add esp, 0xc
mov dword [esp + 0x34], ebx
xor eax, eax
lea edi, [esp + 0x38]
push 7
pop ecx
rep stosd dword es:[edi], eax
lea edi, [esi + 0xc]
cmp dword [edi + 0x14], 8
jb 0x4044bb
mov eax, dword [edi]
jmp 0x4044bd
mov eax, edi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x4c], 0x4043cb
mov dword [esp + 0x48], 0x41
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x404547
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x40451b
mov eax, dword [esp + 0x30]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404547
lea ecx, [esp + 0x54]
call fcn.00402286
push eax
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.0040196f
mov ecx, esi
call fcn.00404c51
mov bl, 1
jmp 0x404600
mov ecx, 0x41e
cmp ax, cx
jne 0x404599
lea edi, [esi + 0x664]
cmp byte [edi + 0x64], bl
jne 0x4045ef
push 0x441a24
lea ecx, [esp + 0x1c]
call fcn.00401590
mov dword [esp + 0x270], ebx
lea ecx, [esp + 0x18]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x8c]
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.004017dc
jmp 0x4045ef
mov ecx, 0x46e
cmp ax, cx
jne 0x4045ad
push ebx
push ebx
push dword [esi + 0x764]
jmp 0x4045f7
mov ecx, 0x41d
cmp ax, cx
jne 0x404600
shr eax, 0x10
cmp eax, 0x200
jne 0x4045d1
lea ecx, [esi + 0x664]
mov eax, dword [ecx]
call dword [eax + 0x94]
jmp 0x404600
cmp eax, 0x100
jne 0x4045e8
lea ecx, [esi + 0x664]
mov eax, dword [ecx]
call dword [eax + 0x98]
jmp 0x404600
cmp eax, 0x300
jne 0x404600
push ebx
push ebx
push dword [esi + 0x760]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, bl
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00424209
mov esp, ebp
pop ebp
ret 8