joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c3b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x31]
push 0
push eax
mov byte [esp + 0x38], 0
call fcn.0044e9d0
mov ecx, 6
mov esi, 0x47573c
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
pop edi
mov dword [esp + 4], 1
mov dword [esp + 8], 0x104
lea edx, [eax + 1]
pop esi
jmp 0x41c410
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c410
lea ecx, [esp + 8]
sub eax, edx
push ecx
mov edx, 0x237f
call fcn.0041d880
add esp, 4
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 8]
push ecx
push 0x475758
lea edx, [esp + 0x18]
push edx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41c47c
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c47c
mov eax, 1
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x12c
ret
mov ecx, dword [esp + 0x128]
xor ecx, esp
xor eax, eax
call fcn.0044b6ee
add esp, 0x12c
ret
Function at 0x41c4a0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
sub esp, 0x35c
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x358], eax
push 0x103
lea eax, [esp + 0x259]
push 0
push eax
mov byte [esp + 0x260], 0
call fcn.0044e9d0
push 0x103
lea ecx, [esp + 0x5d]
push 0
push ecx
mov byte [esp + 0x64], 0
call fcn.0044e9d0
push 0x103
lea edx, [esp + 0x16d]
push 0
push edx
mov byte [esp + 0x174], 0
call fcn.0044e9d0
add esp, 0x24
push 0
push 0x26
lea eax, [esp + 0x25c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41c532
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x35c
ret
mov eax, dword [0x475764]
mov edx, dword [0x475760]
push esi
push edi
mov ecx, 7
mov esi, 0x475774
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, 0x475790
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x47575c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c578
lea ecx, [esp + 0x14]
sub eax, edx
push ecx
mov edx, 0x844
call fcn.0041d880
lea eax, [esp + 0x34]
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c5a0
sub eax, edx
lea edx, [esp + 0x30]
push edx
mov edx, 0x844
call fcn.0041d880
lea eax, [esp + 0xc]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c5c2
lea ecx, [esp + 8]
push ebp
sub eax, edx
push ecx
mov edx, 0x844
call fcn.0041d880
add esp, 4
lea eax, [esp + 0x260]
lea ecx, [esp + 0x58]
call fcn.0041e6b0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x5c]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x164]
push eax
call edi
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea ecx, [esp + 0x15c]
push ecx
call ebp
test eax, eax
je 0x41c64b
pop ebp
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x35c
ret
push 0x104
lea edx, [esp + 0x160]
push 0
push edx
call fcn.0044e9d0
push 0x104
lea eax, [esp + 0x68]
push 0
push eax
call fcn.0044e9d0
add esp, 0x18
lea eax, [esp + 0x260]
lea ecx, [esp + 0x58]
call fcn.0041e6b0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x5c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x164]
push edx
call edi
lea eax, [esp + 0x15c]
push eax
call ebp
mov ecx, dword [esp + 0x364]
pop ebp
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.0044b6ee
add esp, 0x35c
ret
Function at 0x41c6d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4757b4]
mov edx, dword [0x4757bc]
mov ecx, dword [0x4757b8]
push ebx
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x1c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c706
lea ecx, [ebp - 0x20]
sub eax, edx
push ecx
mov edx, 0x849
call fcn.0041d880
mov edx, dword [0x4757c0]
mov eax, dword [0x4757c4]
mov ecx, dword [0x4757c8]
mov dword [ebp - 0x14], edx
mov dl, byte [0x4757cc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
add esp, 4
mov byte [ebp - 8], dl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c750
sub eax, ecx
lea ecx, [ebp - 0x14]
push ecx
mov edx, 0x849
call fcn.0041d880
add esp, 4
lea edx, [ebp - 0x20]
xor edi, edi
push edx
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], 0x22c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41c7c1
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41c7bf
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
jmp 0x41c7c1
xor edi, edi
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41c804
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41c804
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
jmp 0x41c806
xor esi, esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x254], ebx
cmp ebx, 0xffffffff
je 0x41c87f
lea edx, [ebp - 0x24c]
push edx
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41c878
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push edi
lea eax, [ebp - 0x228]
push eax
call ebx
test eax, eax
je 0x41c868
push esi
lea ecx, [ebp - 0x228]
push ecx
call ebx
test eax, eax
je 0x41c868
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x24c]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c833
jmp 0x41c872
mov dword [ebp - 0x250], 1
mov ebx, dword [ebp - 0x254]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x250]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret
Function at 0x41cb90
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x138
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x134], eax
push 0x103
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.0044e9d0
mov ecx, dword [0x47582c]
mov eax, dword [0x475834]
mov edx, dword [0x475830]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x475838]
mov dword [esp + 0x30], eax
mov eax, dword [0x475840]
mov dword [esp + 0x2c], edx
mov edx, dword [0x47583c]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x475844]
mov dword [esp + 0x14], eax
mov eax, dword [0x47584c]
mov dword [esp + 0x38], edx
mov edx, dword [0x475848]
mov dword [esp + 0x18], ecx
mov cl, byte [0x475850]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], edx
add esp, 0xc
mov dword [esp + 4], 1
mov dword [esp], 0x104
mov byte [esp + 0x18], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cc34
sub eax, edx
lea edx, [esp + 0x1c]
push edx
mov edx, 0x340b
call fcn.0041d880
lea eax, [esp + 0xc]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cc56
lea ecx, [esp + 8]
sub eax, edx
push ecx
mov edx, 0x340b
call fcn.0041d880
add esp, 4
lea edx, [esp]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x475854
lea edx, [esp + 0x2c]
push edx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41ccd8
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x41ccd8
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41ccd8
mov eax, 1
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x138
ret
mov ecx, dword [esp + 0x134]
xor ecx, esp
xor eax, eax
call fcn.0044b6ee
add esp, 0x138
ret
Function at 0x41ccf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x475840]
mov ecx, dword [0x475844]
mov edx, dword [0x475848]
mov dword [ebp - 0x18], eax
mov eax, dword [0x47584c]
push ebx
mov dword [ebp - 0x14], ecx
mov cl, byte [0x475850]
mov dword [ebp - 0xc], eax
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edx
push edi
mov byte [ebp - 8], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cd37
sub eax, edx
lea edx, [ebp - 0x18]
push edx
mov edx, 0x340b
call fcn.0041d880
mov eax, dword [0x47585c]
mov ecx, dword [0x475860]
mov edx, dword [0x475864]
mov dword [ebp - 0x28], eax
mov eax, dword [0x475868]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ecx
add esp, 4
mov dword [ebp - 0x20], edx
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41cd80
sub eax, ecx
lea ecx, [ebp - 0x28]
push ecx
mov edx, 0x340b
call fcn.0041d880
add esp, 4
lea edx, [ebp - 0x18]
xor edi, edi
push edx
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], 0x22c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41cdf1
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41cdef
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
jmp 0x41cdf1
xor edi, edi
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41ce34
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41ce34
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
jmp 0x41ce36
xor esi, esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x25c], ebx
cmp ebx, 0xffffffff
je 0x41ceaf
lea edx, [ebp - 0x254]
push edx
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41cea8
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push edi
lea eax, [ebp - 0x230]
push eax
call ebx
test eax, eax
je 0x41ce98
push esi
lea ecx, [ebp - 0x230]
push ecx
call ebx
test eax, eax
je 0x41ce98
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x254]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41ce63
jmp 0x41cea2
mov dword [ebp - 0x258], 1
mov ebx, dword [ebp - 0x25c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x268]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret
Function at 0x41ced0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x240
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x23c], eax
push 0x103
lea eax, [esp + 0x39]
push 0
push eax
mov byte [esp + 0x40], 0
call fcn.0044e9d0
push 0x103
lea ecx, [esp + 0x149]
push 0
push ecx
mov byte [esp + 0x150], 0
call fcn.0044e9d0
mov eax, dword [str._Wxv]
mov edx, dword [0x47586c]
mov ecx, dword [0x475874]
mov dword [esp + 0x38], eax
mov eax, dword [0x47587c]
mov dword [esp + 0x34], edx
mov edx, dword [0x475878]
mov dword [esp + 0x44], eax
mov eax, dword [0x475888]
mov dword [esp + 0x40], edx
mov edx, dword [0x475884]
mov dword [esp + 0x3c], ecx
mov cx, word [0x475880]
mov dword [esp + 0x24], eax
mov al, byte [0x475894]
mov dword [esp + 0x20], edx
mov edx, dword [0x475890]
mov word [esp + 0x48], cx
mov ecx, dword [0x47588c]
mov byte [esp + 0x30], al
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], edx
add esp, 0x18
mov dword [esp + 4], 1
mov dword [esp], 0x104
mov dword [esp + 0x10], ecx
lea edx, [eax + 1]
jmp 0x41cfa0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cfa0
lea ecx, [esp + 0x1c]
sub eax, edx
push ecx
mov edx, 0x2c7
call fcn.0041d880
lea eax, [esp + 0xc]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cfc2
sub eax, edx
lea edx, [esp + 8]
push edx
mov edx, 0x2c7
call fcn.0041d880
add esp, 4
lea eax, [esp]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xc]
push edx
push str.path
lea eax, [esp + 0x2c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41d04c
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x41d04c
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41d04c
mov eax, 1
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x240
ret
mov ecx, dword [esp + 0x23c]
xor ecx, esp
xor eax, eax
call fcn.0044b6ee
add esp, 0x240
ret
Function at 0x41d070
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x130
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x12c], eax
push 0x103
lea eax, [esp + 0x2d]
push 0
push eax
mov byte [esp + 0x34], 0
call fcn.0044e9d0
mov eax, dword [0x4758a8]
mov edx, dword [0x4758a4]
mov ecx, dword [0x4758a0]
mov dword [esp + 0x28], eax
mov eax, dword [0x4758b4]
mov dword [esp + 0x24], edx
mov edx, dword [0x4758b0]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4758ac]
mov dword [esp + 0x14], eax
mov al, byte [0x4758be]
mov dword [esp + 0x30], edx
mov dx, word [0x4758bc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x4758b8]
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
mov word [esp + 0x1c], dx
add esp, 0xc
mov dword [esp + 4], 1
mov dword [esp], 0x104
mov dword [esp + 0xc], ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d110
lea ecx, [esp + 0x14]
sub eax, edx
push ecx
mov edx, 0x340b
call fcn.0041d880
lea eax, [esp + 0xc]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d132
sub eax, edx
lea edx, [esp + 8]
push edx
mov edx, 0x340b
call fcn.0041d880
add esp, 4
lea eax, [esp]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xc]
push edx
push str.installpath
lea eax, [esp + 0x24]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41d1b4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x41d1b4
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41d1b4
mov eax, 1
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x130
ret
mov ecx, dword [esp + 0x12c]
xor ecx, esp
xor eax, eax
call fcn.0044b6ee
add esp, 0x130
ret
Function at 0x41d1d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4758cc]
mov dx, word [0x4758d4]
mov ecx, dword [0x4758d0]
mov dword [ebp - 0x10], eax
mov al, byte [0x4758d6]
push ebx
mov byte [ebp - 6], al
push esi
lea eax, [ebp - 0x10]
mov word [ebp - 8], dx
push edi
mov dword [ebp - 0xc], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d210
lea ecx, [ebp - 0x10]
sub eax, edx
push ecx
mov edx, 0x340b
call fcn.0041d880
mov edx, dword [0x4758d8]
mov eax, dword [0x4758dc]
mov ecx, dword [0x4758e0]
mov dword [ebp - 0x20], edx
mov dl, byte [0x4758e4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
add esp, 4
mov byte [ebp - 0x14], dl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41d253
sub eax, ecx
lea ecx, [ebp - 0x20]
push ecx
mov edx, 0x340b
call fcn.0041d880
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0x22c
call ebx
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41d2c6
lea eax, [esi + esi]
call fcn.00457700
mov edi, esp
test edi, edi
je 0x41d2c6
push esi
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
xor eax, eax
push ecx
push eax
push 3
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x41d2c8
xor esi, esi
lea edx, [ebp - 0x20]
push edx
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x41d2fd
lea eax, [edi + edi]
call fcn.00457700
mov eax, esp
test eax, eax
je 0x41d2fd
push edi
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x20]
xor ecx, ecx
push edx
push ecx
push 3
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41d356
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41d34f
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push esi
lea ecx, [ebp - 0x228]
push ecx
call ebx
test eax, eax
je 0x41d345
lea edx, [ebp - 0x24c]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d324
jmp 0x41d34f
mov dword [ebp - 0x250], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x250]
lea esp, [ebp - 0x25c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret
Function at 0x41d380
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x128], eax
push 0x103
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.0044e9d0
mov edx, dword [0x4758ec]
mov ecx, dword [0x4758e8]
mov eax, dword [0x4758f0]
mov dword [esp + 0x24], edx
mov edx, dword [0x4758f8]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4758f4]
mov dword [esp + 0x28], eax
mov eax, dword [0x4758fc]
mov dword [esp + 0x14], edx
mov dl, byte [0x475902]
mov dword [esp + 0x2c], ecx
mov cx, word [0x475900]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x1e], dl
add esp, 0xc
mov dword [esp + 4], 1
mov dword [esp], 0x104
mov word [esp + 0x10], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d413
lea ecx, [esp + 0x14]
sub eax, edx
push ecx
mov edx, 0x237f
call fcn.0041d880
lea eax, [esp + 0xc]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d435
push ebx
push esi
sub eax, edx
lea edx, [esp + 0x10]
push edi
push edx
mov edx, 0x237f
call fcn.0041d880
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
push str.Install_Path_Dir
lea eax, [esp + 0x30]
push eax
push 0x80000002
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41d4c4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
mov eax, edx
push eax
call edi
test eax, eax
je 0x41d4c4
lea ecx, [esp + 0x30]
push ecx
call ebx
test eax, eax
je 0x41d4c4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x12c
ret
push 0x104
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0044e9d0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
push str.ProgramPath
lea eax, [esp + 0x30]
push eax
push 0x80000002
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call esi
test eax, eax
jne 0x41d52e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
mov eax, edx
push eax
call edi
test eax, eax
je 0x41d52e
lea ecx, [esp + 0x30]
push ecx
call ebx
test eax, eax
jne 0x41d4a7
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044b6ee
add esp, 0x12c
ret
Function at 0x41d550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4758f8]
mov dx, word [0x475900]
mov ecx, dword [0x4758fc]
mov dword [ebp - 0x10], eax
mov al, byte [0x475902]
push ebx
mov byte [ebp - 6], al
push esi
lea eax, [ebp - 0x10]
mov word [ebp - 8], dx
push edi
mov dword [ebp - 0xc], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d590
lea ecx, [ebp - 0x10]
sub eax, edx
push ecx
mov edx, 0x237f
call fcn.0041d880
mov edx, dword [0x475918]
mov eax, dword [0x47591c]
mov ecx, dword [0x475920]
mov dword [ebp - 0x20], edx
mov dx, word [0x475924]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
add esp, 4
mov word [ebp - 0x14], dx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41d5d5
sub eax, ecx
lea ecx, [ebp - 0x20]
push ecx
mov edx, 0x1586a
call fcn.0041d880
add esp, 4
lea edx, [ebp - 0x10]
xor edi, edi
push edx
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x24c], 0x22c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41d646
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41d644
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
jmp 0x41d646
xor edi, edi
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41d689
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41d689
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
jmp 0x41d68b
xor esi, esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x250], ebx
cmp ebx, 0xffffffff
je 0x41d704
lea edx, [ebp - 0x24c]
push edx
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41d6fd
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push esi
lea eax, [ebp - 0x228]
push eax
call ebx
test eax, eax
je 0x41d6ed
push edi
lea ecx, [ebp - 0x228]
push ecx
call ebx
test eax, eax
je 0x41d6ed
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d6b8
jmp 0x41d6f7
mov dword [ebp - 0x254], 1
mov ebx, dword [ebp - 0x250]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret