joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414d42
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x49d1b4]
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.0042a980
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4816fc
call fcn.0043d47b
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043d496
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.0042a980
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.0042a980
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.0042a980
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 0x414e40
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.004047e0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040abb0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ea9a
mov esp, ebp
pop ebp
ret 4
Function at 0x41ac5b
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x47dda6
call fcn.0044faea
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.0042a980
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4804c4
mov ecx, esi
call fcn.00407300
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push 0x482f80
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41ad52
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ad4b
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x41ad84
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x41ae50
cmp eax, 1
jne 0x41ad7a
mov edi, str.WindowsXP
jmp 0x41ae40
mov edi, str.WindowsServer2003
jmp 0x41ae40
cmp eax, 6
jne 0x41ae50
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x41ae2d
sub eax, 1
je 0x41ae26
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x41ae56
cmp edi, 0x1ebb
jne 0x41adc2
mov edi, str.Windows8
jmp 0x41ae40
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x41adbb
cmp edi, 0x1f13
je 0x41adbb
cmp dword [ebp - 0x340], 0xa
jne 0x41adfa
cmp dword [ebp - 0x344], 0
jne 0x41ae56
push str.Windows10
call fcn.0043d47b
pop ecx
push eax
push str.Windows10
jmp 0x41ae1d
cmp dword [ebp - 0x340], 6
jne 0x41ae56
cmp dword [ebp - 0x344], 3
jne 0x41ae56
push str.Windows8.1
call fcn.0043d47b
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.00404340
jmp 0x41ae56
mov edi, str.Windows7
jmp 0x41ae40
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x41ae40
mov edi, str.WindowsServer2008
push edi
call fcn.0043d47b
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404340
mov edi, dword [ebp - 0x338]
push 0x4804c4
mov ecx, esi
call fcn.0041b00c
test eax, eax
jne 0x41aec4
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0042a980
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00405740
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x41aea8
mov eax, ebx
jmp 0x41aeb5
lea eax, [ebp - 0x218]
push eax
call fcn.0043d47b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00404340
cmp dword [ebp + 0xc], 0
je 0x41aef2
cmp word [ebp - 0x320], 0
je 0x41aee3
lea eax, [ebp - 0x320]
push eax
call fcn.0043d47b
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.00405610
mov eax, esi
call fcn.0044faa5
ret
Function at 0x41bd76
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47deef
call fcn.0044faea
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41be76
cmp byte [ebx + 0x3d], 0
je 0x41be76
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x41bdb0
xor al, al
jmp 0x41be78
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0041bec2
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41be0e
sub eax, 1
je 0x41be12
dec eax
sub eax, 1
je 0x41be64
xor bl, bl
jmp 0x41be66
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x41be4a
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0043e2f9
add esp, 0x10
cmp esi, eax
jne 0x41be0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x41be64
test esi, esi
jne 0x41bdd4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0040e1a0
jmp 0x41bdce
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041425b
mov al, bl
jmp 0x41be78
mov al, 1
call fcn.0044faa5
ret

Function at 0x41c28a
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41ca9b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x41cacc
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x47df55
call fcn.0044faea
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
mov edi, dword [ebp + 0xc]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.0042a980
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.0042a980
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x41cbaa
cmp word [edi], dx
jne 0x41cb3b
mov eax, edx
jmp 0x41cb42
push edi
call fcn.0043d47b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00404340
cmp dword [ebp - 0x30], 0
je 0x41cbaa
mov edi, 0x480988
push edi
call fcn.0043d47b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00404340
xor edi, edi
cmp word [esi], di
jne 0x41cb73
mov eax, edi
jmp 0x41cb7a
push esi
call fcn.0043d47b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405610
mov esi, 0x48098c
push esi
call fcn.0043d47b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405610
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405500
jmp 0x41cbc6
xor edi, edi
cmp word [esi], di
jne 0x41cbb5
mov eax, edi
jmp 0x41cbbc
push esi
call fcn.0043d47b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404340
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x483108
call fcn.00421e70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41cc0b
mov esi, edi
jmp 0x41cc36
cmp byte [ebp + 0x10], 0
je 0x41cc23
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00405490
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00405490
mov eax, esi
call fcn.0044faa5
ret
Function at 0x41cc78
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x47df8d
call fcn.0044faea
mov eax, dword [ebp + 8]
test eax, eax
je 0x41cd74
push eax
lea ecx, [ebp - 0x40]
call fcn.00407300
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041a2ae
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.0042a980
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41cd65
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41cd5a
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x41cd04
mov eax, ebx
jmp 0x41cd11
lea eax, [ebp - 0x248]
push eax
call fcn.0043d47b
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404340
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0041a2ae
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a65c
test eax, eax
je 0x41cd7a
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00405490
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41cce7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405490
mov eax, esi
call fcn.0044faa5
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00405490
jmp 0x41cd67
Function at 0x41d583
Capabilities:
Encode data using xor

Disassembly:
push 0x74
mov eax, 0x47e0ed
call fcn.0044faea
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [edi]
or eax, dword [edi + 4]
jne 0x41d5c1
xor ebx, ebx
push ebx
call fcn.00432192
mov dword [edi], eax
imul eax, dword [edi + 8], 0x3c
pop ecx
mov dword [edi + 4], edx
test eax, eax
jle 0x41d5cf
push eax
push ebx
call fcn.00421c90
cdq
add dword [edi], eax
pop ecx
adc dword [edi + 4], edx
jmp 0x41d5ce
xor ebx, ebx
push ebx
call fcn.00432192
mov dword [edi], eax
mov dword [edi + 4], edx
pop ecx
push 0x1869f
push 0x2710
call fcn.00421c90
pop ecx
pop ecx
lea ecx, [edi + 0xa8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004138bb
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
cmp dword [ebp - 0x18], 0
je 0x41d711
push str._rand
call fcn.0043d3f0
pop ecx
push eax
push str._rand
lea ecx, [ebp - 0x28]
call fcn.00403ec0
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041b0cf
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00403dc0
xor eax, eax
mov byte [ebp - 4], bl
push ebx
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.0041425b
lea ecx, [ebp - 0x80]
call fcn.00414587
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00414636
lea ecx, [ebp - 0x80]
call fcn.004148df
push 1
mov dword [ebp - 0x44], eax
mov esi, dword [eax + 4]
sub esi, dword [eax]
pop eax
cmove esi, eax
inc esi
push esi
call fcn.0040ea8c
push esi
mov esi, eax
mov dword [ebp - 0x48], eax
push ebx
push esi
call fcn.0042a980
push str.BUDINGPAOPAO
call fcn.0043d3f0
mov dword [ebp - 0x48], eax
add esp, 0x14
mov eax, dword [ebp - 0x44]
mov edx, ebx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
je 0x41d6dc
mov edi, ebx
mov ecx, dword [eax]
mov al, byte [ecx + edx]
xor al, byte [edi + str.BUDINGPAOPAO]
inc edi
mov ecx, dword [ebp - 0x44]
mov byte [edx + esi], al
xor eax, eax
cmp edi, dword [ebp - 0x48]
cmovge edi, eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
inc edx
cmp edx, eax
mov eax, ecx
jb 0x41d6b3
mov edi, dword [ebp - 0x4c]
push esi
mov ecx, edi
call fcn.0041d2df
test al, al
jne 0x41d6f5
test esi, esi
je 0x41d706
push esi
call fcn.0040ea95
pop ecx
jmp 0x41d706
test esi, esi
je 0x41d700
push esi
call fcn.0040ea95
pop ecx
xor eax, eax
inc eax
mov byte [edi + 0xc], al
lea ecx, [ebp - 0x80]
call fcn.004145c8
xor eax, eax
inc eax
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.0041425b
call fcn.0044faa5
ret
Function at 0x41f5ed
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x47e3b7
call fcn.0044fab6
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004260d6
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042610a
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x41f62d
mov edi, 0xf003f
push edi
push esi
push 0x483d84
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f68d
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 0x41f668
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f68d
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.004260e9
call fcn.0044fa90
ret 0xc
Function at 0x41fb15
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x47e452
call fcn.0044faea
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.0042a980
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 0x41fc0c
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x41fb91
lea eax, [ebp - 0x218]
push eax
call fcn.0043d47b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404340
and dword [ebp - 4], 0
push 0x483be4
call fcn.0043d47b
pop ecx
push eax
push 0x483be4
lea ecx, [ebp - 0x230]
call fcn.00405610
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041f778
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x41fbfd
call fcn.00405490
mov eax, edi
jmp 0x41fcbe
or dword [ebp - 4], 0xffffffff
call fcn.00405490
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x41fcbc
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x41fc53
lea eax, [ebp - 0x218]
push eax
call fcn.0043d47b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00404340
mov esi, 0x483be4
mov dword [ebp - 4], 1
push esi
call fcn.0043d47b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00405610
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041f778
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00405490
test esi, esi
je 0x41fcbc
mov eax, esi
jmp 0x41fcbe
xor eax, eax
call fcn.0044faa5
ret 4
Function at 0x41fcc6
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 [0x49d1b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x428], eax
xor edi, edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push 9
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov esi, edi
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41fd19
xor eax, eax
jmp 0x41fe18
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042a980
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41fe05
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 0x41fdeb
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.0042a980
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41fde3
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0042cae1
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41fd55
push dword [ebp - 0x418]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040ea9a
mov esp, ebp
pop ebp
ret 4
Function at 0x4207e3
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 [0x49d1b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], eax
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], ebx
push ebx
push eax
mov esi, ebx
mov dword [ebp - 0x41c], ebx
call fcn.0042a980
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42092e
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x420908
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 0x4208fa
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.0042a980
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4208f2
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0042cae1
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x420864
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x420a23
xor ebx, ebx
lea eax, [ebp - 0x418]
push eax
push 9
push ebx
push 0x483930
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420a23
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
jmp 0x420a07
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 0x4209f9
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0042a980
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4209f1
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0042cae1
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x420963
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ea9a
mov esp, ebp
pop ebp
ret 4
Function at 0x420ba3
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x47e5c2
call fcn.0044faea
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.0042a980
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 0x420c0e
lea eax, [ebp - 0x218]
push eax
call fcn.0043d47b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00404340
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.0043d47b
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00405610
xor ebx, ebx
cmp word [esi], bx
jne 0x420c48
mov eax, ebx
jmp 0x420c4f
push esi
call fcn.0043d47b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00405610
mov esi, 0x483bf0
push esi
call fcn.0043d47b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00405610
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 0x420d5d
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0042a980
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0042a980
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0043d63e
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0041f4d3
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0042a980
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.0043d47b
pop ecx
test eax, eax
jne 0x420d4b
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0043d63e
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x420d5d
xor esi, esi
inc esi
jmp 0x420d5f
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00405490
mov eax, esi
call fcn.0044faa5
ret 4