joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f519
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], 0x77bfa8
mov dword [ebp - 0x9c], 0
mov eax, 0
lea edx, [ebp - 0x9c]
mov ecx, eax
call fcn.0041f459
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov edx, 0
mov ecx, eax
call fcn.0041f459
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x41f660
mov eax, dword [ebp - 0x84]
mov ecx, eax
call fcn.0041f1e3
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov byte [ebp - 0xa4], al
movzx eax, byte [ebp - 0xa4]
movzx eax, al

Function at 0x41f5db
Capabilities:
Terminate process

Disassembly:
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x41f613
movzx eax, byte [ebp - 0xa4]
movzx eax, al
mov edx, 1
add edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x41f613
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov eax, dword [ebp - 0x84]
mov ecx, eax
call fcn.0041f3a8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, 4
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx]
cmp eax, edx
je 0x41f660
mov eax, dword [ebp - 0x44]
mov edx, 4
add edx, dword [ebp - 0x7c]
mov edx, dword [edx]
cmp eax, edx
je 0x41f660
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x60], eax
add esp, 0xfffffff8
mov dword [esp], 0
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LocalAlloc]
call eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x6c], 0
Function at 0x41f642
Capabilities:
Terminate process

Disassembly:
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x41f613
movzx eax, byte [ebp - 0xa4]
movzx eax, al
mov edx, 1
add edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x41f613
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov eax, dword [ebp - 0x84]
mov ecx, eax
call fcn.0041f3a8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, 4
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx]
cmp eax, edx
je 0x41f660
mov eax, dword [ebp - 0x44]
mov edx, 4
add edx, dword [ebp - 0x7c]
mov edx, dword [edx]
cmp eax, edx
je 0x41f660
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x60], eax
add esp, 0xfffffff8
mov dword [esp], 0
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LocalAlloc]
call eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x6c], 0

Function at 0x41f6e7
Capabilities:
Terminate process

Disassembly:
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
add edx, dword [eax]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x74]
mov dword [eax], edx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x6c]

Function at 0x41f712
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x48]
cmp eax, edx
jae 0x41f717
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
jmp 0x41f6cb
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x74]
mov ecx, eax
call fcn.0041f282
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x41f88b
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
invalid
test dword [eax - 1], esp

Function at 0x41f790
Capabilities:
Terminate process

Disassembly:
dec dword [ebx + 0x45891840]
fmul qword [ebx - 0x7afc23bb]
insb byte es:[edi], dx
invalid
Function at 0x41f7c3
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x20]
cmp eax, edx
jae 0x41f7f7
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add edx, dword [eax]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x68]
mov dword [eax], edx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
invalid

Function at 0x41f85c
Capabilities:
Terminate process

Disassembly:
add eax, dword [edx]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 0x68]
mov dword [esp], edx
call eax
add esp, 4
push eax
invalid
add al, 0x24

Function at 0x42081f
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.005627e7
cmp dword [esi + 0x30], ebx
je 0x42091a
lea eax, [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 4], esi
cmp esi, eax
je 0x42090e
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
cmp edi, eax
je 0x42088a
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x420881
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x14]
call fcn.0047a6da
mov edi, dword [eax]
jmp 0x420883
mov edi, dword [edi]
cmp edi, dword [esi + 0x14]
jne 0x420863
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x4208f5
push dword [esi + 0x10]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4208e1
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4208cf
lea ecx, [ebp - 4]
call fcn.005702a2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4208fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
jmp 0x4208e4
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 8]
push esi
push eax
call fcn.00423069
mov esi, dword [eax]
mov dword [ebp - 4], esi
jmp 0x420900
lea ecx, [ebp - 4]
call fcn.005702a2
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp esi, dword [eax]
jne 0x42085a
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
inc ecx
cmp dword [eax + 0x30], ebx
cmove ebx, ecx
mov ecx, edi
call fcn.005627f7
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420ab3
Capabilities:
Enumerate process modules

