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

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4f2be0]
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.0040552f
push 5
xor ecx, ecx
pop eax
mov edx, ebx
call fcn.0040552f
push 0x12
xor ecx, ecx
pop eax
mov edx, esi
call fcn.0040552f
mov edx, dword [ebp - 0x74]
push 0x11
xor ecx, ecx
pop eax
call fcn.0040552f
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 0x405fc1
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0047c768
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 0x405faa
lea eax, [ebp + 0x94]
push eax
call edi
test eax, eax
je 0x405faa
xor eax, eax
inc eax
jmp 0x405fc3
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
je 0x405fc1
lea eax, [ebp - 0x70]
push eax
call edi
test eax, eax
jne 0x405fa5
xor eax, eax
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.00474a8a
add ebp, 0x19c
leave
ret
Function at 0x4060cb
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a8
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x4d3070
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.0040552f
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 0x40615d
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40615d
xor eax, eax
inc eax
jmp 0x406268
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00474a10
push 0xf
pop ecx
lea eax, [ebp + 0x1c]
mov esi, 0x4d3098
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.00475e30
add esp, 0x10
mov ecx, 0xd3c
lea edx, [ebp + 0x1c]
call fcn.0040552f
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4d2ec2
lea eax, [ebp + 0x1c]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4061e4
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x406155
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00474a10
add esp, 0xc
push 0xf
pop ecx
mov esi, 0x4d30d4
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.0040552f
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4d2ec2
lea eax, [ebp - 0x24]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x406266
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x406155
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x78
leave
ret
Function at 0x40627a
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 [0x4f2be0]
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 0x40643d
mov esi, 0x4d3114
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, 0x4d3128
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.0040552f
push 0xe
mov ecx, esi
pop eax
lea edx, [ebp - 0x14]
call fcn.0040552f
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 0x40630b
and dword [ebp - 0x89c], 0
jmp 0x406328
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0040b49a
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x40633e
and dword [ebp - 0x898], 0
jmp 0x40635b
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b49a
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 0x4d3138
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 0x406437
test byte [ebp - 0x890], 0x10
je 0x406412
cmp word [ebp - 0x864], 0x2e
jne 0x4063db
cmp word [ebp - 0x862], 0
je 0x406412
cmp word [ebp - 0x862], 0x2e
jne 0x4063db
cmp word [ebp - 0x860], 0
je 0x406412
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 0x406426
lea eax, [ebp - 0x890]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4063aa
jmp 0x406430
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.00474a8a
leave
ret
Function at 0x406541
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4f2be0]
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.00474a10
push 7
pop ecx
mov esi, 0x4d318c
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d31a8
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.00475e30
mov ecx, 0x837
lea edx, [ebp - 0x2c]
call fcn.0040552f
lea eax, [ebp - 0x10]
push eax
call fcn.00475e30
add esp, 0x14
mov ecx, 0x844
lea edx, [ebp - 0x10]
call fcn.0040552f
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 0x406626
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 0x406626
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x406626
xor eax, eax
inc eax
jmp 0x406628
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x406634
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 [0x4f2be0]
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.00474a10
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.00474a10
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.00474a10
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 0x4067d8
push ebx
push 7
pop ecx
mov esi, 0x4d31c0
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
mov esi, 0x4d31dc
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d31a8
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.00475e30
mov esi, 0x844
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.0040552f
lea eax, [ebp - 0x50]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x50]
call fcn.0040552f
lea eax, [ebp - 0x10]
push eax
call fcn.00475e30
add esp, 0xc
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.0040552f
lea eax, [ebp - 0x35c]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b43a
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 0x40676e
xor eax, eax
inc eax
jmp 0x4067d7
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00474a10
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.00474a10
add esp, 0x18
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b43a
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.00474a8a
leave
ret
Function at 0x4068de
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4f2be0]
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.00474a10
push 8
pop ecx
mov esi, 0x4d3280
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d32a0
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.00475e30
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x38]
call fcn.0040552f
lea eax, [ebp - 0x18]
push eax
call fcn.00475e30
add esp, 0x14
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.0040552f
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 0x4069c4
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 0x4069c4
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4069c4
xor eax, eax
inc eax
jmp 0x4069c6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x4069d2
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4f2be0]
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.00474a10
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00474a10
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00474a10
push 5
pop ecx
mov esi, 0x4d32bc
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 [0x4d32f0]
mov esi, 0x4d32d4
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, 0x4d32e4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d32f4]
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.00475e30
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.0040552f
lea eax, [ebp - 0x28]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.0040552f
lea eax, [ebp - 0x18]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.0040552f
lea eax, [ebp - 0xc]
push eax
call fcn.00475e30
add esp, 0x34
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.0040552f
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 0x406b00
xor eax, eax
jmp 0x406b68
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 0x406afc
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.0040b3ac
add esp, 0x18
test eax, eax
jl 0x406afc
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.00474a8a
leave
ret
Function at 0x406c69
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4f2be0]
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.00474a10
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00474a10
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00474a10
push 5
pop ecx
mov esi, 0x4d3314
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 [0x4d32f0]
mov esi, 0x4d332c
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, 0x4d32e4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d32f4]
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.00475e30
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.0040552f
lea eax, [ebp - 0x28]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.0040552f
lea eax, [ebp - 0x18]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.0040552f
lea eax, [ebp - 0xc]
push eax
call fcn.00475e30
add esp, 0x34
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.0040552f
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 0x406d97
xor eax, eax
jmp 0x406dff
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 0x406d93
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.0040b3ac
add esp, 0x18
test eax, eax
jl 0x406d93
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.00474a8a
leave
ret
Function at 0x406f00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4f2be0]
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.00474a10
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.00474a10
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.00474a10
push 7
pop ecx
mov esi, 0x4d334c
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4d32f0]
mov esi, 0x4d3368
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, 0x4d32e4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d32f4]
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.00475e30
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x48]
call fcn.0040552f
lea eax, [ebp - 0x2c]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.0040552f
lea eax, [ebp - 0x18]
push eax
call fcn.00475e30
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.0040552f
lea eax, [ebp - 0xc]
push eax
call fcn.00475e30
add esp, 0x34
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.0040552f
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 0x40702c
xor eax, eax
jmp 0x407094
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 0x407028
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.0040b3ac
add esp, 0x18
test eax, eax
jl 0x407028
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.00474a8a
leave
ret
Function at 0x407142
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4f2be0]
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.00405edb
pop ecx
pop ebx
test eax, eax
je 0x4072a8
xor eax, eax
inc eax
jmp 0x4072bd
push edi
push 0x12
xor ecx, ecx
lea edi, [ebp - 0x48]
call fcn.00406065
neg eax
pop ecx
sbb eax, eax
neg eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret