joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a980
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x41aac0
cmp dword [esp + 0x28], ebp
je 0x41aac0
push ebx
push 0x2800
call fcn.0041f58b
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x41a9e3
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041e5bb
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x41a9f0
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.00418b70
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41aa96
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00420660
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41aa89
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x41aa89
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.0041a710
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x41aaa0
inc edi
cmp edi, 0x10
jl 0x41a9f0
push ebx
call fcn.0041ef04
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041e5bb
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0041e5bb
add esp, 0x1c
ret
Function at 0x41ab70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x41abaa
cmp dword [esp + 0x34], esi
je 0x41abaa
push 0x200
call fcn.0041f58b
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x41abb5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ad14
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x41acaa
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41ac0d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ac83
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ac78
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.0041aae0
cmp edx, edi
jb 0x41ac78
ja 0x41ac72
cmp eax, dword [esp + 0x24]
jbe 0x41ac78
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x41ac00
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x41acc0
cmp dword [esp + 0x24], 0
jbe 0x41ad14
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.00418b70
add esp, 0xc
test eax, eax
jne 0x41acf9
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041ef04
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.0041a710
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.0041ef04
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x41d7c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431c90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x43f090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4433c8]
xor edi, edi
cmp ecx, edi
jne 0x41d80b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x41d818
mov dword [ebp - 0x14], edi
jmp 0x41d830
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x41d8d6
mov ecx, dword [0x4433c8]
mov eax, dword [ecx]
cmp eax, edi
je 0x41d7f7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41d7f7
mov dword [ebp - 4], edi
mov ebx, 0x4433c8
call fcn.0041d8f0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x41d86e
mov dword [ebp - 0x18], 1
push 0x43b80c
lea eax, [ebp - 0x18]
push eax
call fcn.0042095b
mov ecx, dword [0x4433c8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x41d888
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x41d89d
mov dword [ebp - 0x1c], 4
push 0x43b80c
lea edx, [ebp - 0x1c]
push edx
call fcn.0042095b
mov dword [ebp - 4], 0xffffffff
jmp 0x41d8c2
mov eax, dword [0x4433c8]
mov eax, dword [eax]
test eax, eax
je 0x41d8d4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d8f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x41d91d
xor ecx, ecx
jmp 0x41d929
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x41d9dd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x41d950
mov dword [esp + 0xc], esi
jmp 0x41d9b0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x41d9a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41d99c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x41d9b0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41d9b0
push 0x43a2b8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41d9b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x41d9d3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x41d942
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x41d9f1
mov ecx, dword [ebx]
add ecx, 8
call fcn.0041db80
test eax, eax
je 0x41d9f1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x41da00
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x431c6b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00420660
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x41da98
push 0x43b80c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0042095b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x41e19c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4418e0], 0
push esi
jne 0x41e10f
call fcn.0041e035
test eax, eax
je 0x41e152
mov eax, dword [0x4418e0]
cmp eax, 1
jne 0x41e130
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41e152
pop esi
ret
push eax
call dword [0x4418e8]
test eax, eax
jne 0x41e19a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41e156
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4418e0]
call dword [0x4418e8]
mov edi, eax
test edi, edi
je 0x41e17b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41e197
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4418e0]
call dword [0x4418e4]
add edi, 0x10
cmp edi, esi
jb 0x41e183
mov eax, edi
pop edi
pop esi
ret
jmp 0x41e0fc

Function at 0x41e5bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f090]
jne 0x41e5c5
repz ret
jmp fcn.0042159b

Function at 0x42ba43
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042171b
and dword [ebp - 4], 0
cmp dword [0x4424c8], 0
mov ebx, eax
jne 0x42baf4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42bba5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42bba5
push eax
call fcn.004216a9
mov dword [esp], 0x4355c0
push edi
mov dword [0x4424c8], eax
call esi
push eax
call fcn.004216a9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4424cc], eax
call esi
push eax
call fcn.004216a9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4424d0], eax
call esi
push eax
call fcn.004216a9
pop ecx
mov dword [0x4424d8], eax
test eax, eax
je 0x42baf4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004216a9
pop ecx
mov dword [0x4424d4], eax
mov eax, dword [0x4424d4]
cmp eax, ebx
je 0x42bb4c
cmp dword [0x4424d8], ebx
je 0x42bb4c
push eax
call fcn.00421724
push dword [0x4424d8]
mov esi, eax
call fcn.00421724
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42bb4c
test edi, edi
je 0x42bb4c
call esi
test eax, eax
je 0x42bb43
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42bb43
test byte [ebp - 0xc], 1
jne 0x42bb4c
or dword [ebp + 0x10], 0x200000
jmp 0x42bb85
mov eax, dword [0x4424cc]
cmp eax, ebx
je 0x42bb85
push eax
call fcn.00421724
pop ecx
test eax, eax
je 0x42bb85
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42bb85
mov eax, dword [0x4424d0]
cmp eax, ebx
je 0x42bb85
push eax
call fcn.00421724
pop ecx
test eax, eax
je 0x42bb85
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4424c8]
call fcn.00421724
pop ecx
test eax, eax
je 0x42bba5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42bba7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x192830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x19287f
test ebx, ebx
je 0x192873
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x192878
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x192890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1928f9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
call fcn.00193030
neg eax
sbb esi, esi
and esi, 3
inc esi
call fcn.00193030
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0xfffffffa
push ebx
add eax, 8
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x192902
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x192948
call fcn.00193030
test eax, eax
jne 0x19292e
push ecx
lea ecx, [esi + 0x53]
lea edx, [eax + 6]
call fcn.00197db0
add esp, 4
push ecx
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00192830
add esp, 8
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x192960
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x520050
mov ecx, 0x41
mov dword [ebp - 0x18], 0x440049
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x520055
push eax
mov dword [ebp - 0x10], 0x530041
mov dword [ebp - 0xc], 0x4b0048
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00197c60
add esp, 4
mov dword [ebp - 0x88], 0x4f0053
lea eax, [ebp - 4]
mov dword [ebp - 0x84], 0x540046
mov dword [ebp - 0x80], 0x410057
mov dword [ebp - 0x7c], 0x450052
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0x4d005c
push eax
push 0x80000001
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x750052
mov dword [ebp - 0x30], 0x4f006e
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x65
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x192ac0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x192ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0xc], 0
test eax, eax
je 0x192b1c
lea edi, [eax + 0x202]
mov dword [esp + 0xc], 0x404
mov ebx, edi
mov esi, eax
add edi, 0x202
jmp 0x192b20
xor esi, esi
xor ebx, ebx
push 0x100
push esi
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.00197ba0
test eax, eax
je 0x192b53
mov ecx, esi
jmp 0x192c40
xor eax, eax
mov dword [esp + 0x18], 0x520050
mov ecx, 0x52
mov word [esp + 0x24], ax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0x440049
push eax
mov dword [esp + 0x28], 0x520055
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00197c60
add esp, 4
push 0x100
push ebx
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.00197ba0
test eax, eax
je 0x192bd8
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0x192bd3
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0x192bd5
xor edi, edi
push esi
jmp 0x192c2f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Microsoft_
push ebx
call esi
lea eax, [esp + 0x18]
push eax
push ebx
call esi
push str..exe
push ebx
call esi
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.00192890
add esp, 4
test eax, eax
je 0x192c45
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0x192c2c
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0x192c2e
xor edi, edi
push ebx
push str.__s_
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, edi
add esp, 0xc
call fcn.00192960
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x192f50
Capabilities:
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push esi
mov esi, dword [sym.imp.PSAPI.DLL_EnumDeviceDrivers]
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 4], 0
call esi
mov eax, dword [ebp - 4]
test eax, eax
jne 0x192f82
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x192f9f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push edi
call esi
test eax, eax
je 0x192ff2
mov ebx, dword [ebp - 4]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x192ff2
lea ebx, [ebx]
push 0x400
lea eax, [ebp - 0x80c]
push eax
push dword [edi + esi*4]
call dword [sym.imp.PSAPI.DLL_GetDeviceDriverBaseNameW]
test eax, eax
je 0x192fed
push dword [ebp - 0xc]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x193009
inc esi
cmp esi, ebx
jl 0x192fc0
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x193030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x24], 0x6c006b
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x660069
mov dword [ebp - 0x1c], 0x73002e
mov dword [ebp - 0x18], 0x730079
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0x6c006b
mov dword [ebp - 0xc], 0x2e0031
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
call fcn.00192f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x193096
lea ecx, [ebp - 0x10]
call fcn.00192f50
test eax, eax
jne 0x193096
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1930a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], 0x720073
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x730074
mov dword [ebp - 0xc], 0x2e0070
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
mov dword [ebp - 0x44], 0x720073
mov dword [ebp - 0x40], 0x730074
mov dword [ebp - 0x3c], 0x360070
mov dword [ebp - 0x38], 0x2e0034
mov dword [ebp - 0x34], 0x790073
mov dword [ebp - 0x30], 0x73
mov dword [ebp - 0x5c], 0x61004e
mov dword [ebp - 0x58], 0x450076
mov dword [ebp - 0x54], 0x310078
mov dword [ebp - 0x50], 0x2e0035
mov dword [ebp - 0x4c], 0x790073
mov dword [ebp - 0x48], 0x73
mov dword [ebp - 0x2c], 0x61004e
mov dword [ebp - 0x28], 0x450076
mov dword [ebp - 0x24], 0x67006e
mov dword [ebp - 0x20], 0x73002e
mov dword [ebp - 0x1c], 0x730079
mov word [ebp - 0x18], ax
call fcn.00192f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x193180
lea ecx, [ebp - 0x44]
call fcn.00192f50
test eax, eax
jne 0x193180
lea ecx, [ebp - 0x5c]
call fcn.00192f50
test eax, eax
jne 0x193180
lea ecx, [ebp - 0x2c]
call fcn.00192f50
test eax, eax
jne 0x193180
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1933e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [esi + 0xc], ebx
call fcn.001932b0
test eax, eax
je 0x1934d9
cmp eax, 0xffffffff
je 0x1934d9
mov ecx, esi
call fcn.00193320
test eax, eax
je 0x193425
mov dword [esi], 1
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi], 0
mov al, byte [ebx]
test al, al
je 0x193418
push edi
cmp al, 0x7b
jne 0x1934bf
inc ebx
push ebx
call fcn.00193190
sub eax, 0
je 0x1934bf
dec eax
je 0x1934b5
dec eax
jne 0x1934bf
mov al, byte [ebx]
mov edi, ebx
test al, al
je 0x193467
cmp al, 0x7d
je 0x1934bf
inc edi
cmp al, 0x3d
je 0x193467
mov al, byte [edi]
test al, al
jne 0x193458
mov al, byte [edi]
cmp al, 0x7d
je 0x1934bf
mov esi, edi
test al, al
je 0x193483
cmp byte [esi], 0x7d
je 0x193480
inc esi
cmp byte [esi], 0
jne 0x193473
jmp 0x193483
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
test eax, eax
je 0x1934ad
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esi], 0x7d
mov esi, dword [ebp - 4]
jmp 0x1934bf
push 1
push ebx
mov ecx, esi
call fcn.00193200
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x193432
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x193500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [eax], ebx
mov dword [ebp - 4], edx
lea eax, [edi + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x193541
cmp ecx, edi
jb 0x193541
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov edi, edi
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x193530
mov edx, dword [ebp - 4]
jmp 0x193551
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
cmp edx, 0x10
jbe 0x1935ba
lea edi, [edx - 0x11]
shr edi, 4
inc edi
mov dword [ebp + 0x14], edi
push eax
push ebx
push esi
call 0x191020
mov edx, ebx
add esi, 0x10
add esp, 0xc
add ebx, 0x10
lea eax, [edx + 0xf]
cmp esi, eax
ja 0x1935a1
lea eax, [esi + 0xf]
cmp eax, edx
jb 0x1935a1
mov eax, esi
sub edx, esi
mov edi, 0x10
lea ecx, [ecx]
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edi
jne 0x193590
mov edi, dword [ebp + 0x14]
jmp 0x1935b1
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
dec edi
mov dword [ebp + 0x14], edi
jne 0x193563
push eax
push ebx
push esi
call 0x191020
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret