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

Disassembly:
push 0xc
mov eax, 0x418a48
call fcn.0040bc62
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0040313e
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00404ce4
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404e62
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x20019
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40524d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040124f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040124f
mov al, bl
call fcn.0040bd3a
ret
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x40522f

Function at 0x405267
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x240
mov eax, 0x418a6e
call fcn.0040bccb
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040313e
lea eax, [ebp - 0x214]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00404ce4
pop ecx
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 0x18]
or ecx, 0x20019
push ecx
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x4052d6
jle 0x4052cf
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4053ee
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x22c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp edi, esi
je 0x40536a
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jle 0x405355
and edi, 0xffff
or edi, 0x80070000
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.0040124f
mov eax, edi
jmp 0x4053fe
xor eax, eax
push 0x1fe
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call fcn.0040b4c0
mov eax, dword [ebp + 0x14]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push ebx
lea eax, [ebp - 0x220]
push eax
push esi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x224], 0x100
push dword [ebp - 0x218]
mov dword [ebp - 0x220], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
je 0x4053e2
jle 0x4053e0
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.0040124f
mov eax, esi
call fcn.0040bd4e
ret
Function at 0x405404
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x30
mov eax, 0x418a9e
call fcn.0040bc62
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040313e
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00404ce4
pop ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0x18]
or ecx, 0x20019
push ecx
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x40546a
jle 0x405456
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040124f
mov eax, esi
jmp 0x4054fe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
je 0x4054c4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jle 0x405458
and esi, 0xffff
or esi, 0x80070000
jmp 0x405458
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
je 0x4054e8
jle 0x4054e6
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040124f
mov eax, edi
call fcn.0040bd3a
ret
Function at 0x405504
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x24c
mov eax, 0x418ac4
call fcn.0040bccb
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040313e
lea eax, [ebp - 0x214]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00404ce4
mov ebx, dword [ebp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop ecx
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
or ecx, 0x20019
push ecx
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x230], eax
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x218], esi
call edi
cmp eax, esi
je 0x405590
jle 0x405579
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040124f
mov eax, esi
jmp 0x4056f9
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
lea eax, [ebp - 0x234]
push eax
push esi
push dword [ebp - 0x218]
mov dword [ebp - 0x234], 0x104
mov dword [ebp - 0x22c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x21c], eax
cmp eax, esi
je 0x405610
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x21c]
cmp eax, esi
jmp 0x40556d
xor eax, eax
push 0x1fe
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call fcn.0040b4c0
add esp, 0xc
push esi
push esi
lea eax, [ebp - 0x238]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x228], 0x100
push dword [ebp - 0x218]
mov dword [ebp - 0x238], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x21c]
cmp eax, esi
jne 0x40556d
lea eax, [ebp - 0x224]
push eax
or ebx, 0x20006
push ebx
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x224], esi
push dword [ebp - 0x230]
call edi
cmp eax, esi
jne 0x40556d
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x4056d9
jle 0x4056d3
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x220], eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.0040124f
mov eax, dword [ebp - 0x220]
call fcn.0040bd4e
ret
Function at 0x4063ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x228
mov eax, 0x418c3b
call fcn.0040bccb
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x228], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x230], edi
cmp dword [eax - 0xc], ebx
jne 0x406522
mov edi, str.BEE0D90A11F14E609C6B8FFD17FE3F24
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040313e
lea eax, [ebp - 0x220]
push eax
push 0x20019
push ebx
push str.SoftwarePPTAssistCommon
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4064fb
cmp dword [ebp - 0x220], ebx
je 0x4064fb
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x234], ebx
call fcn.0040b4c0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push eax
push ebx
push str.infoGUID
push dword [ebp - 0x220]
mov dword [ebp - 0x22c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x406495
push edi
call fcn.0040b53a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.004026a4
jmp 0x4064ef
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040313e
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 1
call fcn.00406304
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00404a7c
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040124f
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124f
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x10]
call fcn.00404a7c
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040124f
mov edi, dword [ebp - 0x230]
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
call fcn.004041c7
add eax, 0x10
mov dword [edi], eax
pop ecx
mov eax, edi
call fcn.0040bd4e
ret 4
Function at 0x40653e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x418c6e
call fcn.0040bccb
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x22c], ebx
cmp dword [eax - 0xc], edi
jne 0x40666e
mov ebx, str.0.0.0.X
push ebx
lea ecx, [ebp - 0x21c]
call fcn.0040313e
lea eax, [ebp - 0x220]
push eax
push 0x20019
push edi
push str.SoftwarePPTAssistCommon
push 0x80000001
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x406647
cmp dword [ebp - 0x220], edi
je 0x406647
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x224], edi
call fcn.0040b4c0
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push edi
push str.Version
push dword [ebp - 0x220]
mov dword [ebp - 0x228], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x40661b
push ebx
call fcn.0040b53a
pop ecx
push eax
push ebx
jmp 0x406630
lea eax, [ebp - 0x218]
push eax
call fcn.0040b53a
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004026a4
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x14]
call fcn.00404a7c
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040124f
mov ebx, dword [ebp - 0x22c]
mov eax, dword [esi + 0x14]
sub eax, 0x10
push eax
call fcn.004041c7
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov eax, ebx
call fcn.0040bd4e
ret 4
Function at 0x40668a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x224
mov eax, 0x418ccd
call fcn.0040bccb
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x228], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x230], esi
cmp dword [eax - 0xc], edi
jne 0x4068b9
mov esi, 0x41a930
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040313e
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push edi
push str.SoftwarePPTAssistCommon
push 0x80000001
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x406793
cmp dword [ebp - 0x22c], edi
je 0x406793
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x224], edi
call fcn.0040b4c0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push edi
push str.DistSrc
push dword [ebp - 0x22c]
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x406767
push esi
call fcn.0040b53a
pop ecx
push eax
push esi
jmp 0x40677c
lea eax, [ebp - 0x218]
push eax
call fcn.0040b53a
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004026a4
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x422370
push esi
lea ecx, [ebp - 0x220]
call fcn.004059ee
push esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.004059ee
mov eax, dword [ebp - 0x21c]
mov esi, dword [eax - 0xc]
push edi
push 0x2e
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00404b9b
mov edi, eax
cmp edi, 0xffffffff
je 0x406876
push edi
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404bf3
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.00404a7c
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040124f
sub esi, edi
push esi
inc edi
push edi
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404c3a
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.00404a7c
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040124f
push dword [ebp - 0x220]
call fcn.0040cadd
push dword [ebp - 0x224]
mov esi, eax
call fcn.0040cadd
push eax
push esi
lea eax, [ebp - 0x21c]
push str._d._d
push eax
call fcn.0040282b
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x18]
call fcn.00404a7c
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040124f
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040124f
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040124f
mov esi, dword [ebp - 0x230]
mov eax, dword [ebx + 0x18]
sub eax, 0x10
push eax
call fcn.004041c7
add eax, 0x10
mov dword [esi], eax
pop ecx
mov eax, esi
call fcn.0040bd4e
ret 4
Function at 0x406a77
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
jbe 0x406b71
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 8], 1
sub dword [ebp - 8], ecx
mov dword [ebp - 0xc], 2
sub dword [ebp - 0xc], ecx
push esi
mov esi, dword [ebp + 0x10]
jmp 0x406aaf
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add edi, ecx
movzx ecx, byte [edi]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi], cl
mov cl, byte [edi]
and cl, 3
add edx, edi
shl cl, 4
cmp edx, dword [ebp + 0xc]
jae 0x406b46
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 8]
lea edx, [ebx + edx + 1]
mov bl, byte [edx]
shr bl, 4
add bl, cl
movzx ecx, bl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi + 1], cl
mov cl, byte [edx]
mov edx, dword [ebp - 0xc]
and cl, 0xf
add edx, edi
shl cl, 2
cmp edx, dword [ebp + 0xc]
jae 0x406b32
mov edx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi + 2]
mov bl, dl
and bl, 0x3f
shr dl, 6
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi + 2], cl
movzx ecx, bl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi + 3], cl
jmp 0x406b5a
movzx ecx, cl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi + 2], cl
mov byte [eax + esi + 3], 0x3d
jmp 0x406b5a
movzx ecx, cl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi + 1], cl
mov word [eax + esi + 2], 0x3d3d
mov edi, dword [ebp - 4]
add edi, 3
add eax, 4
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 0xc]
jb 0x406aac
pop esi
pop ebx
pop edi
leave
ret

Function at 0x406b74
Capabilities:
Resume thread

Disassembly:
push esi
lea esi, [ecx + 0x6a0]
cmp dword [esi], 0
je 0x406b8f
push dword [ecx + 0x67c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
and dword [esi], 0
pop esi
ret
Function at 0x407042
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4223b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x220], ebx
xor ebx, ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x208], ebx
lea ebx, [ebp - 0x208]
push ebx
lea ebx, [ebp - 0x214]
push ebx
lea ebx, [ebp - 0x218]
push ebx
push dword [ebp + 0x1c]
mov dword [ebp - 0x20c], ecx
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push edx
push 0x41b0d8
push ecx
mov ecx, dword [ebp - 0x20c]
push eax
call fcn.00406cb1
test eax, eax
jne 0x4070e3
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, ebx
push eax
call fcn.00406c10
mov eax, 0x80004005
jmp 0x4071c2
xor eax, eax
push 0x1fe
mov word [ebp - 0x204], ax
xor ebx, ebx
lea eax, [ebp - 0x202]
push ebx
push eax
call fcn.0040b4c0
add esp, 0xc
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x204]
push eax
push 5
push dword [ebp - 0x208]
mov dword [ebp - 0x224], 0x100
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4070d9
cmp edi, ebx
je 0x4071a0
mov esi, dword [ebp + 0x24]
cmp esi, ebx
jbe 0x4071a0
lea eax, [ebp - 0x204]
push eax
call fcn.0040cadd
pop ecx
mov dword [ebp - 0x21c], eax
cmp eax, esi
jbe 0x407156
mov dword [ebp - 0x21c], esi
xor esi, esi
mov dword [ebp - 0x210], ebx
lea eax, [ebp - 0x210]
push eax
push 0x400
lea eax, [edi + esi]
push eax
push dword [ebp - 0x208]
call dword [sym.imp.WININET.dll_InternetReadFile]
add esi, dword [ebp - 0x210]
cmp eax, ebx
je 0x407194
cmp dword [ebp - 0x210], ebx
je 0x407194
cmp esi, dword [ebp - 0x21c]
jb 0x40715e
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x4071a0
mov dword [eax], esi
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00406c10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b555
leave
ret 0x24

