joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d6d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d424c
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x237f
lea eax, [ebp - 0x24]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046c9da
mov esi, 0x4d425c
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046c9da
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46d766
and dword [ebp - 0x254], 0
jmp 0x46d783
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b487
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46d794
xor ebx, ebx
jmp 0x46d7ad
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b487
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46d81f
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46d818
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46d80e
cmp dword [ebp + 8], 0
jne 0x46d7fb
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46d80e
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46d7d4
jmp 0x46d818
mov dword [ebp - 0x258], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004755ea
leave
ret
Function at 0x46d83a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d42e0
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x849
lea eax, [ebp - 0x10]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046c9da
mov esi, 0x4d42ec
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046c9da
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46d8ce
and dword [ebp - 0x250], 0
jmp 0x46d8eb
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040b487
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46d8fc
xor ebx, ebx
jmp 0x46d915
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b487
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46d987
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46d980
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46d976
cmp dword [ebp + 8], 0
jne 0x46d963
push ebx
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46d976
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46d93c
jmp 0x46d980
mov dword [ebp - 0x254], 1
push edi
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.004755ea
leave
ret
Function at 0x46d9a2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d430c
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x10]
push 0x237f
push eax
movsb byte es:[edi], byte [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046c9da
mov esi, 0x4d4318
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push 0x1586a
push eax
movsw word es:[edi], word [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046c9da
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46da3c
and dword [ebp - 0x250], 0
jmp 0x46da59
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040b487
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46da6a
xor ebx, ebx
jmp 0x46da83
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b487
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46daf5
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46daee
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ebx
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46dae4
cmp dword [ebp + 8], 0
jne 0x46dad1
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46dae4
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46daaa
jmp 0x46daee
mov dword [ebp - 0x254], 1
push edi
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.004755ea
leave
ret
Function at 0x46db10
Capabilities:
Accept command line arguments
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xbc], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.00475570
add esp, 0xc
push 0xb
pop ecx
lea eax, [ebp + 0x90]
push 0x1586a
mov esi, 0x4d4328
lea edi, [ebp + 0x90]
push eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
rep movsd dword es:[edi], dword [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp + 0x90]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ImagePath
lea eax, [ebp + 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x46dbca
xor eax, eax
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.004755ea
add ebp, 0xc0
leave
ret
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x46dbe3
xor eax, eax
jmp 0x46dbfa
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0040b487
and dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x46dbab
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
jne 0x46dc28
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x46dbad
inc edi
jmp 0x46dc1d
Function at 0x46dc4d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d43b4
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x237f
lea eax, [ebp - 0x24]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046c9da
mov esi, 0x4d43e4
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x14]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046c9da
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46dce4
and dword [ebp - 0x254], 0
jmp 0x46dd01
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b487
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46dd12
xor ebx, ebx
jmp 0x46dd2b
lea eax, [esi + esi]
call fcn.0047be80
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b487
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46dd9d
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46dd96
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46dd8c
cmp dword [ebp + 8], 0
jne 0x46dd79
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46dd8c
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46dd52
jmp 0x46dd96
mov dword [ebp - 0x258], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004755ea
leave
ret
Function at 0x46ddb8
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x223]
push ebx
push eax
mov byte [ebp - 0x224], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x327]
push ebx
push eax
mov byte [ebp - 0x328], bl
call fcn.00475570
add esp, 0x24
push ebx
push 0x26
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x46decf
push edi
mov esi, 0x4d4244
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x4d424c
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x237f
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.0040b427
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
leave
ret
Function at 0x46df01
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp - 0x35b]
push edi
push eax
mov byte [ebp - 0x35c], 0
call fcn.00475570
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.00475570
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.00475570
add esp, 0x24
push edi
push 0x26
lea eax, [ebp - 0x35c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x46e0b1
push ebx
push 7
pop ecx
push 9
mov esi, 0x4d42a0
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x4d42bc
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d4288
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x844
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x35c]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b427
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46e047
xor eax, eax
inc eax
jmp 0x46e0b0
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00475570
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.00475570
add esp, 0x18
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b427
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004755ea
leave
ret
Function at 0x46e0e3
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00475570
add esp, 0x24
push 5
pop ecx
mov esi, 0x4d439c
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x4d43d0]
mov esi, 0x4d43b4
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x4d43c4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d43d4]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c9da
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c9da
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x46e225
xor eax, eax
jmp 0x46e28d
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x46e221
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0040b399
add esp, 0x18
test eax, eax
jl 0x46e221
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
leave
ret
Function at 0x46e2b8
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00475570
add esp, 0x24
push 5
pop ecx
mov esi, 0x4d43f4
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x4d43d0]
mov esi, 0x4d440c
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x4d43c4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d43d4]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c9da
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c9da
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x46e3fa
xor eax, eax
jmp 0x46e462
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x46e3f6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0040b399
add esp, 0x18
test eax, eax
jl 0x46e3f6
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
leave
ret
Function at 0x46e48d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.00475570
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.00475570
add esp, 0x24
push 7
pop ecx
mov esi, 0x4d442c
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d4448
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4d43d0]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x4d43c4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d43d4]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c9da
add esp, 0xc
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004769e0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c9da
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
je 0x46e5cd
xor eax, eax
jmp 0x46e635
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
jne 0x46e5c9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x354]
push eax
push str._s_s_s
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0040b399
add esp, 0x18
test eax, eax
jl 0x46e5c9
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
leave
ret