joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4baaf0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x509cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x55e310]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004efea8
push str..
lea ecx, [esp + 0x10]
call fcn.004f00fb
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4bab93
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004efd1f
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004efd1f
xor eax, eax
jmp 0x4bacd8
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x553900
push edx
call fcn.004dd794
add esp, 8
test eax, eax
je 0x4bac89
lea eax, [esp + 0x48]
push 0x5538fc
push eax
call fcn.004dd794
add esp, 8
test eax, eax
je 0x4bac89
test ebp, ebp
jne 0x4babf5
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004dd843
add esp, 8
test eax, eax
je 0x4bac89
push esi
lea ecx, [esp + 0x14]
call fcn.004efea8
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004f0122
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.004f00fb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4bac35
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4bac57
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.004baaf0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4bac89
test edi, edi
je 0x4bac7e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004dd843
add esp, 8
test eax, eax
jne 0x4bac7e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.004bad00
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4baba3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004efd1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004efd1f
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x4bad00
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509cdb
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004de080
mov eax, dword [0x55e310]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004efea8
push 0x5c
lea ecx, [esp + 8]
call fcn.004f0122
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004f00fb
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4bada6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004efd1f
xor eax, eax
jmp 0x4bae23
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x4bae01
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x4badf3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x4badcd
jmp 0x4bae01
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004efd1f
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x4bd390
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b828
push 0x4df2e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004dd760
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd540
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x4bd581
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x4bd5ee
cmp dword [esp + 0x1c], 2
jne 0x4bd5ee
cmp dword [esp + 0x10], 5
jne 0x4bd5ee
cmp dword [esp + 0x14], 1
jne 0x4bd5ee
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4bd5d8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4bd5c9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x4bd5d1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x4bd5ee
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x4c3ff0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4c4093
test eax, eax
jbe 0x4c4093
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4c4093
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4c403e
xor esi, esi
jmp 0x4c4044
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4c406f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00490df0
add esi, eax
push esi
mov ebx, esi
call fcn.00490df0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4c4050
pop ebp
test edi, edi
pop edi
jne 0x4c4093
test ebx, ebx
je 0x4c4093
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004de1a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4c41d5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c42ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c42ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.004f1855
mov esi, eax
test esi, esi
je 0x4c42ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4c42ed
mov ecx, esi
call fcn.004c4140
cmp edi, eax
jge 0x4c42ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4c4273
mov dword [esp + 0x34], 1
jmp 0x4c42ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4c42ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004c3730
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4f0b9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004fbb02
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4f0bcf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004f0be2
pop edi
pop esi
pop ebx
ret 8

Function at 0x4f21f8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f2230
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004f01c6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f019e
jmp 0x4f223c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f3bbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4f3c00
call fcn.004fbb02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f3c00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f3bf7
xor eax, eax
jmp 0x4f3c08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f3c0e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4fc032
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4fc060
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4fc07e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004fbf98
jmp 0x4fc07e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4fc07e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004fbf98
test edi, edi
mov eax, edi
jne 0x4fc068
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4feea2
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4feeca
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4feedb
push 2
call edi
test ax, ax
jge 0x4feedb
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004f182e
cmp dword [esi + 0x30], ebx
jne 0x4fefb5
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f182e
cmp eax, dword [esp + 0x34]
jne 0x4fefb5
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4fef51
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4fef96
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4fefb5
cmp eax, 0x205
je 0x4fefb5
cmp eax, 0x201
je 0x4fefb5
cmp eax, 0x204
je 0x4fefb5
cmp eax, ebx
jne 0x4fef7c
cmp dword [esp + 0x1c], 0x1b
je 0x4fefb5
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x5bba04]
jbe 0x4fefab
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4fef0e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60b790
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
and dword [edx + 4], esi
adc eax, 0xe7fb7df
push esi
jp 0x400fcf
xchg ebx, eax
sbb dword [eax + edi*4 + 0x6ea41ed9], ebp
sub al, 0x9e
out 0x78, eax
pushfd
fbstp tbyte [ecx + esi*2 + 0x5d]
mov es, word [edi + 0x2d3fdc85]
and esi, dword [edi]
inc edi
and eax, esi
cli
fnsave dword [edx]
xor byte [edi - 0x2f], 0x5d
clc
mov dword [0xfc247064], eax
xchg ebp, eax
push esi
shl dword [ecx], 0xd5
or ecx, esp
out dx, eax
shl dword [ebp + 0x3cbca30a], cl
adc bh, byte [ebx - 0xd956ec4]
cli
jg 0x40103b
jnp 0x4010ab
push 0x7d705e10
cmpsb byte [esi], byte es:[edi]
mov ah, 0xc6
in eax, dx
pushal
adc ah, 0xd1
aam 0xd1
cmc
ret
mov dh, byte [ecx]
mov dword [0xf78d4efe], eax
div dword [ecx - 4]
shl byte [ecx + esi*8 + 0x6fc21e28], cl
das
mov ah, 0x52
xchg dh, al
imul edi, dword [ebx + 0x2c], 0x2a2a19e0
retf 0xd5e7
test dword [edi + 0x53], ecx
push ebx
pop edx
push ds
leave
daa
mov dh, byte [esi]
dec ebp
inc eax
mov eax, dword [edi]
jne 0x4010a7
jge 0x40107b
loope 0x4010a9
or byte [edi + 0x79], ah
sub ecx, dword [eax]
jo 0x4010da
xor byte [edi + eax*2 + 0x418b6370], 0x7a
push eax
mov bh, 6
pop ds
imul edx, dword [ecx - 0x4a], 0x2cfa1486
push esi
int1
ror bl, 0x81
imul eax, dword [eax + esi*2 - 0x4b], 0xffffffb8
jne 0x4010eb
inc esp
jo 0x401092
mov eax, 0x7eb50b75
mov ch, 0x7e
xor al, 0xf
dec edi
out 0xe1, al
pop eax
jecxz 0x401162
fxch st(2)
fxch st(2)
jnp 0x401132
jns 0x4010ac
mov bl, 0x4e
inc edx
shr dword [edi + ebx*4 + 0x49e48da1], cl
push 0xfffffffffffffff2
xchg byte [esi - 0x6556d80b], bh
push ebp
jmp 0x40116c
daa
test eax, 0x66eb559a
invalid
sbb al, 0x50
das
invalid
pop ebx
pop ecx
jae 0x401123
push eax
inc esi
and al, 0x83
cli
add byte [eax - 0xf], dl
call 0x7a4b0212
nop
int1
mov edi, es
ljmp 0xbb69
stosd dword es:[edi], eax
or ah, ch
cmp esp, dword [ecx - 0x2b418229]
and al, 0x18
xchg ebx, eax
adc ebx, eax
dec esi
jbe 0x401100
sbb byte [ebx + 0x764ed813], dl
invalid
iretd
Function at 0x405d1c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232d4], 0
push esi
jne 0x405d53
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d2d
mov dword [ecx*4 + 0x4232d0], eax
inc ecx
cmp ecx, 0x100
jl 0x405d28
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d84
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232d0]
xor eax, esi
inc ecx
dec edx
jne 0x405d66
pop edi
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4012a4
Capabilities:
Encode data using xor

Disassembly:
push 0x401dec
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, 0x1a
inc eax
aaa
xchg edx, eax
rol dword [ecx - 0x45], 1
sub byte [esi - 0x6d], bl
adc eax, 0x3943a9
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [edx + 0xd], dh
or bh, byte [ecx + 0x20]
cmp eax, 0xccb3a4b9
and byte [0xccb3a4b9], bh
xor dword [eax], eax
test al, 0xd2
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
pop es
stc
dec eax
jns 0x4012de
mov dl, 0xb1
aas
dec ebp
mov bl, 0x12
and dl, dh
mov byte [0xf7276829], al
add byte [eax + 0x3d], ch
sahf
xchg ebx, eax
inc ebp
pushfd
push ebx
xor ch, byte [ebx - 0x22fdd177]
cmp cl, byte [edi - 0x53]
xor ebx, dword [ecx - 0x48ee309a]
or al, 0
stosb byte es:[edi], al
add byte [eax - 0x2d], ah
xchg ebx, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
dec ebp
or al, byte [eax]
add byte [edi], al
or dword [eax], eax
add byte [eax], al
add eax, 0x726f4600
insd dword es:[edi], dx
xor dword [eax], eax
or eax, 0xbc000801
cld
salc
mov ch, 0xd7
stosb byte es:[edi], al
mov ebx, 0x11900bb
add byte [edx], al
and eax, esi
or byte [eax], al
add byte [esp + esi*2], ch
add byte [esi + 8], bh
add byte [ecx], al
add byte [ecx], al
add byte [eax], ah
and byte [eax], al
add byte [ecx], al
add byte [eax], cl
add byte [eax + 0x16000008], ch
add byte [eax], al
add byte [eax], ch
add byte [eax], al
add byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
or byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add al, ah
lcall 0, 0x80c90000
ror byte [edi + 0x75c00022], 1
add dword [eax], eax
mov edi, 0xfa000075
invalid
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x42da00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x42da22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42da29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42da18
mov eax, 1
add ebx, ebx
jne 0x42da3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42da30
jne 0x42da4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42da30
xor ecx, ecx
sub eax, 3
jb 0x42da60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42dad2
mov ebp, eax
add ebx, ebx
jne 0x42da6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42da78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42da9c
inc ecx
add ebx, ebx
jne 0x42da88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42da7d
jne 0x42da99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42da7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42dabc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42daad
jmp 0x42da1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42dabc
add edi, ecx
jmp 0x42da1e
pop esi
mov edi, esi
mov ecx, 0x919
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42dada
cmp byte [edi], 7
jne 0x42dada
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 eax, ebx
loop 0x42dadf
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42db57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x329c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42db0c
mov ecx, edi
jns 0x42db3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x32a78]
or eax, eax
je 0x42db51
mov dword [ebx], eax
add ebx, 4
jmp 0x42db29
call dword [esi + 0x32a7c]
popal
jmp 0x40cd5a
Function at 0x406760
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.QuickSeeInstaller
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x406847
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406814
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x51d8e4
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x406802
push 0
push 0
push 0x1400
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x406832
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x40683f
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.00406250
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e3a
mov esp, ebp
pop ebp
ret