joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460f2c
Capabilities:
Encode data using base64

Disassembly:
invalid
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004602b4
test al, al
je 0x460f4d
xchg edi, eax
sub dword [ecx - 0x450ce38e], ecx
int1
adc dword [ecx], ebx
jo 0x460eec
push ebx
inc edi
sbb eax, ebp
shr al, 1
or edx, esi
invalid
call fcn.0046015b
test al, al
je 0x460f73
cmpsd dword [esi], dword es:[edi]
outsd dx, dword [esi]
mov eax, 0xbf3ef522
push ecx
int3
call fcn.0045ffbd
test al, al
je 0x460f96
adc bl, byte [edx + edx*2 + 0x39]
pop ss
je 0x460f3d
xchg edx, eax
mov al, byte [0x28957ee6]
fimul dword [eax + 0x1b]
pop ebp
jp 0x460fa1
jo 0x460f11
xor eax, 0x832f913a
xor ecx, ecx
xor edx, edx
xor ebx, ebx
cmp dword [ebp + 0xc], ecx
jle 0x4610e4
aas
add dword [eax], eax
add byte [ebx + 0x48a0875], cl
xor edi, dword [edi - 0x7cbdf98b]
cli
add bh, byte [edi + 0x41]
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x460fb5
inc edx
cmp edx, 2
jg 0x460ff6
cmp al, 0x7f
ja 0x460ff6
movzx eax, al
mov al, byte [eax + 0x7136b8]
cmp al, 0x7f
je 0x460ff6
cmp al, 0x40
jae 0x460fce
test edx, edx
jne 0x460ff6
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x460fa8
test ecx, ecx
je 0x4610e4
imul eax, ecx, 6
mov ecx, dword [ebp + 0x14]
add eax, 7
sar eax, 3
cmp dword [ecx], eax
jge 0x460ffe
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x460ff8
push 0xffffffffffffffee
pop eax
jmp 0x4610e6
call fcn.004600d1
test al, al
je 0x46101c
test eax, 0xf9e5a738
inc ecx
sub dword [edx - 0x467ff6aa], esi
iretd
call fcn.0046040d
test al, al
je 0x461041
and dword ds:[ecx], ebx
into
push edx
popfd
mov al, 0x73
invalid
call fcn.0046015b
test al, al
je 0x46106a
push esi
insb byte es:[edi], dx
xchg esi, eax
jno 0x461089
outsb dx, byte [esi]
sal byte [edi], cl
adc ebp, dword [ecx - 0x2a]
push ds
jbe 0x4610c8
pop esp
popfd
cmc
adc esi, dword [edi - 0x4b]
popfd
mov ebp, ecx
push 0xaac52f6f
xchg ecx, eax
mov ebx, dword [ebp - 4]
and dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 3
pop esi
test ebx, ebx
jle 0x4610dc
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x7136b8]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x4610d6
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x4610c1
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x4610ce
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x4610d6
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x461080
mov eax, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4610ed
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x461101
xor eax, eax
jmp 0x46123f
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x46112a
dec edx
sub edx, 1
jne 0x46112c
add eax, 2
jmp 0x46112c
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x46113f
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x46123e
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x4611d5
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x713678]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x713678]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x713678]
mov byte [edi + 2], al
mov al, byte [esi + 0x713678]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x46116a
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x4611d8
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x461231
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x4611ed
movzx ecx, byte [eax + 1]
jmp 0x4611ef
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x713678]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x713678]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x461226
and ecx, 0xf
mov al, byte [ecx*4 + 0x713678]
mov byte [edi + 2], al
jmp 0x46122a
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46143d
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x6fb240
call fcn.00458b7c
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.004ed62f
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x461479
push 0x797c43
mov ecx, esi
call fcn.0042d3c0
jmp 0x4615e1
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x46149e
push ebx
call fcn.004ed62a
push dword [ebp - 0x54]
call fcn.004ed62f
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x461468
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4615b6
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x46158f
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0042f7d0
lea eax, [edi + 0x10c]
push eax
call fcn.006f3f24
push 0x713754
push eax
call fcn.004ec130
add esp, 0x2c
test eax, eax
jne 0x4615eb
cmp dword [edi + 0x1a0], 0x47
je 0x4615eb
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042d3c0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.00461980
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00440130
mov edi, dword [edi]
test edi, edi
jne 0x4614e6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x4615ae
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x4615ae
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0042f320
lea ecx, [ebp - 0x60]
call fcn.0046190e
push ebx
call fcn.004ed62a
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0042f6f0
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00440130
mov eax, esi
call fcn.00458b37
ret 4
cmp byte [ebp - 0x20], 0
jne 0x4615f5
xor eax, eax
jmp 0x4615ff
lea eax, [ebp - 0x20]
push eax
call fcn.004f2bd0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042f450
jmp 0x4615ae
Function at 0x46162b
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.004ea000
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x794474
call fcn.004f2ba9
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004ff853
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.004ea000
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.004ea000
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.004ea000
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x461729
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0042f7d0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0042d3c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004584a2
mov esp, ebp
pop ebp
ret 4

Function at 0x461de6
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x6fb359
call fcn.00458b7c
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x461e11
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x461eef
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x7943cc
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00420aa0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.004ea000
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x7138c4
push eax
call fcn.00435fe0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x461ea4
call fcn.00461d02
jmp 0x461ea9
call fcn.00461dbc
push eax
lea ecx, [ebp - 0x828]
call fcn.004224b0
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.004209e0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.004f2299
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.004209e0
mov eax, esi
call fcn.00458b37
ret 0xc
Function at 0x461ef9
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x6fb3a3
call fcn.00458b7c
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.004ea000
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x461f56
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00420940
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x461f9c
mov eax, dword [esi]
jmp 0x461f9e
mov eax, esi
push ebx
push eax
call fcn.004f2b47
pop ecx
pop ecx
test eax, eax
jne 0x461fea
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x461fce
call fcn.00461d02
jmp 0x461fd3
call fcn.00461dbc
push eax
mov ecx, esi
call fcn.004224b0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004209e0
mov eax, esi
call fcn.00458b37
ret 0x10
Function at 0x462be3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.004ea000
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x462c1c
mov eax, dword [eax]
push str.zhCfgPath
push eax
lea eax, [ebp - 0x20c]
push 0x7137fc
push eax
call fcn.00435fe0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462c54
lea eax, [ebp - 0x20c]
push eax
call fcn.00472075
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004ea000
push str.ZHVest.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x7137cc
push eax
call fcn.00435fe0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x462c93
mov eax, esi
jmp 0x462ca0
lea eax, [ebp - 0x414]
push eax
call fcn.004f2ba9
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00420aa0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004ea000
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x7137cc
push eax
call fcn.00435fe0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x462cf2
mov eax, esi
jmp 0x462cff
lea eax, [ebp - 0x61c]
push eax
call fcn.004f2ba9
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00420aa0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004ea000
lea eax, [ebp - 0xa44]
push str.ZHSoftPath
push eax
call fcn.00472763
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x462d40
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x79447c
push eax
call fcn.00435fe0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.004209e0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462d81
lea eax, [ebp - 0x824]
push eax
call fcn.00472075
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.004ea000
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x7137cc
push eax
call fcn.00435fe0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x462dcb
lea eax, [ebp - 0xa2c]
push eax
call fcn.004f2ba9
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00420aa0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004584a2
mov esp, ebp
pop ebp
ret
Function at 0x46b117
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x6fc01c
call fcn.00458b48
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004753ef
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00475423
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x46b157
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46b1b7
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x46b192
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46b1b7
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00475402
call fcn.00458b22
ret 0xc

Function at 0x46b63f
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x6fc0b7
call fcn.00458b7c
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.004ea000
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x46b736
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x46b6bb
lea eax, [ebp - 0x218]
push eax
call fcn.004f2ba9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420aa0
and dword [ebp - 4], 0
push 0x794470
call fcn.004f2ba9
pop ecx
push eax
push 0x794470
lea ecx, [ebp - 0x230]
call fcn.00422710
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0046b2a2
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x46b727
call fcn.004209e0
mov eax, edi
jmp 0x46b7e8
or dword [ebp - 4], 0xffffffff
call fcn.004209e0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x46b7e6
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x46b77d
lea eax, [ebp - 0x218]
push eax
call fcn.004f2ba9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00420aa0
mov esi, 0x794470
mov dword [ebp - 4], 1
push esi
call fcn.004f2ba9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00422710
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0046b2a2
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.004209e0
test esi, esi
je 0x46b7e6
mov eax, esi
jmp 0x46b7e8
xor eax, eax
call fcn.00458b37
ret 4
Function at 0x46b7f0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x46b818
xor eax, eax
jmp 0x46b94e
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46b811
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004ea000
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46b93c
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x46b916
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.004ea000
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46b90a
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004eb9fd
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x46b944
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x46b881
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004584a2
mov esp, ebp
pop ebp
ret 4
Function at 0x46c43c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x46c461
xor eax, eax
jmp 0x46c4f4
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.004ea000
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c4f2
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x46c4d0
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004ed4b5
pop ecx
pop ecx
test eax, eax
je 0x46c4e2
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x46c4af
jmp 0x46c4e5
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004584a2
mov esp, ebp
pop ebp
ret 4
Function at 0x46c97e
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x6fc269
call fcn.00458b7c
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.004ea000
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x46c9e9
lea eax, [ebp - 0x218]
push eax
call fcn.004f2ba9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00420aa0
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.004f2ba9
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00422710
xor ebx, ebx
cmp word [esi], bx
jne 0x46ca23
mov eax, ebx
jmp 0x46ca2a
push esi
call fcn.004f2ba9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00422710
mov esi, str..lnk
push esi
call fcn.004f2ba9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00422710
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x46cb38
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.004ea000
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.004ea000
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004f2b87
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0046affd
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004ea000
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.004f2ba9
pop ecx
test eax, eax
jne 0x46cb26
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004f2b87
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x46cb38
xor esi, esi
inc esi
jmp 0x46cb3a
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.004209e0
mov eax, esi
call fcn.00458b37
ret 4
Function at 0x46cb52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x7e493c]
test al, al
jne 0x46cbeb
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ea000
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46cbe2
lea eax, [ebp - 0x20c]
push eax
call fcn.004f21db
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004eb9fd
pop ecx
pop ecx
test eax, eax
jne 0x46cbda
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004eb9fd
pop ecx
pop ecx
test eax, eax
je 0x46cbe2
mov byte [0x7e493c], bl
jmp 0x46cbe8
mov bl, byte [0x7e493c]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584a2
mov esp, ebp
pop ebp
ret