joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x5588f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x57554c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x57554c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x574378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5588fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4018f0
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.00401790
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x401938
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x38
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x7b
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x401912
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret

Function at 0x401940
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 8

Function at 0x401c64
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407164
push 0x407180
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x407188
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
cmp dword [0x407464], 0
mov dword [ebp - 8], eax
jne 0x401e1a
and byte [ebp - 0xd8], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0xd7]
push str.3d3d3R3m1h3c0eQJEhYQFxRD
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jmp loc.0040f2cc
push 0x50
mov word [ebp - 0x18], 2
call dword [ebp - 4]
mov word [ebp - 0x16], ax
push str.www.baidu.com
call fcn.00403b30
pop ecx
mov dword [ebp - 0x14], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
lea eax, [ebp - 0x18]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401e60
push esi
call dword [ebp - 8]
or eax, 0xffffffff
jmp 0x401e62
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4029f0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00581640
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x402a55
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x402a55
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.005742a9
add eax, 0x40
push eax
call fcn.00592081
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005712ac
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00575302
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x402ae4
call fcn.004028b0
test eax, eax
jle 0x402ae4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005712ac
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005712ac
add esp, 0x108
ret
Function at 0x41e680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.00581640
mov eax, dword [0x694240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x41e6b0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41e6b0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x41e728
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x41e70a
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x41e728
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x41e7ba
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x41e7a8
lea eax, [esi + esi]
call fcn.00572b80
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x41e7ba
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e753
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x41e7ba
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00575e74
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e85e
call fcn.005765f9
cmp dword [eax], 2
je 0x41e7a0
call fcn.005765f9
cmp dword [eax], 9
jne 0x41e7ba
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.00576063
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e85e
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004080c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x5cc5f0
push eax
push 0x5cc5ec
push ecx
push str.fopen_
push 5
call fcn.00408220
add esp, 0x2c
call fcn.005765f9
cmp dword [eax], 2
jne 0x41e830
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004080c0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004080c0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
push 0x695bdc
call fcn.00411850
mov edi, eax
add esp, 4
test edi, edi
jne 0x41e890
push esi
call fcn.0057489c
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.004111f0
push esi
push 1
push 0x6a
push edi
call fcn.004115e0
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
Function at 0x44a590
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x44a5a9
mov esi, edi
mov edi, eax
jmp 0x44a5ab
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x44a5bb
mov eax, ebx
jmp 0x44a5c5
push eax
push ebx
call fcn.004107b0
add esp, 8
test eax, eax
jne 0x44a5cd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x44a5e9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x44a5d4
cmp eax, dword [esi + 4]
jge 0x44a600
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x44a5f0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x44a621
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x44a61e
dec eax
test eax, eax
jg 0x44a610
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x45a197
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.00581640
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x45a2fa
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.00456340
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004563c0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00454a40
push ebp
call fcn.00456340
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.004563c0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00454a40
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x45a1b3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.005712ac
add esp, 0xa0
ret
Function at 0x47f0fa
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x596d78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x694240]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x47f145
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
push str.Stopping_
lea ecx, [esp + 0x14]
call fcn.00479014
mov dword [esp + 0x38], edi
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, esi
call fcn.0047ffb5
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
push edi
push 1
call fcn.0047997f
cmp dword [esi + 0x28], 0
je 0x47f188
push dword [esi + 0x28]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov dword [esi + 0x28], edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
Function at 0x495136
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59b618
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x694240]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
inc ebx
cmp dword [ebp + 0xc], 0x18
je 0x49526e
cmp dword [ebp + 0xc], 0x1b
je 0x495188
xor bl, bl
jmp 0x495283
sub esp, 0x18
mov byte [esi + 0x158], bl
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x603030
call fcn.00479014
and dword [esp + 0x68], 0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x60302c
call fcn.00479014
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x44]
call fcn.004898f4
mov byte [esp + 0x80], 2
mov ecx, dword [eax]
push 2
push 3
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x8c], 3
call fcn.004b6b8b
mov byte [esp + 0x50], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4951fb
call fcn.004760d0
call fcn.004acd93
mov byte [esp + 0xf], al
lea ecx, [esp + 0x28]
lea eax, [esp + 0xf]
push eax
call fcn.0048d847
pop ecx
mov byte [esp + 0x50], 7
cmp byte [esi + 0x159], 0
je 0x49523d
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
push 0
cmovae eax, dword [esp + 0x2c]
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
cmp eax, ebx
jne 0x495249
push dword [esi + 0x154]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [esp + 0x50], 5
lea ecx, [esp + 0x28]
push 0
push ebx
call fcn.0047997f
or dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x495283
call fcn.004760d0
jmp 0x495283
cmp byte [esi + 0x158], 1
jne 0x495283
push dword [esi + 0x154]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a0320
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d9b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x694240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x4a036d
cmp eax, 0x80010106
je 0x4a0371
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 4], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x4a0398
cmp eax, 0x80010119
jne 0x4a046d
lea edi, [esi + 8]
push edi
push 0x5af938
push 1
push 0
push 0x5afa08
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4a046d
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.004a0050
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x4a03d6
mov edx, dword [eax]
jmp 0x4a03d8
xor edx, edx
mov ecx, dword [edi]
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push edx
push ecx
call dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
mov edi, eax
test esi, esi
je 0x4a043f
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4a043f
test esi, esi
je 0x4a043f
mov eax, dword [esi]
test eax, eax
je 0x4a041f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4a0436
push eax
call fcn.00571d79
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004e54ee
add esp, 4
test edi, edi
jns 0x4a0457
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ae2b5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59fed3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x694240]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov cl, 5
call fcn.004a4bb0
mov dword [esp + 0xc], eax
and dword [esp + 0x38], 0
lea eax, [esp + 0x10]
push eax
call fcn.004ae3a5
mov byte [esp + 0x38], 1
lea ecx, [esp + 0xc]
push ecx
push eax
push 3
call fcn.004ae501
mov bl, al
mov byte [esp + 0x38], 0
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.0047997f
test bl, bl
jne 0x4ae365
lea eax, [esp + 0x10]
push eax
call fcn.004ae453
mov byte [esp + 0x38], 2
lea ecx, [esp + 0xc]
push ecx
push eax
push 2
call fcn.004ae501
mov bl, al
mov byte [esp + 0x38], 0
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.0047997f
test bl, bl
je 0x4ae371
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ae5d7
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4ae388
dec dword [ecx + 0x48]
jne 0x4ae388
call fcn.004a4b70
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
Function at 0x4b9e03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4b9e13
mov edx, dword [eax]
jmp 0x4b9e15
mov edx, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
lea ecx, [edx + ecx*2]
jb 0x4b9e23
mov eax, dword [eax]
push ebx
push esi
mov esi, ecx
xor edx, edx
sub esi, eax
push edi
xor edi, edi
inc esi
shr esi, 1
mov ebx, edi
cmp eax, ecx
cmova esi, edx
test esi, esi
je 0x4b9e5d
mov edx, edi
mov ecx, edi
shr ecx, 2
shl edx, 6
add edx, ecx
movzx ecx, word [eax]
add ecx, 0x9e3779b9
lea eax, [eax + 2]
add ecx, edx
xor edi, ecx
inc ebx
cmp ebx, esi
jne 0x4b9e3c
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4c099c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x596d78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x694240]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push esi
call fcn.004c1322
or dword [esp + 0xc], 0xffffffff
lea ecx, [esp + 0x10]
push 0x6131fc
call fcn.00479014
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.004bd997
pop ecx
mov dword [edi + 0x38], eax
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.0047997f
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret 4

Function at 0x4c98ba
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a4a77
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x694240]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
and dword [esp + 0xc], 0
call fcn.004cc284
and dword [esp + 0x38], 0
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.004cce66
mov dword [esi + 8], eax
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.0047997f
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret 4