joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ef3a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0041f080
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.0040e6d7
xor edi, edi
cmp eax, edi
jl 0x40f0f2
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0040f0ff
pop ecx
test eax, eax
pop ecx
jne 0x40ef85
mov eax, 0x80020009
jmp 0x40f0f2
mov ecx, esi
call fcn.0040e6af
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.0040e6d7
cmp eax, edi
jl 0x40f0f2
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x40f0ba
sub eax, 9
je 0x40f01f
dec eax
dec eax
jne 0x40f0e1
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x40efca
xor ebx, ebx
jmp 0x40efff
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0041f080
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x40f0d2
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x40f05b
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0041f080
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.0041f910
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x40f065
mov eax, 0x80004005
jmp 0x40f0f2
cmp dword [ebp - 8], 0
jle 0x40f09f
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.0040f186
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x40f06b
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x40f0e1
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0040e6d7
cmp eax, edi
jl 0x40f0f2
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x411a34
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x429c79
call fcn.0041f054
sub esp, 0x130
and byte [ebp - 0x13c], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 1
test eax, eax
pop ebx
jne 0x411ab7
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0x104
mov eax, str.CommonFilesDir
je 0x411a97
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x13c]
push ecx
push esi
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
je 0x411aec
lea ecx, [ebp - 0x28]
call fcn.0040c71c
mov esi, 0x42c4d4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], esi
push 0x435230
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00411b54
jmp 0x411b08
lea ecx, [ebp - 0x38]
call fcn.0040c71c
push 2
mov esi, 0x42c4d4
pop ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], ecx
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.0040c743
or dword [ebp - 0x10], 4
mov dword [edi], esi
test byte [ebp - 0x10], 2
mov dword [ebp - 4], ebx
je 0x411b2e
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x38]
call fcn.0040c779
and dword [ebp - 4], 0
test byte [ebp - 0x10], bl
je 0x411b43
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x28]
call fcn.0040c779
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x411dc6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.00413258
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411e0c
cmp eax, 3
je 0x411e0c
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00411f56
lea eax, [ebp - 0x48]
push 0x4305e8
push eax
call fcn.0041f644
xor al, al
leave
ret
test byte [ebp + 0xc], 4
je 0x411e1a
test al, 0x10
je 0x411e24
test byte [ebp + 0xc], 8
je 0x411e29
test al, 0x10
je 0x411e29
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x41229b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x429db0
call fcn.0041f054
sub esp, 0x134
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.00403191
mov esi, 0x42c3b0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00403191
mov dword [ebp - 0x3c], esi
mov eax, dword [0x436ee0]
push 0x70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
push dword [eax + 8]
call fcn.004012ff
push 0x20019
mov ecx, edi
call fcn.00411c73
lea eax, [edi + 0x14]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00408911
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 4
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
je 0x412356
push eax
call ebx
test eax, eax
je 0x412356
xor eax, eax
cmp dword [ebp - 0x30], eax
je 0x412336
push dword [ebp - 0x30]
call ebx
push 0
push eax
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0040a414
cmp eax, dword [0x42c4cc]
jne 0x412356
push esi
lea ecx, [ebp - 0x2c]
call fcn.00412f4d
jmp 0x412363
push str.update
lea ecx, [ebp - 0x2c]
call fcn.0040fa83
push str..ini
lea ecx, [ebp - 0x2c]
call fcn.0040fa83
mov eax, dword [edi + 0x10]
test eax, eax
je 0x412385
push eax
call ebx
test eax, eax
je 0x412385
push 0x4352f0
jmp 0x41238a
push str.Main
lea ecx, [ebp - 0x1c]
call fcn.00408985
push esi
mov ecx, edi
call fcn.004129d8
test al, al
jne 0x4123aa
and dword [ebp + 8], 0
lea ecx, [ebp + 8]
call fcn.00409415
mov edi, dword [edi + 0x10]
test edi, edi
je 0x4123bf
push edi
call ebx
test eax, eax
je 0x4123bf
push 0x4352f0
jmp 0x4123c4
push str.Main
lea ecx, [ebp - 0x1c]
call fcn.00408985
lea ecx, [ebp - 0x2c]
call fcn.0040cb74
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x28]
mov ecx, edi
call fcn.0040cb74
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x1c]
call fcn.0040cb74
push esi
lea eax, [ebp - 0x140]
push 0x104
push eax
push 0x436f00
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x41241e
mov esi, dword [ebp + 0x10]
push dword [esi + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi + 0xc], 0
jmp 0x41242d
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x140]
push eax
call fcn.00408985
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00408947
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00408947
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408947
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x41361e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x429f5f
call fcn.0041f054
sub esp, 0xf0
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call 0x413784
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
push 1
cmp esi, eax
pop ebx
ja 0x41366b
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call 0x413784
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], ebx
test byte [ebp - 0x10], bl
je 0x41367b
lea ecx, [ebp - 0xb4]
call fcn.00411d38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00411d38
inc esi
push ebx
lea eax, [ebp - 0x10]
push esi
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x10], 0x5c
call fcn.00413c42
cmp eax, 0xffffffff
je 0x413739
mov edi, 0x42cb50
mov esi, 0x42cb48
lea ecx, [ebp + 0x17]
inc eax
push 0
push ecx
push eax
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call fcn.00413949
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00413258
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4136fe
test al, 0x10
je 0x4136fe
cmp dword [ebp + 0x10], 0
je 0x41370a
push dword [ebp - 0x10]
call dword [ebp + 0x10]
pop ecx
jmp 0x41370a
push 0
push dword [ebp - 0x10]
call dword [ebp + 0xc]
test eax, eax
je 0x413748
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00411d38
push ebx
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x5c
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.00413c42
cmp eax, 0xffffffff
jne 0x4136b3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp + 0xb]
push 0
push eax
lea ecx, [ebp - 0x64]
push dword [ebp - 0x10]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.004139dc
lea eax, [ebp - 0x64]
push ebx
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.00413884
lea eax, [ebp - 0xfc]
push 0x4305e8
push eax
call fcn.0041f644
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 4], ebx
call fcn.00413831
test al, al
je 0x4137d9
mov esi, 0x434dac
lea ebx, [edi + 4]
push esi
call fcn.0041fe32
pop ecx
push eax
push 2
push esi
mov ecx, ebx
call fcn.00413d09
mov ebx, eax
cmp ebx, dword [0x42cb78]
je 0x4137d4
push esi
call fcn.0041fe32
pop ecx
inc ebx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.00413d09
mov ebx, eax
push ebx
push 0
jmp 0x41381d
mov ecx, edi
call fcn.00413862
test al, al
je 0x4137fe
mov esi, 0x434dac
push esi
call fcn.0041fe32
pop ecx
push eax
push 7
push esi
lea ecx, [edi + 4]
call fcn.00413d09
jmp 0x41381b
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x41380a
mov eax, 0x42cb8c
mov ax, word [eax + 2]
sub ax, 0x3a
neg ax
sbb eax, eax
and al, 0xfe
inc eax
inc eax
push eax
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.00413b87
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41499b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x42a1a1
call fcn.0041f054
sub esp, 0x128
and byte [ebp - 0x134], 0
push ebx
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
and dword [ebp - 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x134]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x134], 0
push 1
pop ebx
lea eax, [ebp - 0x134]
push eax
je 0x414a11
lea ecx, [ebp - 0x30]
call fcn.0040c71c
mov dword [ebp - 0x30], 0x42c4d4
mov dword [ebp - 0x10], ebx
push 0x435230
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00411b54
jmp 0x414a2c
lea ecx, [ebp - 0x20]
call fcn.0040c71c
push 2
mov dword [ebp - 0x20], 0x42c4d4
pop ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ecx
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.0040c743
or dword [ebp - 0x10], 4
mov dword [edi], 0x42c4d4
test byte [ebp - 0x10], 2
mov dword [ebp - 4], ebx
je 0x414a56
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.0040c779
and dword [ebp - 4], 0
test byte [ebp - 0x10], bl
je 0x414a6b
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x30]
call fcn.0040c779
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41832d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a6bb
call fcn.0041f054
sub esp, 0x38
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], 0x42c3b0
cmp dword [ecx], edi
mov dword [ebp - 4], 1
je 0x418468
mov esi, dword [ebp + 0xc]
mov ebx, 0x200
mov ecx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040cb74
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x14]
mov ecx, dword [ecx]
push edx
lea edx, [ebp - 0x10]
push edi
push edx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ecx
call edi
cmp dword [ebp - 0x10], 1
je 0x418420
cmp dword [ebp - 0x10], 7
je 0x418420
cmp dword [ebp - 0x10], 2
je 0x418420
xor ebx, ebx
mov ecx, esi
mov dword [ebp + 0xc], ebx
call fcn.0040cb74
mov esi, dword [esi + 4]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push esi
push dword [eax]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 4
call edi
cmp eax, ebx
jne 0x418468
mov eax, dword [ebp + 0xc]
push 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x44]
mov word [ebp - 0x44], 3
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x418468
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.0040cb74
mov esi, dword [esi + 4]
lea eax, [ebp - 0x44]
push ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040b193
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040b296
lea ecx, [ebp - 0x14]
and dword [ebp + 0xc], 0
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x18]
push 0
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040b26f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00408911
mov dword [ebp - 0x24], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00408947
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x418971
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x42a7b4
call fcn.0041f054
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x60]
call fcn.004118fc
xor ebx, ebx
mov edi, 0x42c3b0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], edi
lea eax, [esi + 0x10]
mov ecx, esi
push eax
mov al, byte [esi + 0x68]
push eax
push 0x67
mov byte [ebp - 4], 1
call fcn.00418eb6
lea eax, [esi + 0x54]
mov ecx, esi
push eax
mov al, byte [esi + 0x6a]
push eax
push 0x69
call fcn.00418f37
lea eax, [esi + 0x50]
mov ecx, esi
push eax
mov al, byte [esi + 0x69]
push eax
push 0x68
call fcn.00418f37
lea eax, [esi + 0x60]
mov ecx, esi
push eax
mov al, byte [esi + 0x6b]
push eax
push 0x6a
call fcn.00418fba
lea eax, [esi + 0x30]
mov ecx, esi
push eax
mov al, byte [esi + 0x6c]
push eax
push 0x6e
call fcn.00418eb6
lea eax, [esi + 0x58]
mov ecx, esi
push eax
mov al, byte [esi + 0x6d]
push eax
push 0x6f
call fcn.00418f37
lea eax, [esi + 0x70]
mov ecx, esi
push eax
mov al, byte [esi + 0x6e]
push eax
push 0x75
call fcn.00418f37
push 0xffffffffffffffff
push str.LastCheck
call fcn.00403388
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00403191
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.00412744
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00408947
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00408947
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00411c28
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4195dc
Capabilities:
Delete file

Disassembly:
mov dword [ecx], 0x42cdc0
jmp fcn.0041966b

Function at 0x41966b
Capabilities:
Delete file

Disassembly:
mov eax, 0x42a9e9
call fcn.0041f054
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x42cdcc
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], 2
test eax, eax
je 0x4196c4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4196c4
xor ebx, ebx
lea edi, [esi + 4]
mov ecx, edi
call fcn.0040cb74
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4196c4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x4196a2
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.00408947
and byte [ebp - 4], 0
lea ecx, [esi + 0x14]
call fcn.00408947
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00408947
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x419c46
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42ab0a
call fcn.0041f054
sub esp, 0x94
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
push eax
push 0xf003f
push esi
push str.SOFTWAREInstallShieldUpdate_Service
push SysReAllocString
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x419c92
lea ecx, [ebp - 0x10]
call fcn.004060b5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], 0x42c3b0
mov eax, 0x104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call fcn.0040b193
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040b296
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push str.HttpLogFile
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
lea ecx, [ebp - 0x3c]
sete bl
mov byte [ebp - 4], 1
call fcn.0040b26f
test bl, bl
je 0x419db8
lea ecx, [ebp - 0xa0]
call fcn.00419de1
lea eax, [ebp - 0x15]
push esi
push eax
lea ecx, [ebp - 0x64]
push dword [ebp - 0x20]
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], 0x42cb50
mov dword [ebp - 0x44], 0x42cb48
call fcn.00413120
push esi
push esi
push 2
push 0x80
push 1
lea eax, [ebp - 0x64]
push 0x40000000
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00419e85
mov ebx, eax
lea ecx, [ebp - 0x64]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 3
inc bl
call fcn.00411d38
test bl, bl
je 0x419d90
mov eax, dword [edi + 0x20]
cmp eax, esi
jne 0x419d6d
xor ebx, ebx
jmp 0x419d76
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
add edi, 0x14
mov ecx, edi
call fcn.0040cb74
mov edi, dword [edi + 4]
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.0041ac94
mov dword [ebp - 0xa0], 0x42cdd8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00419f78
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00411d38
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00408947
cmp dword [ebp - 0x10], esi
pop edi
pop esi
pop ebx
je 0x419dd5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x41a913
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
inc esp
or byte [eax], bl
jbe 0x41a94e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41a935
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x41a946
add edx, ecx
cmp dword [esp + 0xc], edx
or al, 0x72
invalid
inc edi
add eax, 0x28
cmp edi, esi
jb 0x41a92b
xor eax, eax
pop edi
pop esi
ret
Function at 0x41ac94
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041a8e3
push eax
push esi
push dword [ebp + 8]
call fcn.0041a898
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44

Function at 0x41ad08
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041a8e3
push eax
push esi
push dword [ebp + 8]
call fcn.0041a898
add esp, 0x30

Function at 0x41ad72
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
invalid
inc ebp

Function at 0x41ca76
Capabilities:
Access peb ldr_data

Disassembly:
lds esp, [esp + edx*2]
call fcn.0041a8d3
xchg edx, eax
imul esp
xchg edi, eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x41ca97
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0041a8d3
inc esp
cdq
sub byte [ebx + ecx*4 + 0x3c478bf8], dh
mov edx, dword [edi + eax + 0x78]
push esp
pop es
js 0x41cab1
xlatb
Function at 0x41cd7a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.0041ceb9
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x41ce2e
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41ce20
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x41cde4
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x41ce0d
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x41ce1a
cmp byte [ebp - 0x838], bl
je 0x41ce20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x41ce2e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call 0x41c9c2
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x41ce53
cmp dword [ebp + 0xc], 4
jne 0x41ce6d
cmp dword [ebp - 0x14], ebx
jne 0x41ce6d
cmp word [edi + 0x14], 3
mov ecx, edi
jne 0x41ce68
call fcn.0041d032
jmp 0x41ce6d
call fcn.0041d25e
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14