Disassembly:
push 0x60
mov eax, 0x683841
call fcn.0056e207
mov esi, ecx
and dword [ebp - 0x14], 0
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 0x20], edi
call fcn.005627e7
cmp dword [esi + 0x30], 0
je 0x420c47
lea ecx, [ebp - 0x6c]
call fcn.0056606c
and dword [ebp - 4], 0
lea ebx, [esi + 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x420c3b
mov edi, dword [esi + 0x14]
mov edi, dword [edi]
cmp edi, dword [esi + 0x14]
je 0x420c25
push ecx
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movsd qword [esp], xmm0
call fcn.005660f2
jmp 0x420b39
movsd xmm0, qword [0x6aeaa0]
push 0
push ecx
push ecx
lea ecx, [ebp - 0x6c]
movsd qword [esp], xmm0
call fcn.005663fc
test eax, eax
jne 0x420ba5
push 0
push 0
push 0x12
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x10
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x420b1c
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x14]
call fcn.0047a6da
mov edi, dword [eax]
cmp edi, dword [esi + 0x14]
jne 0x420b08
cmp dword [esi + 0x18], 0
jne 0x420c30
push ecx
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x6c]
movsd qword [esp], xmm0
call fcn.005660f2
jmp 0x420bf1
mov edi, dword [edi]
jmp 0x420b7b
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
and dword [ebp - 0x18], 0
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
push edi
test eax, eax
je 0x420c1a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movsd xmm0, qword [0x6afa10]
push 0
push ecx
push ecx
lea ecx, [ebp - 0x6c]
movsd qword [esp], xmm0
call fcn.005663fc
test eax, eax
jne 0x420c25
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x10]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x420ba9
lea eax, [ebp - 0x2c]
push esi
push eax
mov ecx, ebx
call fcn.00423069
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
jmp 0x420c30
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x28]
jmp 0x420c0a
lea ecx, [ebp - 0x10]
call fcn.005702a2
mov esi, dword [ebp - 0x10]
cmp esi, dword [ebx]
jne 0x420afa
mov edi, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.005660ab
mov ecx, edi
call fcn.005627f7
mov eax, dword [ebp - 0x14]
call fcn.0056e1d0
ret
Function at 0x421766
Capabilities:
Enumerate process modules

Disassembly:
push 0x68
mov eax, 0x68390c
call fcn.0056e23b
mov ebx, ecx
mov dword [ebp - 0x74], ebx
lea edi, [ebx + 4]
mov ecx, edi
call fcn.005627e7
mov esi, dword [ebx + 0x30]
mov ecx, edi
xor ebx, ebx
test esi, esi
setne bl
call fcn.005627f7
test esi, esi
jne 0x4218f9
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x5c]
push 0x1000
call fcn.0041f109
push 0x8000
lea ecx, [ebp - 0x68]
call fcn.0054570b
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x64]
sub eax, ecx
push edx
and eax, 0xfffffffc
push eax
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4218e1
mov esi, dword [ebp - 0x6c]
xor edi, edi
shr esi, 2
test esi, esi
je 0x4218e1
mov eax, dword [ebp - 0x68]
push dword [eax + edi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4218d4
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x70]
and dword [ebp - 0x70], 0
push ecx
push 4
lea ecx, [ebp - 0x4c]
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4218cb
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x5c]
sar eax, 1
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4218cb
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push dword [ebp - 0x5c]
call fcn.00565361
add esp, 0x14
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041dfd7
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [edx]
push ecx
push 0
mov ecx, edx
call dword [eax + 0x20]
test eax, eax
push 1
pop eax
cmovne ebx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.0041786a
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2c]
call fcn.0041786a
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4218e1
inc edi
cmp edi, esi
jb 0x4217fd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0041f0e1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.0058226f
mov eax, ebx
call fcn.0056e1e5
ret

Function at 0x422869
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
cmp dword [ebx + 0x20], edi
je 0x4228b7
cmp dword [ebx + 0x24], edi
jne 0x4228b7
push ecx
push ecx
xorps xmm0, xmm0
mov ecx, 0x795ef0
movsd qword [esp], xmm0
call fcn.005660f2
push edi
push edi
push ebx
push 0x422b6d
push edi
push edi
mov dword [ebx + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push ebx
push 0x422b04
push edi
push edi
mov dword [ebx + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x28], eax
inc edi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x42820b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x6b11f0
mov ecx, edi
call fcn.004044d0
mov ecx, dword [ebp + 8]
cmp ecx, 0x19
ja 0x4282ac
mov eax, dword [0x6b11f4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x6b11f8]
mov dword [ebp - 8], eax
lea eax, [ecx + 0x41]
push 0x208
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00644240
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push esi
push esi
push esi
push esi
push 0x104
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4282ac
cmp word [ebp - 0x218], si
je 0x42829d
lea eax, [ebp - 0x218]
push eax
call fcn.00647fd1
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.004044d0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret

Function at 0x4282bf
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x6b11fc
mov ecx, edi
call fcn.004044d0
mov ecx, dword [ebp + 8]
cmp ecx, 0x19
ja 0x428364
mov eax, dword [0x6b1200]
mov dword [ebp - 0xc], eax
mov eax, dword [0x6b1204]
push ebx
mov dword [ebp - 8], eax
mov ebx, 0x2b4
lea eax, [ecx + 0x41]
push ebx
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x2c0]
push esi
push eax
call fcn.00644240
add esp, 0xc
lea eax, [ebp - 0x2c0]
push 0x400
push ebx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebx
test eax, eax
je 0x428364
cmp word [ebp - 0xac], si
je 0x428352
lea eax, [ebp - 0xac]
push eax
call fcn.00647fd1
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xac]
mov ecx, edi
push eax
call fcn.004044d0
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret

Function at 0x42dfb9
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x24
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00644240
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00644240
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x6b2f78
push 0x6b2f8c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
test eax, eax
je 0x42e02e
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x42e03b
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x42e0e6
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
or esi, 0xffffffff
inc edi
mov ebx, ecx
cmp dword [ebp + 0xc], 0
je 0x42e130
call fcn.0042dfb9
xor ecx, ecx
test eax, eax
lea eax, [ebx + 4]
push eax
lea eax, [ebx + 8]
cmovne ecx, edi
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
jne 0x42e12c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x490
jne 0x42e13a
mov esi, edi
jmp 0x42e141
and dword [ebx + 0xc], 0
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 8]
jne 0x42e14a
mov esi, edi
mov ecx, ebx
call fcn.0042e1ed
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
jae 0x42e13a
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov esi, dword [eax + ecx*4]
lea ecx, [edi + 0x1c]
mov eax, dword [esi + 4]
mov dword [edi], eax
mov eax, 0x6b2f3c
cmp dword [esi + 0x30], 0
cmovne eax, dword [esi + 0x30]
push eax
call fcn.004041d0
cmp dword [esi + 8], 0
mov eax, 0x6b2f40
cmovne eax, dword [esi + 8]
add edi, 4
push eax
mov ecx, edi
call fcn.004041d0
mov esi, 0x6b2f44
push esi
call fcn.00647fd1
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.0042c956
cmp eax, 0xffffffff
je 0x42e1e3
mov esi, 0x6b2f54
push esi
call fcn.00647fd1
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.0042c956
test eax, eax
je 0x42e1e3
mov esi, str.target
push esi
call fcn.00647fd1
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.0042c956
add eax, 7
mov ecx, edi
push eax
push 0
call fcn.00401c10
xor esi, esi
inc dword [ebx + 0xc]
jmp 0x42e141

Function at 0x42e683
Capabilities:
Write file on windows

Disassembly:
push 0x50
mov eax, 0x6974b2
call fcn.0056e23b
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
mov esi, dword [ebp + 8]
je 0x42e72c
test esi, esi
je 0x42e72c
lea ecx, [ebp - 0x2c]
call fcn.004173bc
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0055683c
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push esi
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push str.__s___s_r_n
push eax
call fcn.0041ccda
add esp, 0x1c
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ebx
push eax
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
call fcn.0056e1e5
ret 4
Function at 0x435332
Capabilities:
Inspect load icon resource

Disassembly:
push 0x50
mov eax, 0x685ef1
call fcn.0056e23b
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 8], eax
je 0x4354b2
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6c
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push eax
call esi
push eax
push 0x6b
push 0
call edi
push eax
call esi
push eax
push 0xb
xor esi, esi
push esi
push 0x6b41a0
call fcn.00582d3d
add esp, 0x14
test eax, eax
je 0x4354b0
mov eax, dword [0x7d6e98]
mov ecx, ebx
push esi
push 9
mov eax, dword [eax + 0x4c0]
mov eax, dword [eax]
add eax, 7
push eax
push 7
call fcn.00581c44
push 0x7c
call fcn.0056def4
pop ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4353c1
mov ecx, eax
call fcn.005823c6
mov edi, eax
jmp 0x4353c3
mov edi, esi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43549e
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
push 1
call esi
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [0x6b4400]
mov dword [ebx + 0x1e8], eax
lea eax, [ebp - 0x38]
push eax
push 0xff
push 0
push 0x86ca0080
mov eax, 0xc8
mov dword [ebp - 0x28], 6
push eax
push eax
push 1
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0x4d
call esi
sub eax, 0xc8
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, 0xc8
xor esi, esi
cdq
mov ecx, edi
sub eax, edx
sar eax, 1
push eax
push 0x6b41bc
push dword [0x796104]
push 0x6b41c0
push esi
push ebx
call fcn.005824ed
test eax, eax
je 0x435495
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x44]
mov dword [0x796108], eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x44]
push eax
mov ecx, ebx
call fcn.00580987
mov ecx, eax
call fcn.00582867
mov ecx, edi
call fcn.0067f1c7
mov dword [ebp - 0x3c], 1
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x435482
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx + 0x1c]
push esi
push 0x6b41dc
call fcn.00582e78
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
jmp 0x4354b2
mov eax, esi
call fcn.0056e1e5
ret 4

Function at 0x437725
Capabilities:
Gather firefox profile information

Disassembly:
push 4
mov eax, 0x685345
call fcn.0056e207
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004365ef
and dword [ebp - 4], 0
mov ecx, 0x796c94
push 0x78
mov dword [esi], vtable.DlgFirefoxKeepCookies.0
call fcn.00417bfd
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x43775c
mov eax, dword [eax]
mov edi, 0x6b4824
mov dword [esi + 0xbec], eax
push edi
call fcn.00647fd1
pop ecx
push eax
push edi
lea ecx, [esi + 0xfc4]
call fcn.004044d0
mov edi, 0x6b4848
mov dword [esi + 0xfc0], 3
push edi
call fcn.00647fd1
pop ecx
push eax
push edi
lea ecx, [esi + 0xfdc]
call fcn.004044d0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0056e1d0
ret