Function at 0x40757a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4223b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040b4c0
push 0
push 0x104
lea eax, [ebp - 0x210]
push eax
push str.HKEY_CURRENT_USERSoftwareClassesCLSID034DF736_A378_4292_ACAE_A561088999F5InprocServer32_
call fcn.00404f04
add esp, 0x1c
test eax, eax
js 0x4075dc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4075dc
xor al, al
jmp 0x4075de
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b555
leave
ret
Function at 0x4075ea
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4223b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040b4c0
push 0x100
push 0x104
lea eax, [ebp - 0x210]
push eax
push str.HKEY_CURRENT_USERSoftwareClassesCLSID034DF736_A378_4292_ACAE_A561088999F5InprocServer32_
call fcn.00404f04
add esp, 0x1c
test eax, eax
js 0x40764f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40764f
xor al, al
jmp 0x407651
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b555
leave
ret

Function at 0x40812b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4223b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.00407b48
mov ebx, eax
cmp ebx, esi
je 0x40819c
lea ecx, [ebp - 0x214]
call fcn.00407ad1
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b555
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4081ba
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040812b
cmp eax, esi
jne 0x408201
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x4081a4
lea ecx, [ebp - 0x214]
call fcn.00407ad1
push dword [ebp - 0x218]
mov ecx, edi
call fcn.00407aaf
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.00407ad1
mov eax, esi
jmp 0x40818b
Function at 0x409516
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x418f42
call fcn.0040bd01
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x40956f
call fcn.004078bc
mov esi, eax
jmp 0x409645
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x409588
call fcn.004078bc
jmp 0x409637
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x40957e
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x4095c2
mov esi, 0x8007000e
jmp 0x409639
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040871b
mov dword [ebp - 4], 1
jmp 0x4095f0
cmp dword [ebp - 0x418], esi
je 0x4095bb
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x40957e
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.00409368
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40965e
lea ecx, [ebp - 0x418]
call fcn.004080d4
mov eax, esi
call fcn.0040bd5d
ret 0x10

Function at 0x409b67
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x210
mov eax, 0x418fa0
call fcn.0040bccb
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409b8d
inc eax
jmp 0x409c4b
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040313e
and dword [ebp - 4], 0
mov esi, 0x41bc08
push esi
call fcn.0040b53a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.00402624
push ebx
lea ecx, [ebp - 0x21c]
call fcn.004027b9
mov esi, 0x41bc04
push esi
call fcn.0040b53a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.00402624
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0040b4c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push str.System32_regsvr32.exe
push eax
call fcn.0040bd6c
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push 0
push dword [ebp + 0x10]
push 0
push dword [ebp - 0x21c]
push eax
call fcn.00401492
mov ecx, dword [ebp - 0x21c]
add esp, 0x20
add ecx, 0xfffffff0
call fcn.0040124f
xor eax, eax
call fcn.0040bd4e
ret