joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4209f6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e4
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x7e0]
xor edi, edi
push eax
push 0x20019
push edi
push str.SoftwareFTPWareCoreFTPSites
push SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x420a38
xor eax, eax
jmp 0x420abe
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x7dc]
mov esi, edi
push eax
lea eax, [ebp - 0x3f0]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x420a99
lea eax, [ebp - 0x3f0]
push eax
push str.SoftwareFTPWareCoreFTPSites_s
lea eax, [ebp - 0x7d8]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x7d8]
mov ecx, ebx
push eax
call fcn.00420856
inc esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0x3f0]
push eax
push esi
push dword [ebp - 0x7e0]
mov dword [ebp - 0x7dc], 0x400
call edi
test eax, eax
je 0x420a55
push dword [ebp - 0x7e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x421938
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x23a0
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 - 0x2393]
push edi
xor ebx, ebx
mov edi, ecx
push 0x1387
push ebx
push eax
mov byte [ebp - 0x2394], bl
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x80c], bl
mov ebx, 0x3ff
lea eax, [ebp - 0x80b]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x40c], 0
lea eax, [ebp - 0x40b]
push ebx
xor ebx, ebx
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x2394]
push esi
push str.SoftwareMartin_PrikrylWinSCP_2Sessions_s
mov esi, 0x400
push esi
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x239c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x2394]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421b0f
lea eax, [ebp - 0x2398]
mov dword [ebp - 0x2398], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x23a0]
push eax
push ebx
push str.HostName
push dword [ebp - 0x239c]
call esi
lea eax, [ebp - 0x2398]
mov dword [ebp - 0x2398], 0x400
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x23a0]
push eax
push ebx
push str.UserName
push dword [ebp - 0x239c]
call esi
lea eax, [ebp - 0x2398]
mov dword [ebp - 0x2398], 0x400
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x23a0]
push eax
push ebx
push str.Password
push dword [ebp - 0x239c]
call esi
push dword [ebp - 0x239c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x80c]
push eax
call fcn.00643470
xor esi, esi
inc esi
pop ecx
cmp eax, esi
jb 0x421b0f
lea eax, [ebp - 0x40c]
push eax
call fcn.00643470
pop ecx
cmp eax, esi
jb 0x421b0f
lea eax, [ebp - 0xc0c]
push eax
call fcn.00643470
pop ecx
cmp eax, esi
jb 0x421b0f
push ecx
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc0c]
push eax
lea edx, [ebp - 0x40c]
lea ecx, [ebp - 0x80c]
call fcn.00421388
add esp, 0xc
cmp eax, esi
jne 0x421b0b
push 0xffffffffffffffff
mov edx, 0x6c5bb9
lea eax, [ebp - 0x100c]
push edx
push eax
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x80c]
push ecx
push edx
push 0x136
push 4
mov ecx, edi
call fcn.0043ee6b
mov eax, esi
jmp 0x421b11
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
Function at 0x421b22
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x410]
xor edi, edi
push eax
push 0x20019
push edi
push str.SoftwareMartin_PrikrylWinSCP_2Sessions
push SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x421b61
xor eax, eax
jmp 0x421bc7
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x40c]
mov esi, edi
push eax
lea eax, [ebp - 0x408]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x421ba2
lea eax, [ebp - 0x408]
mov ecx, ebx
push eax
call fcn.00421938
inc esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], 0x400
call edi
test eax, eax
je 0x421b7e
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret

Function at 0x421bd6
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.nchkqxllib
mov dword [ebp - 0x3f8], edx
lea edi, [ebp - 0x3ec]
mov ebx, ecx
push 0x3dd
lea eax, [ebp - 0x3e1]
movsd dword es:[edi], dword [esi]
push 0
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x3f4]
xor esi, esi
inc esi
push 0
push esi
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x421cd1
lea eax, [ebp - 0x3f0]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x3f4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x421cd1
lea eax, [ebp - 0x3ec]
push 0
push eax
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x421cd1
lea eax, [ebp - 0x3fc]
push eax
push esi
push dword [ebp - 0x3f0]
push 0x6801
push dword [ebp - 0x3f4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x421cd1
lea eax, [ebp - 0x3f8]
push eax
push ebx
push 0
push esi
push 0
push dword [ebp - 0x3fc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x421cd1
mov ecx, dword [ebp - 0x3f8]
mov eax, esi
mov byte [ecx + ebx], 0
jmp 0x421cd9
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
Function at 0x421ce8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x807]
mov esi, 0x3ff
mov byte [ebp - 0x808], 0
push esi
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xc08], 0
lea eax, [ebp - 0xc07]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x408], 0
lea eax, [ebp - 0x407]
push esi
push 0
push eax
call fcn.006390b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xc0c]
add esp, 0xc
mov dword [ebp - 0xc0c], 0x3e8
push eax
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0xc10]
push eax
push 0
push str.Server
push edi
call esi
lea eax, [ebp - 0xc0c]
mov dword [ebp - 0xc0c], 0x400
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0xc10]
push eax
push 0
push str.UserName
push edi
call esi
lea eax, [ebp - 0xc0c]
mov dword [ebp - 0xc0c], 0x400
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0xc10]
push eax
push 0
push str._Password
push edi
call esi
test eax, eax
jne 0x421e22
mov edx, dword [ebp - 0xc0c]
test edx, edx
je 0x421e22
lea ecx, [ebp - 0x408]
call fcn.00421bd6
test eax, eax
je 0x421e22
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0x408]
push ecx
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0xc08]
push eax
push ecx
push 0x13a
push 4
mov ecx, ebx
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x421e24
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 8
Function at 0x4223ca
Capabilities:
Encrypt or decrypt via wincrypt
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3314
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x7ef]
push edi
mov ebx, 0x3ff
mov byte [ebp - 0x7f0], 0
push ebx
push 0
push eax
mov edi, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbf0], 0
lea eax, [ebp - 0xbef]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov dword [ebp - 0x3304], 0x2710
lea eax, [ebp - 0x3304]
push eax
lea eax, [ebp - 0x3300]
push eax
lea eax, [ebp - 0x3314]
push eax
push 0
push str.Cust
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4225a1
cmp dword [ebp - 0x3304], 0x5a0
jb 0x4225a1
lea eax, [ebp - 0x31fc]
mov ebx, 0x6c7474
push eax
push ebx
mov esi, 0x400
lea eax, [ebp - 0xbf0]
push esi
push eax
call fcn.00402e0a
lea eax, [ebp - 0x30f8]
push eax
push ebx
lea eax, [ebp - 0x7f0]
push esi
push eax
call fcn.00402e0a
add esp, 0x20
lea eax, [ebp - 0x330c]
xor ebx, ebx
push ebx
push 1
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x42259b
mov esi, dword [ebp - 0x30a8]
cmp esi, dword [ebp - 0x3304]
ja 0x4225a1
cmp esi, 1
jb 0x4225a1
lea eax, [ebp - 0x3310]
push eax
push ebx
push ebx
push esi
lea eax, [ebp - 0x30a4]
push eax
push dword [ebp - 0x330c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x42259b
lea eax, [esi + 0x25c]
cmp dword [ebp - 0x3304], eax
jb 0x42259b
mov eax, dword [ebp - 0x2d60]
sub eax, esi
sub eax, 4
push eax
mov dword [ebp - 0x3308], eax
lea eax, [ebp - 0x30a4]
add eax, esi
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.00638b30
add esp, 0xc
lea eax, [ebp - 0x3308]
push eax
lea eax, [ebp - 0x3f0]
push eax
push ebx
push 1
push ebx
push dword [ebp - 0x3310]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x42259b
mov eax, dword [ebp - 0x3308]
cmp eax, 0x3e8
jae 0x4225b4
push 0xffffffffffffffff
mov edx, 0x6c5bb9
mov byte [ebp + eax - 0x3f0], bl
push edx
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x7f0]
push ecx
lea ecx, [ebp - 0xbf0]
push ecx
push edx
push 0x139
push 4
mov ecx, edi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x4225a3
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 8
call fcn.00612782
int3
Function at 0x4225ba
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc1c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 8
mov dword [ebp - 0xc18], ecx
lea eax, [ebp - 0x3e8]
pop ecx
push 0x3e0
xor ebx, ebx
lea edi, [ebp - 0x408]
mov esi, str.SoftwareEmurasoftEmftpConfig
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0xc10]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x408]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x422627
xor eax, eax
jmp 0x4226ff
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc0c]
mov dword [ebp - 0xc0c], 0x400
push eax
lea eax, [ebp - 0x808]
mov edi, ebx
push eax
push ebx
push dword [ebp - 0xc10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4226ec
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x6c643c
lea eax, [ebp - 0xc08]
push 0x400
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xc14]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xc08]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4226c4
push ecx
push dword [ebp - 0xc14]
mov ecx, dword [ebp - 0xc18]
call fcn.004223ca
push dword [ebp - 0xc14]
call esi
xor eax, eax
mov dword [ebp - 0xc0c], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xc0c]
inc edi
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push dword [ebp - 0xc10]
call ebx
test eax, eax
je 0x42265f
push dword [ebp - 0xc10]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret

Function at 0x42270e
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x14
push eax
xor esi, esi
mov edi, edx
push esi
push esi
push 0x8004
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x422786
push esi
push dword [ebp + 8]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42277d
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push esi
push eax
push ebx
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42277c
mov edi, dword [ebp - 8]
shr edi, 2
test edi, edi
je 0x42277c
push dword [ebx + esi*4]
call fcn.00648fd5
mov dword [ebx + esi*4], eax
inc esi
pop ecx
cmp esi, edi
jb 0x42276b
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
pop edi
pop esi
leave
ret
Function at 0x422860
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, 0xfe0
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push esi
call fcn.00643470
cmp byte [esi], 0x30
pop ecx
jne 0x422a24
cmp byte [esi + 1], 0x43
jne 0x422a24
push 0x3a
push esi
call fcn.006393d0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x422a24
lea ecx, [esi + 2]
mov byte [edi], 0
push ecx
mov esi, 0x3e8
lea eax, [ebp - 0x7d4]
push esi
push eax
call fcn.006494f3
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xbbc]
push esi
push eax
call fcn.006494f3
lea edx, [ebp - 0xfa4]
lea ecx, [ebp - 0x7d4]
call fcn.00404638
lea eax, [ebp - 0x7d4]
push eax
call fcn.00643470
lea edx, [ebp - 0x3ec]
lea ecx, [ebp - 0xbbc]
call fcn.00404638
lea eax, [ebp - 0xbbc]
push eax
call fcn.00643470
add esp, 0x20
mov edi, eax
lea eax, [ebp - 0xfd8]
shr edi, 1
push 0xf0000000
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x422a1e
mov ecx, dword [ebp - 0xfd8]
lea edx, [ebp - 0xfc4]
mov dword [ebp - 0xfd0], 0x208
mov dword [ebp - 0xfcc], 0x6610
mov dword [ebp - 0xfc8], 0x20
call fcn.0042278a
lea eax, [ebp - 0xfd4]
push eax
push 0
push 0
push 0x2c
lea eax, [ebp - 0xfd0]
push eax
push dword [ebp - 0xfd8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x422a1e
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea eax, [ebp - 0xfe0]
push 0
push eax
push 4
push dword [ebp - 0xfd4]
mov dword [ebp - 0xfe0], 1
call esi
test eax, eax
je 0x422a1e
push 0
lea eax, [ebp - 0xfa4]
push eax
push 1
push dword [ebp - 0xfd4]
call esi
test eax, eax
je 0x422a1e
lea eax, [ebp - 0xfdc]
mov dword [ebp - 0xfdc], edi
push eax
lea eax, [ebp - 0x3ec]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0xfd4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x422a1e
mov ecx, dword [ebp - 0xfdc]
mov eax, 0x3e8
cmp ecx, eax
jae 0x422a35
mov byte [ebp + ecx - 0x3ec], 0
lea ecx, [ebp - 0x3ec]
push ecx
push eax
push ebx
call fcn.006494f3
xor eax, eax
add esp, 0xc
inc eax
jmp 0x422a26
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 0x422a3b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc07]
mov esi, 0x3ff
mov byte [ebp - 0xc08], 0
push esi
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x408], 0
lea eax, [ebp - 0x407]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x1008], 0
lea eax, [ebp - 0x1007]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x808], 0
lea eax, [ebp - 0x807]
push esi
push 0
push eax
call fcn.006390b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x100c]
add esp, 0xc
mov dword [ebp - 0x100c], 0x3e8
push eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push str.HostAdrs
push edi
call esi
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x400
push eax
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push str.UserName
push edi
call esi
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x400
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push str.Password
push edi
call esi
test eax, eax
jne 0x422b91
cmp dword [ebp - 0x100c], eax
jbe 0x422b91
lea edx, [ebp - 0x808]
lea ecx, [ebp - 0x408]
call fcn.00422860
test eax, eax
je 0x422b91
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0x808]
push ecx
push eax
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x1008]
push eax
push ecx
push 0x13e
push 4
mov ecx, ebx
call fcn.0043ee6b
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.006122f0
leave
ret 8
Function at 0x422ba5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc1c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
mov dword [ebp - 0xc18], ecx
lea eax, [ebp - 0x3ec]
pop ecx
push 0x3e4
xor ebx, ebx
lea edi, [ebp - 0x408]
mov esi, str.SoftwareSotaFFFTPOptions
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0xc10]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x408]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x422c12
xor eax, eax
jmp 0x422cea
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc0c]
mov dword [ebp - 0xc0c], 0x400
push eax
lea eax, [ebp - 0x808]
mov edi, ebx
push eax
push ebx
push dword [ebp - 0xc10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422cd7
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x6c643c
lea eax, [ebp - 0xc08]
push 0x400
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xc14]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xc08]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422caf
push ecx
push dword [ebp - 0xc14]
mov ecx, dword [ebp - 0xc18]
call fcn.00422a3b
push dword [ebp - 0xc14]
call esi
xor eax, eax
mov dword [ebp - 0xc0c], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xc0c]
inc edi
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push dword [ebp - 0xc10]
call ebx
test eax, eax
je 0x422c4a
push dword [ebp - 0xc10]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x423202
Capabilities:
Enumerate files on windows
Gather cuteftp information
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12f4
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
mov ebx, ecx
lea edi, [ebp - 0x5f8]
pop ecx
mov esi, str.GlobalscapeCuteFTP
lea eax, [ebp - 0x5e4]
rep movsd dword es:[edi], dword [esi]
push 0x3d4
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x11b0]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x423268
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x42334a
lea eax, [ebp - 0x5f8]
mov edi, 0x3e8
push eax
lea eax, [ebp - 0x11b0]
push eax
push 0x6c643c
lea eax, [ebp - 0x9e0]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x9e0]
mov esi, 0x208
push eax
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x6c7624
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0x12f0]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x423261
test byte [ebp - 0x12f0], 0x10
je 0x42332e
cmp byte [ebp - 0x12c4], 0x2e
je 0x42332e
lea eax, [ebp - 0x12c4]
push eax
lea eax, [ebp - 0x9e0]
push eax
push str._s_s_sm.dat
lea eax, [ebp - 0xdc8]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0xdc8]
call fcn.00405670
test eax, eax
je 0x42332e
lea eax, [ebp - 0xdc8]
mov ecx, ebx
push eax
call fcn.00422e42
lea eax, [ebp - 0x12f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4232dc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x42369d
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x470], 0x6f2825f5
push 4
pop ebx
mov dword [ebp - 0x478], eax
mov edi, edx
mov dword [ebp - 0x47c], eax
mov esi, ecx
push ebx
lea eax, [ebp - 0x470]
mov dword [ebp - 0x474], 0x7d
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00638b30
push ebx
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00638b30
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00638b30
push ebx
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00638b30
push esi
lea eax, [ebp - 0x450]
push 0x3e8
push eax
call fcn.006494f3
lea ecx, [ebp - 0x450]
call fcn.004045f9
push 0x10
mov esi, eax
mov dword [ebp - 0x46c], 0x208
pop eax
push eax
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x468], 0x6801
push eax
call fcn.00638b30
add esp, 0x48
lea eax, [ebp - 0x480]
xor ebx, ebx
push 0xf0000000
push 1
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4237f4
lea eax, [ebp - 0x488]
push eax
push ebx
push ebx
push 0x1c
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x4237f4
lea eax, [ebp - 0x484]
mov dword [ebp - 0x484], esi
push eax
lea eax, [ebp - 0x450]
push eax
push ebx
push 1
push ebx
push dword [ebp - 0x488]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x4237f4
push ebx
push ebx
push 0x3e8
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x450]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
inc eax
jmp 0x4237fc
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