joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 0x14], ebx
jle 0x10044e05
mov edx, dword [esp + 0x1c]
push edi
lea ebx, [ebx]
mov ecx, esi
cmp esi, 2
jge 0x10044d9a
xor ecx, 1
mov edi, dword [ebp + 0x10]
add ecx, ecx
mov eax, dword [edi + ecx*8 + 0xc]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10044dc5
mov edi, dword [edi + ecx*8]
mov eax, edx
sub edi, edx
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x10044df0
test edx, edx
jne 0x10044e02
mov eax, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
add eax, 0x18
push eax
call fcn.10021270
add esp, 0xc
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x10044de8
mov edx, dword [esp + 0x20]
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x10044d90
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
movzx ecx, byte [ecx + 0x10087c80]
movzx edx, byte [edx + 0x10087c80]
sub edx, ecx
jne 0x10044dde
inc eax
jmp 0x10044db2
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x10044e10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x10044e98
jmp 0x10044e30
mov edi, esi
cmp esi, 2
jge 0x10044e3a
xor edi, 1
test ebx, ebx
je 0x10044e67
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov eax, ebx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x20]
mov edi, edi
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x10044ed0
test edx, edx
jne 0x10044ee2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x10]
add edi, edi
push 0
push ebp
mov eax, dword [eax + edi*8 + 0xc]
add eax, 8
push eax
call fcn.10021270
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
jne 0x10044f30
mov ecx, dword [esp + 0x18]
inc esi
mov ebx, dword [esp + 0x20]
cmp esi, dword [ecx + 0x14]
jl 0x10044e30
mov edx, str.sqlite_master
sub edx, ebp
nop
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x10044ee8
test ecx, ecx
jne 0x10044efa
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test ebx, ebx
jne 0x10044efd
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x10044f2e
mov ebp, str.sqlite_temp_master
jmp 0x10044e20
movzx ecx, byte [ecx + 0x10087c80]
movzx edx, byte [edx + 0x10087c80]
sub edx, ecx
jne 0x10044e8a
inc eax
jmp 0x10044e50
movzx eax, byte [eax + 0x10087c80]
movzx ecx, byte [ecx + 0x10087c80]
sub ecx, eax
jne 0x10044f2e
inc ebp
jmp 0x10044ea0
test ecx, ecx
je 0x10044f2e
mov esi, ecx
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10044f19
test ecx, ecx
je 0x10044ec6
inc edx
jmp 0x10044f07
movzx eax, byte [eax + 0x10087c80]
movzx ecx, byte [ecx + 0x10087c80]
sub ecx, eax
jne 0x10044ec2
inc edx
jmp 0x10044f07
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1004f610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x1004f637
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x1004f637
cmp dword [edx + 0x60], 0
je 0x1004f634
mov dword [esp + 4], ecx
jmp fcn.10070eb0
xor eax, eax
ret
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x1004f636
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1004f655
mov dword [esp + 4], ecx
jmp fcn.1002bf80
mov dword [esp + 4], ecx
jmp fcn.1002d120
Function at 0x100751c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x14
mov dword [edi], 0
call fcn.1004d0c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100751e4
pop edi
lea eax, [esi + 7]
pop esi
ret
cmp dword [0x1009401c], 0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
je 0x10075233
mov eax, dword [0x1009411c]
test eax, eax
je 0x1007520e
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x10075233
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x10059720
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10075243
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x1007525b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop ebp
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
ret
Function at 0x409420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x409456
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x409506
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0x800000ff
jns 0x409479
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x40949d
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 2]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00409530
add esp, 8
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x4094e0
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 9], cl
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x40944d
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 2]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 1]
mov byte [edx + 0x101], al
mov esp, ebp
pop ebp
ret
Function at 0x40a8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc068
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x536f50]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40a910
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40a91c
mov al, 1
jmp 0x40aabf
mov dword [ebp - 0x10], 8
call fcn.0040c6d0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040c6d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040c680
add esp, 8
movzx eax, al
test eax, eax
je 0x40a95f
xor al, al
jmp 0x40aabf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040a350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401520
mov ecx, eax
call fcn.0040ac40
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004015a0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401520
mov ecx, eax
call fcn.0040ac40
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040af10
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40a9da
cmp dword [ebp - 0x6c], 1
je 0x40a9e1
cmp dword [ebp - 0x6c], 3
je 0x40aa7b
jmp 0x40aa93
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401520
mov ecx, eax
call fcn.0040ac40
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40aa44
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401520
mov ecx, eax
call fcn.0040ac40
push eax
call fcn.0047a184
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40aa44
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403df0
mov al, byte [ebp - 0x61]
jmp 0x40aabf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40aa67
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403df0
mov al, byte [ebp - 0x62]
jmp 0x40aabf
cmp dword [ebp - 0x38], 0
jne 0x40aa79
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004023b0
jmp 0x40aaab
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403df0
mov al, byte [ebp - 0x63]
jmp 0x40aabf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403df0
mov al, byte [ebp - 0x64]
jmp 0x40aabf
jmp 0x40a972
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047a885
mov esp, ebp
pop ebp
ret
Function at 0x413df0
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x413df7
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00413e00
Function at 0x414c30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x414c49
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x414c70
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x414c8d
jmp 0x414c80
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x414c8d
inc edi
cmp edi, edx
jb 0x414c80
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x414da2
cmp ecx, 3
jbe 0x414cc1
xor ebp, ebp
mov cl, byte [edi + 4]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x414cfb
cmp cl, 0xff
je 0x414cfb
and ebp, 3
add ebp, ebp
or ebp, 1
inc eax
jmp 0x414c70
dec ecx
shl ebp, cl
and ebp, 7
je 0x414ca6
movzx ecx, byte [ebp + 0x4de858]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x4de850], 0
mov cl, byte [ebx + 4]
je 0x414ce9
test cl, cl
je 0x414ce9
cmp cl, 0xff
jne 0x414ca6
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
inc eax
jmp 0x414c70
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x414d2e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x414d34
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x414d74
movzx esi, byte [ebp + 0x4de858]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x414d59
cmp dl, 0xff
jne 0x414d70
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x414d20
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x414c70
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x414db5
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
dec ecx
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret
Function at 0x418e20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x538880], ecx
inc edx
cmp edx, 0x100
jb 0x418e22
cmp edx, 0x800
jae 0x418ef9
lea esp, [esp]
mov eax, dword [edx*4 + 0x538480]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x538880]
inc edx
mov dword [edx*4 + 0x53887c], eax
cmp edx, 0x800
jb 0x418ed0
mov dword [0x53a880], 0x414fe0
call fcn.00414ef0
test eax, eax
jne 0x418f16
mov dword [0x53a880], 0x415090
ret
Function at 0x41af40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x248
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x24c]
test eax, eax
jne 0x41af74
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0047a885
add esp, 0x248
ret
push eax
push str._delete__f__tn___s_
lea eax, [esp + 0x44]
push 0x104
push eax
call fcn.0047b635
push 0x38
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0047a920
add esp, 0x1c
lea eax, [esp]
lea edx, [esp + 0x3c]
push eax
mov dword [esp + 4], 0x3c
mov dword [esp + 0x14], 0x4deca4
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0047a885
add esp, 0x248
ret

Function at 0x41b480
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d6688
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00401da0
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41b4e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0040fbe0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401da0
cmp dword [esp + 0x28], 8
jb 0x41b52d
mov eax, dword [esp + 0x14]
push eax
call fcn.004798f2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x41b610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7d28
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push 0xffffffffffffffff
push 1
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0x5c
call fcn.00410970
inc eax
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.00410880
cmp dword [esp + 0x38], 8
jb 0x41b67c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004798f2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41bb50
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x4d6761
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x24], esi
mov word [esi + 4], ax
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ebx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x41bbee
push ebx
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ebx
lea edx, [esp + 0x28]
push edx
call ebp
test eax, eax
je 0x41bcac
cmp edi, ebx
je 0x41bca0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
push ebx
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov word [esp + 0x5d], ax
mov byte [esp + 0x5f], al
mov eax, dword [esp + 0x20]
push 2
push eax
mov dword [esp + 0x30], 0x10
mov byte [esp + 0x58], bl
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0x10
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00411900
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x6c], 1
call fcn.00401da0
cmp dword [esp + 0x40], 8
jb 0x41bca0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004798f2
add esp, 4
mov edx, dword [esp + 0x18]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0047a885
add esp, 0x50
ret
Function at 0x41ded0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0xffffffffffffffff
push 0x4d6c38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x4df110
push 1
push ebx
push 0x4df120
mov dword [esp + 0x48], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41e06a
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x14]
mov byte [esp + 0x3c], 1
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41e052
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x41e03e
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
lea esp, [esp]
cmp dword [esp + 0x24], ebx
je 0x41e03e
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
push 0x4df100
push edx
push eax
mov eax, dword [ecx + 0x18]
mov byte [esp + 0x44], 2
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41dff9
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x84]
call eax
cmp eax, ebx
jl 0x41dff9
mov ecx, dword [esp + 0x28]
push ecx
call edi
push str.Update.exe
push eax
call ebp
test eax, eax
jne 0x41dff2
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
mov eax, dword [esp + 0x28]
push eax
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov eax, dword [esp + 0x20]
mov byte [esp + 0x34], 1
cmp eax, ebx
je 0x41e01e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x41df80
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x34], bl
cmp eax, ebx
je 0x41e052
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
cmp eax, ebx
je 0x41e06a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x41e100
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e176
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x41e145
cmp eax, 2
jne 0x41e161
mov eax, dword [esp + 0x14]
test esi, esi
je 0x41e170
test eax, eax
je 0x41e16b
test al, 1
jne 0x41e161
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41e170
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc