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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push edi
push 0x25
push dword [ebp + 8]
call fcn.00402517
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401eea
mov eax, 0
jmp 0x402132
add dword [ebp - 4], 1
push dword [ebp - 4]
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push dword [ebp + 8]
lea edi, [ebp - 0x20c]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
mov edi, dword [ebp - 4]
sub edi, dword [ebp + 8]
mov byte [ebp + edi - 0x20d], 0
push 0x25
lea edi, [ebp - 0x108]
push edi
call fcn.00402517
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401f44
mov eax, 0
jmp 0x402132
mov edi, dword [ebp - 4]
mov byte [edi], 0
add dword [ebp - 4], 1
push dword [ebp - 4]
lea edi, [ebp - 0x310]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push str.SYSTEM
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x401f8f
push 0x104
lea edi, [ebp - 0x108]
push edi
call sub.KERNEL32.DLL_GetSystemDirectoryA
jmp 0x4020ea
push str.WINDOWS
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x401fbe
push 0x104
lea edi, [ebp - 0x108]
push edi
call sub.KERNEL32.DLL_GetWindowsDirectoryA
jmp 0x4020ea
push str.TEMP
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x401fed
lea edi, [ebp - 0x108]
push edi
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
jmp 0x4020ea
push str.MYDOCUMENTS
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x40201d
push 0
push 5
lea edi, [ebp - 0x108]
push edi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
jmp 0x4020ea
push str.STARTUP
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x40204d
push 0
push 7
lea edi, [ebp - 0x108]
push edi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
jmp 0x4020ea
push str.DESKTOP
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x40207a
push 0
push 0x10
lea edi, [ebp - 0x108]
push edi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
jmp 0x4020ea
push str.MYPICTURES
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x4020a7
push 1
push 0x27
lea edi, [ebp - 0x108]
push edi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
jmp 0x4020ea
push str.INSTALL
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL__strcmpi
add esp, 8
cmp eax, 0
jne 0x4020d6
push 0x404530
lea edi, [ebp - 0x108]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
jmp 0x4020ea
lea edi, [ebp - 0x108]
push edi
push str.Unrecognized_macro__s
call fcn.00401494
add esp, 8
lea edi, [ebp - 0x108]
push edi
lea edi, [ebp - 0x20c]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x104
lea edi, [ebp - 0x310]
push edi
lea edi, [ebp - 0x20c]
push edi
call sub.CRTDLL.DLL_strncat
add esp, 0xc
lea edi, [ebp - 0x20c]
push edi
push dword [ebp + 0xc]
call sub.CRTDLL.DLL_strcpy
add esp, 8
mov eax, 1
pop edi
leave
ret
Function at 0x402138
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push edi
lea edi, [ebp - 4]
push edi
push 0x4056e0
push 1
push 0
push 0x4056c0
call sub.ole32.DLL_CoCreateInstance
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x402226
push dword [ebp + 8]
mov edi, dword [ebp - 4]
push edi
mov edi, dword [edi]
call dword [edi + 0x50]
push dword [ebp + 0x10]
mov edi, dword [ebp - 4]
push edi
mov edi, dword [edi]
call dword [edi + 0x1c]
push dword [ebp + 0x18]
call sub.CRTDLL.DLL_strlen
add esp, 4
cmp eax, 0
je 0x40219a
push dword [ebp + 0x18]
mov edi, dword [ebp - 4]
push edi
mov edi, dword [edi]
call dword [edi + 0x24]
push dword [ebp + 0x14]
call sub.CRTDLL.DLL_strlen
add esp, 4
cmp eax, 0
je 0x4021b6
push dword [ebp + 0x14]
mov edi, dword [ebp - 4]
push edi
mov edi, dword [edi]
call dword [edi + 0x2c]
lea edi, [ebp - 0xc]
push edi
push 0x4056d0
mov edi, dword [ebp - 4]
push edi
mov edi, dword [edi]
call dword [edi]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40221d
push 0x104
lea edi, [ebp - 0x214]
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 1
lea edi, [ebp - 0x214]
push edi
mov edi, dword [ebp - 0xc]
push edi
mov edi, dword [edi]
call dword [edi + 0x18]
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
push edi
mov edi, dword [edi]
call dword [edi + 8]
push dword [ebp + 0xc]
push str.added_link__s
call fcn.00401e08
add esp, 8
mov edi, dword [ebp - 4]
push edi
mov edi, dword [edi]
call dword [edi + 8]
mov eax, dword [ebp - 8]
pop edi
leave
ret

Function at 0x40222c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push edi
mov dword [ebp - 0x210], 0x104
lea edi, [ebp - 0x108]
push edi
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov dword [ebp - 0x214], eax
lea edi, [ebp - 0x210]
push edi
lea edi, [ebp - 0x20c]
push edi
lea edi, [ebp - 0x218]
push edi
push 0
push str.Start_Menu
push dword [ebp - 0x108]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x214], eax
push dword [ebp - 0x108]
call sub.ADVAPI32.DLL_RegCloseKey
lea edi, [ebp - 0x20c]
push edi
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x405240
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 8]
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
lea edi, [ebp - 0x104]
push edi
call fcn.0040129c
add esp, 4
push 0x405240
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 0x10]
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push str..lnk
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea edi, [ebp - 0x104]
push edi
push dword [ebp + 0xc]
call fcn.00402138
add esp, 0x14
pop edi
leave
ret
Function at 0x40233e
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push edi
mov dword [ebp - 0x210], 0x104
lea edi, [ebp - 0x108]
push edi
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov dword [ebp - 0x214], eax
lea edi, [ebp - 0x210]
push edi
lea edi, [ebp - 0x20c]
push edi
lea edi, [ebp - 0x218]
push edi
push 0
push str.Desktop
push dword [ebp - 0x108]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x214], eax
push dword [ebp - 0x108]
call sub.ADVAPI32.DLL_RegCloseKey
lea edi, [ebp - 0x20c]
push edi
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x405240
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 0xc]
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push str..lnk
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edi, [ebp - 0x104]
push edi
push dword [ebp + 8]
call fcn.00402138
add esp, 0x14
pop edi
leave
ret

Function at 0x40241b
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push edi
mov dword [ebp - 0x210], 0x104
lea edi, [ebp - 0x108]
push edi
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov dword [ebp - 0x214], eax
lea edi, [ebp - 0x210]
push edi
lea edi, [ebp - 0x20c]
push edi
lea edi, [ebp - 0x218]
push edi
push 0
push str.AppData
push dword [ebp - 0x108]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x214], eax
push dword [ebp - 0x108]
call sub.ADVAPI32.DLL_RegCloseKey
lea edi, [ebp - 0x20c]
push edi
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 0xc]
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push str..lnk
lea edi, [ebp - 0x104]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edi, [ebp - 0x104]
push edi
push dword [ebp + 8]
call fcn.00402138
add esp, 0x14
pop edi
leave
ret
Function at 0x40361b
Capabilities:
Delete file
Move file
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x340]
push edi
push str.Unpack__s___d_bytes.
call fcn.00401494
add esp, 0xc
mov edi, dword [ebp + 8]
push dword [edi + 0x340]
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
push 0
lea edi, [ebp - 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x340]
push dword [ebp - 8]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_ReadFile
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push str.c:_nifty.tmp
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4036a2
push str.Error_creating_temp_file.
call fcn.00401494
add esp, 4
push 1
call sub.CRTDLL.DLL_exit
add esp, 4
push 0
lea edi, [ebp - 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x340]
push dword [ebp - 8]
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 8]
call sub.KERNEL32.DLL_GlobalFree
mov edi, dword [ebp + 8]
test dword [edi + 0x344], 1
je 0x403784
push str.c:_nifty2.tmp
push str.c:_nifty.tmp
call fcn.004013a8
add esp, 8
push str.c:_nifty.tmp
call sub.KERNEL32.DLL_DeleteFileA
cmp eax, 0
jne 0x403715
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
push edi
push str.ERROR:___d__DeleteFile__c:_nifty.tmp__
call fcn.00401494
add esp, 8
push 6
push str.c:_nifty2.tmp
call sub.CRTDLL.DLL__access
add esp, 8
cmp eax, 0
je 0x403736
push str._Cannot_access_nifty2.tmp
call fcn.00401494
add esp, 4
push str.c:_nifty.tmp
push str.c:_nifty2.tmp
call sub.CRTDLL.DLL_rename
add esp, 8
cmp eax, 0
je 0x403784
call sub.CRTDLL.DLL__errno
mov edi, eax
push dword [edi]
push str.ERROR:___d__rename__
call fcn.00401494
add esp, 8
push 6
push str.c:_nifty2.tmp
call sub.CRTDLL.DLL__access
add esp, 8
cmp eax, 0
je 0x403784
push str._Cannot_access_nifty2.tmp
call fcn.00401494
add esp, 4
pop edi
leave
ret

Function at 0x4037e8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
cmp byte [edi], 0x22
jne 0x40381c
push 0x22
mov eax, edi
inc eax
push eax
call fcn.00402517
add esp, 8
mov dword [ebp - 4], eax
or eax, eax
je 0x403837
mov edi, eax
inc edi
jmp 0x403814
inc edi
cmp byte [edi], 0x20
je 0x403813
jmp 0x403837
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x403828
cmp eax, 0x20
jne 0x40381b
jmp 0x40382b
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x403837
cmp eax, 0x20
je 0x40382a
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
push 1
push edi
push 0
push eax
call fcn.00401501
pop edi
leave
ret
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468030]
jne 0x401116
repz ret
jmp fcn.00401d41

Function at 0x40a6cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406ace
and dword [ebp - 4], 0
cmp dword [0x46a894], 0
mov ebx, eax
jne 0x40a77d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a82e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a82e
push eax
call fcn.00406a5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46a894], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46a898], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46a89c], eax
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x46a8a4], eax
test eax, eax
je 0x40a77d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x46a8a0], eax
mov eax, dword [0x46a8a0]
cmp eax, ebx
je 0x40a7d5
cmp dword [0x46a8a4], ebx
je 0x40a7d5
push eax
call fcn.00406ad7
push dword [0x46a8a4]
mov esi, eax
call fcn.00406ad7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7d5
test edi, edi
je 0x40a7d5
call esi
test eax, eax
je 0x40a7cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a7cc
test byte [ebp - 0xc], 1
jne 0x40a7d5
or dword [ebp + 0x10], 0x200000
jmp 0x40a80e
mov eax, dword [0x46a898]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a80e
mov eax, dword [0x46a89c]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46a894]
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a82e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a830
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a18c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4a18da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a18e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a18d0
mov eax, 1
add ebx, ebx
jne 0x4a18f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a1904
jne 0x4a1923
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1923
dec eax
add ebx, ebx
jne 0x4a1910
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a18e8
add ebx, ebx
jne 0x4a191f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a1975
xor ecx, ecx
sub eax, 3
jb 0x4a193b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a19aa
sar eax, 1
mov ebp, eax
jmp 0x4a1946
add ebx, ebx
jne 0x4a1946
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1914
inc ecx
add ebx, ebx
jne 0x4a1954
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1914
add ebx, ebx
jne 0x4a1961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a1956
jne 0x4a1972
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a1956
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a1994
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a1986
jmp 0x4a18d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a1994
add edi, ecx
jmp 0x4a18d6
pop esi
mov edi, esi
mov ecx, 0x3e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a19b2
cmp byte [edi], 7
jne 0x4a19b2
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 0x4a19b7
lea edi, [esi + 0x9f000]
mov eax, dword [edi]
or eax, eax
je 0x4a1a26
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b114]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b150]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a19e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b158]
or eax, eax
je 0x4a1a20
mov dword [ebx], eax
add ebx, 4
jmp 0x4a1a01
call dword [esi + 0x12b154]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a1a57
cmp al, 0xef
ja 0x4a1a4a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a1a2c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a1a39
mov ebp, dword [esi + 0x12b15c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x4a1a8b
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x10010f8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.010012dc
cmp dword [section..data], ebx
jne 0x10011bc
push fcn.010012dc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012ca
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001252
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001226
cmp al, 0x22
jne 0x1001218
cmp byte [esi], 0x22
jne 0x100122f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001239
cmp al, 0x20
jbe 0x100122b
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100125d
movzx eax, word [ebp - 0x48]
jmp 0x1001260
cmp byte [esi], 0x20
jbe 0x100122f
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001252
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100127d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10012b2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001319
ret

Function at 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 1
push 0
push 0
push str.https:__buzzgroup.hcm.zellis.com_myview_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401b06
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
push edi
push eax
xor edi, edi
push 0xf003f
push edi
mov esi, 0x80004005
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b75
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push edi
push eax
push edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x401b6c
push dword [ebp + 0xc]
cmp dword [ebp - 4], edi
push dword [ebp + 8]
jne 0x401b5f
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x401b66
call fcn.00401b7b
pop ecx
pop ecx
test eax, eax
jne 0x401b6c
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x401b7b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
push 0x10008
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x401c02
push edi
push edi
push edi
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 8], pe_nt_image_headers32
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0x103
je 0x401beb
cmp esi, edi
jne 0x401bf9
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 4]
call fcn.00401b7b
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x401ba4
jmp 0x401bf9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x401c08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
lea eax, [ebp - 0x104]
push dword [ebp + 0x10]
mov dword [ebp - 4], pe_nt_image_headers32
mov esi, 0x80004005
push dword [ebp + 0xc]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
push 0x20019
lea eax, [ebp - 0x104]
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401c7f
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push dword [ebp + 0x14]
push eax
push 0
push 0
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401c76
xor esi, esi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x4026a4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4031a8
push 0x402834
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x404590], 0xffffffff
or dword [0x404594], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40458c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x404588]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x404598], eax
call fcn.00402833
cmp dword [0x404578], 0
jne 0x402727
push 0x402830
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040281e
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x404584]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x404580]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401ef1
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret