joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034a05
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push 4
push edi
push edi
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10034a5f
push 4
push str.gxdte
lea esi, [ebp - 8]
call fcn.1003479a
cmp dword [ebp - 8], edi
je 0x10034a5f
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10034a5f
cmp dword [ebp - 0x20], 4
jne 0x10034a5f
inc ebx
lea eax, [ebp - 8]
call fcn.100347c8
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10034a6e
Capabilities:
Enumerate services

Disassembly:
push 0xec
mov eax, 0x10059413
call fcn.100418da
push 4
xor ebx, ebx
push ebx
mov edi, ecx
push ebx
mov dword [ebp - 0xb4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa8], ebx
cmp eax, ebx
je 0x10034c55
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
push ebx
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push ebx
push ebx
push 3
push 0x30
push ebx
push eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xac], ebx
call esi
mov eax, dword [ebp - 0x94]
add eax, 0x200
push eax
call fcn.10040de6
add dword [ebp - 0x94], 0x200
pop ecx
push ebx
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
push eax
push 3
push 0x30
push ebx
push dword [ebp - 0xb0]
call esi
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0x98], ebx
jbe 0x10034c3d
mov eax, dword [ebp - 0xa4]
add eax, 8
mov dword [ebp - 0x9c], eax
jmp 0x10034b52
mov edi, dword [ebp - 0xb4]
xor eax, eax
lea esi, [ebp - 0x74]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], ax
call fcn.1000201d
lea esi, [ebp - 0x58]
call fcn.1000201d
lea esi, [ebp - 0x3c]
call fcn.1000201d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 4], ebx
push dword [esi - 8]
lea eax, [ebp - 0x90]
push eax
call fcn.1000231a
push dword [esi - 4]
lea eax, [ebp - 0x74]
push eax
call fcn.1000231a
cmp dword [ebp - 0x78], 8
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8c]
jae 0x10034bca
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x3c]
call fcn.10034ca3
mov esi, dword [edi + 0x14]
pop ecx
lea eax, [ebp - 0x90]
push eax
push dword [esi + 4]
push esi
call fcn.10035dda
mov ecx, dword [edi + 0x18]
mov edx, 0x2108421
sub edx, ecx
cmp edx, 1
jb 0x10034c61
inc ecx
mov dword [edi + 0x18], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x90]
mov dword [ecx], eax
mov dword [ebp - 0xa8], 1
call fcn.100143b6
inc dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
add dword [ebp - 0x9c], 0x2c
cmp eax, dword [ebp - 0x98]
jb 0x10034b4c
push dword [ebp - 0xa4]
call fcn.10040d09
pop ecx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xa8]
call fcn.1004195d
ret
push str.list_T__too_long
lea ecx, [ebp - 0xf8]
call fcn.10001fa7
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call fcn.10001066
push 0x1006bb88
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0xdc], vtable.std::length_error.0
call fcn.100413ab
int3

Function at 0x10034f47
Capabilities:
Get common file path

Disassembly:
push 0
push 0x23
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
ret 4
Function at 0x10034f5a
Capabilities:
Check if file exists

Disassembly:
push 0x674
mov eax, 0x10058729
call fcn.100418da
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x678], esi
mov ebx, edx
mov dword [ebp - 0x680], edi
call fcn.1000201d
xor esi, esi
mov dword [ebp - 4], edi
inc esi
push edi
mov dword [ebp - 0x680], esi
mov dword [ebp - 0x674], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x674]
push eax
push 0x1005f5ec
push esi
push edi
push 0x10061a8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100350f3
mov eax, dword [ebp - 0x674]
lea edx, [ebp - 0x67c]
push edx
push 0x10061a9c
mov dword [ebp - 0x67c], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x100350e7
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax]
push edi
push ebx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x100350db
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.10042870
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
add esp, 0xc
push 4
lea edx, [ebp - 0x670]
push edx
mov esi, 0x104
push esi
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x100350db
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x678]
call fcn.1000231a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100350db
call fcn.10032114
test eax, eax
je 0x100350db
push str.program_files__x86__
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100350db
xor eax, eax
push ebx
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.10042870
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push str.program_files_
push str.program_files__x86__
mov eax, esi
lea ecx, [ebp - 0x218]
call fcn.10033fc7
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100350db
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x678]
call fcn.1000231a
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x678]
call fcn.1004195d
ret
Function at 0x10035219
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
xor esi, esi
push esi
push esi
push 6
push 1
push 2
mov dword [ebp - 0x3c], esi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x5c], esi
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp ebx, 0xffffffff
je 0x100353ac
mov eax, 0xddf3
mov word [ebp - 0x10], ax
mov eax, 0x4660
push 2
mov word [ebp - 0xe], ax
pop eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x14], 0x25a207b9
mov byte [ebp - 0xc], 0x8e
mov byte [ebp - 0xb], 0xe9
mov byte [ebp - 0xa], 0x76
mov byte [ebp - 9], 0xe5
mov byte [ebp - 8], 0x8c
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 6
mov byte [ebp - 5], 0x3e
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x30], eax
call sub.WS2_32.dll_htons
push 0x10
pop edi
mov word [ebp - 0x32], ax
push edi
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x100353ac
push 2
pop eax
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 8]
push 0x32e3
mov dword [ebp - 0x20], eax
call sub.WS2_32.dll_htons
push esi
push esi
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x48]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0xc8000006
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x10035395
cmp dword [ebp - 0x38], esi
je 0x10035395
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [ebp - 0x38]
test eax, eax
jne 0x10035339
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x100353ac
push esi
push 0xbb8
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
je 0x1003535b
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x100353ac
lea eax, [ebp - 0x44]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x100353ac
push esi
push esi
push 0x7010
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x100353ac
mov dword [ebp - 0x3c], edi
jmp 0x100353ac
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x100353ac
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x4c], esi
je 0x100353ba
push dword [ebp - 0x4c]
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
cmp dword [ebp - 0x3c], esi
jne 0x100353cd
cmp ebx, 0xffffffff
je 0x100353cd
push ebx
call sub.WS2_32.dll_closesocket
or ebx, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret
Function at 0x10036cd4
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1790]
mov eax, 0x1810
call fcn.1004f2f0
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp + 0x178c], eax
push esi
push 4
pop esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.Softwareprojonepodlp_smpcache_
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10036d25
cmp dword [ebp - 0x7c], esi
jne 0x10036d25
mov eax, dword [ebp - 0x78]
jmp 0x10036d27
xor eax, eax
test eax, eax
je 0x10036db0
push edi
push 0x7fe
lea eax, [ebp + 0xf8e]
push 0
push eax
call fcn.10042870
mov esi, dword [sym.imp.SHLWAPI.dll_StrNCatW]
add esp, 0xc
push 0x5b
pop eax
mov edi, 0x400
push edi
mov word [ebp + 0xf8c], ax
push ebx
lea eax, [ebp + 0xf8c]
push eax
call esi
push 0x1006902c
lea eax, [ebp + 0xf8c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push dword [ebp + 0x1798]
lea eax, [ebp + 0xf8c]
push eax
call esi
lea eax, [ebp + 0x179c]
push eax
lea eax, [ebp + 0xf8c]
push eax
push 0x800
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov ecx, dword [ebp + 0x178c]
xor ecx, ebp
pop esi
call fcn.1004017c
add ebp, 0x1790
leave
ret

Function at 0x10036ea1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.1004f2f0
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.10036f84
test al, al
je 0x10036f77
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10069058
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.10036dc6
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10036f12
mov eax, dword [eax + 4]
jmp 0x10036f15
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.1000233f
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.1004017c
leave
ret
Function at 0x100370d1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
mov edi, str..gxdte_cd
push edi
call esi
cmp eax, 0xffffffff
jne 0x100371b8
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10042870
add esp, 0xc
call fcn.10037059
mov ebx, eax
push 0x104
lea eax, [ebp - 0x210]
push eax
xor ecx, ecx
call fcn.10031f41
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003717e
cmp word [0x1007b190], ax
je 0x1003717e
push 0x1007b190
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10032114
mov ebx, str.gxdte64.sys
test eax, eax
jne 0x10037191
mov ebx, str.gxdte32.sys
call fcn.10034951
push ebx
lea ecx, [ebp - 0x210]
call fcn.1003dcdb
call fcn.10034871
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push 0xc0000000
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret

Function at 0x10037448
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x10037459
mov eax, dword [eax + 4]
jmp 0x1003745c
add eax, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push str.Softwareprojonepodlpkeyrule_secClass_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1003748f
cmp dword [ebp - 8], 4
jne 0x1003748f
mov eax, dword [ebp - 0xc]
leave
ret
xor eax, eax
leave
ret

Function at 0x10038a48
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10038a6c
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10078668]
dec edx
inc ecx
test edx, edx
jne 0x10038a50
pop esi
not eax
ret
Function at 0x10038dfb
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
push 0x3f
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x4c], 0
call fcn.10042870
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0x4c]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [ebp + eax - 0x8c], dl
mov byte [ebp + eax - 0xcc], cl
inc eax
cmp eax, 0x40
jb 0x10038e3e
lea eax, [ebp - 0x13c]
call fcn.1003fecd
lea eax, [ebp - 0x8c]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.1003ff11
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1003ff11
lea edi, [ebp - 0x6c]
call fcn.1003ff4f
lea eax, [ebp - 0x13c]
call fcn.1003fecd
lea eax, [ebp - 0xcc]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.1003ff11
mov eax, edi
push 0x20
push eax
lea eax, [ebp - 0x13c]
call fcn.1003ff11
add esp, 0x20
lea edi, [ebp - 0x2c]
call fcn.1003ff4f
mov esi, dword [ebp - 0x140]
push 0x20
mov eax, edi
push eax
call fcn.10008e5b
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1004017c
leave
ret
Function at 0x10039fc0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
xor esi, esi
push edi
cmp dword [0x1007a0c4], esi
je 0x10039fe0
push esi
push esi
mov dword [0x1007a0c4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xc]
push eax
push 0x100618fc
xor edi, edi
inc edi
push edi
push esi
push 0x100619cc
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1003a00a
xor eax, eax
jmp 0x1003a0e9
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x10063f00
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1003a0dd
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x1003a0d4
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
push 0x30
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push 0x10069400
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x1003a0d4
mov dword [ebp - 0x10], edi
push ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x3c]
push edx
push 0xa
push 0xffffffffffffffff
push eax
xor ebx, ebx
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x1003a0ca
xor edi, edi
cmp dword [ebp + 8], esi
jbe 0x1003a0aa
push dword [ebp + 0x10]
push dword [ebp + edi*4 - 0x3c]
call dword [ebp + 0xc]
test eax, eax
je 0x1003a0a7
inc edi
cmp edi, dword [ebp + 8]
jb 0x1003a091
jmp 0x1003a0aa
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp + 8], esi
jbe 0x1003a0c1
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp + 8]
jb 0x1003a0b1
cmp ebx, esi
jne 0x1003a0ca
cmp dword [ebp - 0x14], esi
je 0x1003a06b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 0xc
Function at 0x1003b5e0
Capabilities:
Delete registry value

Disassembly:
push 0x34
mov eax, 0x1005b4cd
call fcn.10041871
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
mov edi, 0x1007b3a0
push edi
xor ebx, ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push str.Software
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x40]
push eax
call fcn.10009a4d
push ebx
mov dword [ebp - 4], ebx
call esi
lea edi, [ebp - 0x40]
mov esi, eax
call fcn.1003af60
test eax, eax
jne 0x1003b64f
mov esi, edi
call fcn.10002448
push dword [ebp - 0x40]
call fcn.1004062b
pop ecx
xor eax, eax
call fcn.10041949
ret
lea ecx, [ebp - 0x40]
call fcn.1003b535
cmp dword [0x1007babc], ebx
jne 0x1003b674
lea esi, [ebp - 0x40]
call fcn.10002448
push dword [ebp - 0x40]
call fcn.1004062b
pop ecx
mov eax, ebx
jmp 0x1003b649
mov eax, dword [0x1007bab8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1007baa0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1007bab8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1007baa0]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.1000d610
test al, al
jne 0x1003b6c2
call fcn.1000f80e
add eax, 0x1c
push eax
push 0x1007ba68
lea ebx, [ebp - 0x28]
call fcn.10010171
call fcn.1000d250
jmp 0x1003b686
xor ebx, ebx
inc ebx
jmp 0x1003b65f

Function at 0x1003c6e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x1003c71d
cmp eax, 3
jne 0x1003c735
push ebx
call fcn.10032472
pop ecx
cmp eax, 0xffffffff
je 0x1003c742
cmp eax, 7
jne 0x1003c735
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x1003c744
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1004017c
leave
ret

Function at 0x1003c951
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1003c96b
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1003c967
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003ca86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1003cc4c
mov bl, al
mov al, dl
call fcn.1003cc4c
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1003cc4c
mov bl, al
mov al, byte [esi - 4]
call fcn.1003cc4c
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1003cc4c
mov bl, al
mov al, byte [esi]
call fcn.1003cc4c
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1003cc4c
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1003cc4c
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1003caae
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret 4

Function at 0x1003cb3b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1003ccc8
push ebx
mov dl, al
call fcn.1003cca1
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1003cc5c
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1003cc7a
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1003cc5c
push ebx
mov byte [ebp - 0x15], al
call fcn.1003cc7a
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1003cca1
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1003ccc8
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1003cca1
mov bl, al
mov al, byte [edi + 4]
call fcn.1003ccc8
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1003cc7a
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1003cc5c
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1003cc7a
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1003cc5c
xor bl, al
mov al, dl
call fcn.1003ccc8
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1003cca1
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1003cb67
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret 4