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

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x74], eax
push 0x14
xor ecx, ecx
pop eax
mov edx, edi
mov dword [ebp - 0x80], esi
call fcn.004054b1
push 5
xor ecx, ecx
pop eax
mov edx, ebx
call fcn.004054b1
push 0x12
xor ecx, ecx
pop eax
mov edx, esi
call fcn.004054b1
mov edx, dword [ebp - 0x74]
push 0x11
xor ecx, ecx
pop eax
call fcn.004054b1
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
mov esi, 0x104
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x7c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x405f43
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0047d018
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp + 0x94]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x405f2c
lea eax, [ebp + 0x94]
push eax
call edi
test eax, eax
je 0x405f2c
xor eax, eax
inc eax
jmp 0x405f45
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
je 0x405f43
lea eax, [ebp - 0x70]
push eax
call edi
test eax, eax
jne 0x405f27
xor eax, eax
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
add ebp, 0x19c
leave
ret
Function at 0x40604d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a8
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x4d33e0
lea edi, [ebp + 0x58]
rep movsd dword es:[edi], dword [esi]
push 0x1a
mov ebx, 0x104
mov ecx, 0xd3a
pop eax
lea edx, [ebp + 0x58]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsw word es:[edi], word [esi]
call fcn.004054b1
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.ExeString
lea eax, [ebp + 0x58]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4060df
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4060df
xor eax, eax
inc eax
jmp 0x4061ea
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00475410
push 0xf
pop ecx
lea eax, [ebp + 0x1c]
mov esi, 0x4d3408
lea edi, [ebp + 0x1c]
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00476880
add esp, 0x10
mov ecx, 0xd3c
lea edx, [ebp + 0x1c]
call fcn.004054b1
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4d3232
lea eax, [ebp + 0x1c]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x406166
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4060d7
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00475410
add esp, 0xc
push 0xf
pop ecx
mov esi, 0x4d3444
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0x3d
mov ecx, 0xd3c
pop eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsb byte es:[edi], byte [esi]
call fcn.004054b1
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4d3232
lea eax, [ebp - 0x24]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4061e8
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4060d7
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
add ebp, 0x78
leave
ret
Function at 0x4061fc
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push eax
push 0x26
lea ecx, [ebp - 0x230]
push ecx
push eax
mov dword [ebp - 0x894], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4063bf
mov esi, 0x4d3484
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]
movsb byte es:[edi], byte [esi]
mov esi, 0x4d3498
lea edi, [ebp - 0x14]
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, 0xd3e
push 0x11
mov ecx, esi
pop eax
lea edx, [ebp - 0x28]
call fcn.004054b1
push 0xe
mov ecx, esi
pop eax
lea edx, [ebp - 0x14]
call fcn.004054b1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x28]
push eax
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x40628d
and dword [ebp - 0x89c], 0
jmp 0x4062aa
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x4062c0
and dword [ebp - 0x898], 0
jmp 0x4062dd
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x898], eax
push dword [ebp - 0x89c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4d34a8
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x640]
push eax
call edi
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4063b9
test byte [ebp - 0x890], 0x10
je 0x406394
cmp word [ebp - 0x864], 0x2e
jne 0x40635d
cmp word [ebp - 0x862], 0
je 0x406394
cmp word [ebp - 0x862], 0x2e
jne 0x40635d
cmp word [ebp - 0x860], 0
je 0x406394
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x438]
push eax
call edi
push dword [ebp - 0x898]
lea eax, [ebp - 0x438]
push eax
call esi
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4063a8
lea eax, [ebp - 0x890]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40632c
jmp 0x4063b2
mov dword [ebp - 0x894], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x894]
lea esp, [ebp - 0x8a8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047548a
leave
ret
Function at 0x4064c3
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov byte [ebp - 0x130], 0
call fcn.00475410
push 7
pop ecx
mov esi, 0x4d34fc
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d3518
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0x104
movsd dword es:[edi], dword [esi]
call fcn.00476880
mov ecx, 0x837
lea edx, [ebp - 0x2c]
call fcn.004054b1
lea eax, [ebp - 0x10]
push eax
call fcn.00476880
add esp, 0x14
mov ecx, 0x844
lea edx, [ebp - 0x10]
call fcn.004054b1
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
push str.ProgramPath
lea eax, [ebp - 0x2c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x4065a8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x4065a8
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4065a8
xor eax, eax
inc eax
jmp 0x4065aa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047548a
leave
ret
Function at 0x4065b6
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.00475410
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.00475410
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.00475410
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 0x40675a
push ebx
push 7
pop ecx
mov esi, 0x4d3530
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
mov esi, 0x4d354c
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d3518
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00476880
mov esi, 0x844
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.004054b1
lea eax, [ebp - 0x50]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x50]
call fcn.004054b1
lea eax, [ebp - 0x10]
push eax
call fcn.00476880
add esp, 0xc
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.004054b1
lea eax, [ebp - 0x35c]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b3f7
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 0x4066f0
xor eax, eax
inc eax
jmp 0x406759
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00475410
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.00475410
add esp, 0x18
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b3f7
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.0047548a
leave
ret
Function at 0x406860
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x13b]
push 0
push eax
mov byte [ebp - 0x13c], 0
call fcn.00475410
push 8
pop ecx
mov esi, 0x4d35f0
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d3610
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x140], 0x104
movsb byte es:[edi], byte [esi]
call fcn.00476880
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x38]
call fcn.004054b1
lea eax, [ebp - 0x18]
push eax
call fcn.00476880
add esp, 0x14
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.004054b1
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
push str.AppPath
lea eax, [ebp - 0x38]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x406946
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x406946
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x406946
xor eax, eax
inc eax
jmp 0x406948
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047548a
leave
ret
Function at 0x406954
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.00475410
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00475410
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00475410
push 5
pop ecx
mov esi, 0x4d362c
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 [0x4d3660]
mov esi, 0x4d3644
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, 0x4d3654
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d3664]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.004054b1
lea eax, [ebp - 0x28]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.004054b1
lea eax, [ebp - 0x18]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.004054b1
lea eax, [ebp - 0xc]
push eax
call fcn.00476880
add esp, 0x34
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.004054b1
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
mov ebx, 0x104
lea eax, [ebp - 0x354]
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
je 0x406a82
xor eax, eax
jmp 0x406aea
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 0x406a7e
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.0040b369
add esp, 0x18
test eax, eax
jl 0x406a7e
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.0047548a
leave
ret
Function at 0x406beb
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.00475410
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00475410
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00475410
push 5
pop ecx
mov esi, 0x4d3684
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 [0x4d3660]
mov esi, 0x4d369c
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, 0x4d3654
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d3664]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.004054b1
lea eax, [ebp - 0x28]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.004054b1
lea eax, [ebp - 0x18]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.004054b1
lea eax, [ebp - 0xc]
push eax
call fcn.00476880
add esp, 0x34
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.004054b1
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
mov ebx, 0x104
lea eax, [ebp - 0x354]
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
je 0x406d19
xor eax, eax
jmp 0x406d81
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 0x406d15
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.0040b369
add esp, 0x18
test eax, eax
jl 0x406d15
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.0047548a
leave
ret
Function at 0x406e82
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.00475410
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.00475410
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.00475410
push 7
pop ecx
mov esi, 0x4d36bc
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4d3660]
mov esi, 0x4d36d8
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x4d3654
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d3664]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x48]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x48]
call fcn.004054b1
lea eax, [ebp - 0x2c]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.004054b1
lea eax, [ebp - 0x18]
push eax
call fcn.00476880
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.004054b1
lea eax, [ebp - 0xc]
push eax
call fcn.00476880
add esp, 0x34
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.004054b1
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x35c]
mov ebx, 0x104
push eax
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x358], ebx
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push eax
lea eax, [ebp - 0x48]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
je 0x406fae
xor eax, eax
jmp 0x407016
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 0x406faa
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.0040b369
add esp, 0x18
test eax, eax
jl 0x406faa
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.0047548a
leave
ret
Function at 0x4070c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 0x5c], 0x79
mov byte [ebp - 0x5b], 0x76
mov byte [ebp - 0x5a], 0x3c
mov byte [ebp - 0x59], 0xd9
mov byte [ebp - 0x58], 0xee
mov byte [ebp - 0x57], 0x56
mov byte [ebp - 0x56], 0xff
mov byte [ebp - 0x55], 0x62
mov byte [ebp - 0x54], 0x2e
mov byte [ebp - 0x53], 0xc6
mov byte [ebp - 0x52], 0x10
mov byte [ebp - 0x51], 0xf8
mov byte [ebp - 0x50], 0xab
mov byte [ebp - 0x4f], 0x69
mov byte [ebp - 0x4e], 0x7c
mov byte [ebp - 0x4d], 0x84
mov byte [ebp - 0x4c], 0x52
mov byte [ebp - 0x4b], 0x13
mov byte [ebp - 0x4a], 0x1a
mov byte [ebp - 0x49], 0x58
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x88
mov byte [ebp - 0xa], 0x6a
mov byte [ebp - 9], 0xed
mov byte [ebp - 8], 0x97
mov byte [ebp - 0x34], 0x58
mov byte [ebp - 0x33], 0x5a
mov byte [ebp - 0x32], 0x2a
mov byte [ebp - 0x31], 0xba
mov byte [ebp - 0x30], 0xe9
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0xfd
mov byte [ebp - 0x2d], 0x8f
mov byte [ebp - 0x2c], 0x41
mov byte [ebp - 0x2b], 8
mov byte [ebp - 0x2a], 0x42
mov byte [ebp - 0x29], 0x27
mov byte [ebp - 0x28], 0xea
mov byte [ebp - 0x27], 0x47
mov byte [ebp - 0x26], 0x9e
mov byte [ebp - 0x25], 0xa9
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0xad
mov byte [ebp - 0x48], 0x58
mov byte [ebp - 0x47], 0x5a
mov byte [ebp - 0x46], 0x2a
mov byte [ebp - 0x45], 0xba
mov byte [ebp - 0x44], 0xe9
mov byte [ebp - 0x43], 0x69
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], 0x8f
mov byte [ebp - 0x40], 0x41
mov byte [ebp - 0x3f], 8
mov byte [ebp - 0x3e], 0x42
mov byte [ebp - 0x3d], 0x27
mov byte [ebp - 0x3c], 0xea
mov byte [ebp - 0x3b], 0x47
mov byte [ebp - 0x3a], 0x9e
mov byte [ebp - 0x39], 0xa9
mov byte [ebp - 0x38], 0x56
mov byte [ebp - 0x37], 0xad
mov byte [ebp - 0x20], 0x58
mov byte [ebp - 0x1f], 0x5a
mov byte [ebp - 0x1e], 0x2a
mov byte [ebp - 0x1d], 0xba
mov byte [ebp - 0x1c], 0xea
mov byte [ebp - 0x1b], 0x76
mov byte [ebp - 0x1a], 0x13
mov byte [ebp - 0x19], 0x82
mov byte [ebp - 0x18], 0x26
mov byte [ebp - 0x17], 6
mov byte [ebp - 0x16], 0x3e
mov byte [ebp - 0x15], 0x3d
mov byte [ebp - 0x14], 0xa4
mov byte [ebp - 0x13], 0x7e
mov byte [ebp - 0x12], 0xb1
mov byte [ebp - 0x11], 0x96
mov byte [ebp - 0x10], 0xf1
push eax
lea edx, [ebp - 0x34]
lea ebx, [ebp - 0xc]
lea ecx, [ebp - 0x5c]
call fcn.00405e5d
pop ecx
pop ebx
test eax, eax
je 0x40722a
xor eax, eax
inc eax
jmp 0x40723f
push edi
push 0x12
xor ecx, ecx
lea edi, [ebp - 0x48]
call fcn.00405fe7
neg eax
pop ecx
sbb eax, eax
neg eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047548a
leave
ret