joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e90e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x44], 0x6f0047
mov dword [ebp - 0x40], 0x67006f
mov dword [ebp - 0x3c], 0x65006c
mov dword [ebp - 0x38], 0x43005c
mov dword [ebp - 0x34], 0x720068
mov dword [ebp - 0x30], 0x6d006f
mov dword [ebp - 0x2c], 0x5c0065
mov dword [ebp - 0x28], 0x700041
mov dword [ebp - 0x24], 0x6c0070
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x740061
mov dword [ebp - 0x18], 0x6f0069
mov dword [ebp - 0x14], 0x6e
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406f70
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret

Function at 0x407660
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
mov ebx, ecx
lea eax, [ebp - 0x418]
push 0
mov dword [ebp - 0x474], ebx
mov esi, edx
push eax
mov dword [ebp - 0x474], ebx
call fcn.0043e790
add esp, 0xc
lea edi, [ebp - 0x418]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xorps xmm0, xmm0
mov dword [ebp - 0x45c], 0
push eax
mov edx, esi
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x470], 0x67452301
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x46c], 0xefcdab89
mov dword [ebp - 0x468], 0x98badcfe
mov dword [ebp - 0x464], 0x10325476
call fcn.004269f0
add esp, 4
lea edx, [ebp - 0x470]
lea ecx, [ebp - 0x14]
call fcn.00426aa0
xorps xmm0, xmm0
mov byte [ebp - 0x3f8], 0
movups xmmword [ebp - 0x418], xmm0
xor esi, esi
movups xmmword [ebp - 0x408], xmm0
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02X
push 3
push edi
call fcn.004012d0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x407725
lea ecx, [ebp - 0x418]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 1]
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407764
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
mov ecx, ebx
call fcn.004060e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x407790
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], edx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x24], esi
push str.orginkey:
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], 0x8463320
mov dword [ebp - 0x14], 0x45997712
mov dword [ebp - 0x10], 0x11996636
mov dword [ebp - 0xc], 0x54446639
call edi
push 0x10
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.00407560
mov edx, dword [ebp - 0x28]
add esp, 4
cmp edx, 0x10
jb 0x40781e
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407814
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40790b
push edx
push ecx
call fcn.0043d19d
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.00407270
push str.initkey:
call edi
push 0x10
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.00407560
mov edx, dword [ebp - 0x28]
add esp, 4
cmp edx, 0x10
jb 0x407871
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407910
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jle 0x4078ea
nop word [eax + eax]
mov eax, edi
lea esi, [ebp - 0x18]
and eax, 0xf
add esi, eax
mov eax, dword [ebp - 0x1c]
mov dl, byte [esi]
movzx eax, byte [eax + edi]
add eax, edi
movzx ecx, dl
add ecx, eax
and ecx, 0x8000000f
jns 0x4078a7
dec ecx
or ecx, 0xfffffff0
inc ecx
mov al, byte [ebp + ecx - 0x18]
inc edi
xor al, dl
mov byte [esi], al
xor byte [ebp + ecx - 0x18], al
movzx eax, byte [ebp + ecx - 0x18]
xor byte [esi], al
cmp edi, ebx
jl 0x407880
mov edx, dword [ebp - 0x1c]
xor esi, esi
mov cl, byte [edx + esi]
mov eax, esi
and eax, 0x8000000f
jns 0x4078d5
dec eax
or eax, 0xfffffff0
inc eax
mov al, byte [ebp + eax - 0x18]
add al, cl
xor al, cl
mov byte [edx + esi], al
inc esi
cmp esi, ebx
jl 0x4078c4
mov esi, dword [ebp - 0x20]
jmp 0x4078ed
mov edx, dword [ebp - 0x1c]
push ebx
mov ecx, esi
call fcn.00407560
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
call fcn.00446380
int3
Function at 0x407920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x40795d
xor esi, esi
jmp 0x407a62
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405bc0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00405bc0
mov edx, str.manifest.json
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00412960
mov edx, str.tab.html
lea ecx, [ebp - 0x28]
call fcn.00412960
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x4079c8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4079c8
mov esi, 1
jmp 0x4079ca
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407a04
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4079fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ab6
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x407a4e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407a44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ab6
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x407a98
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407a8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ab6
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret 0x18
call fcn.00446380
int3
Function at 0x4090e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ecde
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 1
call fcn.00407660
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
push 0x4b5c28
call esi
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00407790
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
push 0x4b5c28
call esi
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x60]
cmovae edx, dword [ebp - 0x2c]
call fcn.00407660
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call esi
push 0x4b5c28
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4091f6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4091ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409292
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x409238
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40922e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409292
push edx
push ecx
call fcn.0043d19d
add esp, 8
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0040c4f0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x409273
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409269
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409297
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret 4
call fcn.00446380
call fcn.00446380
int3
Function at 0x409c50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49edfd
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x29c], ebx
call fcn.00418300
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x409e0f
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
cmp edi, 8
cmovae eax, ebx
cmp word [eax + esi*2 - 2], 0x5c
je 0x409ccb
push 1
push 0x4b5640
lea ecx, [ebp - 0x30]
call fcn.00406370
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
push 0x250
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0043e790
mov eax, SysReAllocString
add esp, 0xc
sub eax, esi
cmp eax, 3
jb 0x409e63
push 3
push 0x4b58e0
cmp edi, 8
lea eax, [ebp - 0x30]
push esi
cmovae eax, ebx
push eax
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x48]
call fcn.00406830
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x409dd3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x4b58e8
lea eax, [ebp - 0x26c]
push eax
call esi
test eax, eax
je 0x409db2
push 0x4b58ec
lea eax, [ebp - 0x26c]
push eax
call esi
test eax, eax
je 0x409db2
test byte [ebp - 0x298], 0x10
jne 0x409db2
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x18], 0x360033
push eax
mov dword [ebp - 0x14], 0x30
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x409daa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [ebp - 0x26c]
cmp eax, ecx
je 0x409dc2
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x298]
push eax
push edi
call ebx
test eax, eax
jne 0x409d42
jmp 0x409dcc
mov dword [ebp - 0x29c], 1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x409e09
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409dff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e68
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ebx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x409e45
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e6d
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.004014a0
call fcn.00446380
call fcn.00446380
int3
Function at 0x40d370
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00409e80
test eax, eax
jne 0x40d53f
push str.RECSU202210121837mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call esi
cmp eax, 0xb7
jne 0x40d3eb
test ebx, ebx
je 0x40d3d1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push eax
push str.RunEntryChromeSvcUpdate
push str._s:CreateMutex___alreadly_run:_d
call fcn.004015b0
add esp, 0xc
jmp 0x40d53f
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea esi, [eax + 5]
call fcn.00404ab0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x40d44d
mov eax, esi
dec esi
test eax, eax
jle 0x40d44d
push 0xc8
call edi
lea edx, [ebp - 0x28]
call fcn.00404ab0
test eax, eax
je 0x40d433
lea edx, [ebp - 0x40]
mov esi, 5
call fcn.00404e70
test eax, eax
jne 0x40d47a
nop
mov eax, esi
dec esi
test eax, eax
jle 0x40d47a
push 0xc8
call edi
lea edx, [ebp - 0x40]
call fcn.00404e70
test eax, eax
je 0x40d460
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40d4b3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
sub esp, 0x10
push 1
push ecx
call fcn.0040c090
test eax, eax
je 0x40d4b3
push eax
call esi
call fcn.0040cf90
test ebx, ebx
je 0x40d4bf
push ebx
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40d4f5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d4eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d55d
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40d53f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d535
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d55d
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
int3
Function at 0x40dac0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f285
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00409e80
test eax, eax
jne 0x40dc53
push str.RECTT202210121837mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
cmp eax, 0xb7
jne 0x40db3a
test esi, esi
je 0x40db20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push eax
push str.RunEntryChromeTimerTask
push str._s:CreateMutex___alreadly_run:_d
call fcn.004015b0
add esp, 0xc
jmp 0x40dc53
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call fcn.004014b0
cmp dword [eax + 0x14], 8
jb 0x40db7a
mov eax, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x28]
mov ecx, str.CMSPathCs
call fcn.0041ddf0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 0
mov edi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40dbde
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc70
push edx
push ecx
call fcn.0043d19d
add esp, 8
test edi, edi
jne 0x40dbea
lea edx, [ebp - 0x40]
call fcn.00404ab0
call fcn.00405440
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40dc16
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
sub esp, 0x10
push 1
push ecx
call fcn.0040c090
test eax, eax
je 0x40dc16
push eax
call edi
test esi, esi
je 0x40dc1d
push esi
call edi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40dc53
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc75
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.00446380
call fcn.00446380
int3
Function at 0x412f50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov esi, dword [eax]
mov edi, ecx
mov eax, dword [0x4cdc68]
mov ebx, edx
mov dword [ebp - 4], edi
cmp eax, dword [esi + 4]
jle 0x412fa6
push 0x4cdc68
call fcn.0043cd31
add esp, 4
cmp dword [0x4cdc68], 0xffffffff
jne 0x412fa6
push str.xmbpcbrowser_sinx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4cdc68
mov dword [0x4cdc6c], eax
call fcn.0043cce7
add esp, 4
cmp dword [0x4cdc10], 0
jne 0x41305b
xor eax, eax
nop word [eax + eax]
mov byte [eax + 0x4cdb10], al
inc eax
cmp eax, 0x100
jl 0x412fc0
mov esi, dword [0x4cdc6c]
xor ecx, ecx
mov eax, ecx
cdq
idiv esi
mov al, byte [edx + str.xmbpcbrowser_sinx]
mov byte [ecx + 0x4cda10], al
inc ecx
cmp ecx, 0x100
jl 0x412fd6
xor edi, edi
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov dl, byte [esi + 0x4cdb10]
movzx eax, byte [esi + 0x4cda10]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x413024
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4cdb10]
xor al, dl
mov byte [esi + 0x4cdb10], al
xor byte [edi + 0x4cdb10], al
movzx eax, byte [edi + 0x4cdb10]
xor byte [esi + 0x4cdb10], al
inc esi
cmp esi, 0x100
jl 0x413000
mov edi, dword [ebp - 4]
mov dword [0x4cdc10], 1
xor esi, esi
xor edx, edx
test ebx, ebx
jle 0x41308f
movzx eax, dl
movzx eax, byte [eax + 0x4cdb10]
add esi, eax
and esi, 0x800000ff
jns 0x41307f
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [esi + 0x4cdb10]
lea ecx, [edx + edi]
xor byte [ecx], al
inc edx
cmp edx, ebx
jl 0x413063
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f74e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x28], 0x720050
mov dword [ebp - 0x24], 0x660065
mov dword [ebp - 0x20], 0x720065
mov dword [ebp - 0x1c], 0x6e0065
mov dword [ebp - 0x18], 0x650063
mov dword [ebp - 0x14], 0x73
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414ad0
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x417030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fb2e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x34], 0x480053
mov dword [ebp - 0x30], 0x4c0045
mov dword [ebp - 0x2c], 0x44004c
mov dword [ebp - 0x28], 0x4c004c
mov dword [ebp - 0x24], 0x44005f
mov dword [ebp - 0x20], 0x660065
mov dword [ebp - 0x1c], 0x690056
mov dword [ebp - 0x18], 0x770065
mov word [ebp - 0x14], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4170d0
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret

Function at 0x4171d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fb7e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0x690044
mov dword [ebp - 0x28], 0x650072
mov dword [ebp - 0x24], 0x740063
mov dword [ebp - 0x20], 0x490055
mov dword [ebp - 0x1c], 0x570048
mov dword [ebp - 0x18], 0x44004e
mov word [ebp - 0x14], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417260
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret