joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f386fd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test eax, eax
je 0x6f386ff0
pop ebp
movzx edx, dx
jmp fcn.6f384990
mov eax, 1
pop ebp
ret
Function at 0x6f388ad0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x6f3a9044]
push ebp
mov ebp, esp
push ebx
cmp eax, 0x9bf
ja 0x6f388b1b
mov ecx, dword [eax + section..bss]
lea edx, [eax + 4]
mov dword [0x6f3a9044], edx
mov edx, ecx
mov ebx, dword [ebp - 4]
leave
shr edx, 0xb
xor edx, ecx
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
cmp eax, 0x9c0
jne 0x6f388c57
mov ebx, dword [section..bss]
xor edx, edx
nop
and ebx, 0x80000000
mov ecx, ebx
mov ebx, dword [edx*4 + 0x6f3bb004]
mov eax, ebx
and eax, 0x7fffffff
or eax, ecx
mov ecx, eax
and eax, 1
shr ecx, 1
xor ecx, dword [edx*4 + 0x6f3bb634]
neg eax
and eax, 0x9908b0df
xor ecx, eax
mov dword [edx*4 + section..bss], ecx
add edx, 1
cmp edx, 0xe3
jne 0x6f388b30
movdqa xmm5, xmmword [0x6f3ac460]
mov eax, 0x6f3bb38c
movdqa xmm4, xmmword [0x6f3ac470]
movdqa xmm3, xmmword [0x6f3ac480]
nop
movdqa xmm1, xmmword [eax + 4]
add eax, 0x10
movdqu xmm0, xmmword [eax - 0x10]
pand xmm1, xmm5
pand xmm0, xmm4
por xmm1, xmm0
movdqa xmm2, xmm1
pand xmm1, xmm3
movdqa xmm0, xmm1
psrld xmm2, 1
pxor xmm2, xmmword [eax - 0x39c]
pslld xmm0, 3
paddd xmm0, xmm1
pslld xmm0, 9
paddd xmm0, xmm1
pslld xmm0, 5
paddd xmm0, xmm1
pslld xmm0, 2
psubd xmm0, xmm1
pslld xmm0, 3
psubd xmm0, xmm1
movdqa xmm6, xmm0
pslld xmm6, 4
paddd xmm0, xmm6
pslld xmm0, 5
psubd xmm0, xmm1
pxor xmm2, xmm0
movups xmmword [eax - 0x10], xmm2
cmp eax, 0x6f3bb9bc
jne 0x6f388b90
mov ecx, dword [section..bss]
mov eax, dword [0x6f3bb9bc]
mov edx, ecx
and edx, 0x7fffffff
and eax, 0x80000000
or eax, edx
mov edx, eax
and eax, 1
shr edx, 1
xor edx, dword [0x6f3bb630]
neg eax
and eax, 0x9908b0df
xor eax, edx
mov edx, 4
mov dword [0x6f3bb9bc], eax
jmp 0x6f388ae9
xor eax, eax
xor edx, edx
lea esi, [esi]
nop
imul eax, eax, 0x7ff8a3ed
add eax, 0x2aa01d31
mov ecx, eax
rol ecx, 0x10
xor ecx, 0x31415926
mov dword [edx*4 + section..bss], ecx
add edx, 1
cmp edx, 0x270
jne 0x6f388c60
jmp 0x6f388b26
Function at 0x6f3a4ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movd xmm0, dword [ebp + 0x10]
mov dword [esp], 0xc
movd xmm1, dword [ebp + 0xc]
punpckldq xmm1, xmm0
movq qword [ebp - 0x10], xmm1
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x6f3a4f0d
mov edx, dword [ebp + 8]
movq xmm1, qword [ebp - 0x10]
movq qword [eax + 4], xmm1
mov dword [eax], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6f3a3d30
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
leave
ret
Function at 0x6f3a82d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x6f3bbb00]
test eax, eax
je 0x6f3a8388
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x6f3a8310
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6f3a82fc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x6f3a83bd
mov dword [esp + 4], 0x6f3bad58
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x6f3bbb00], eax
test eax, eax
jne 0x6f3a82ed
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6f3a82fe
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x411023
Capabilities:
Terminate process

Disassembly:
jmp 0x411b70
jmp fcn.00412ad0
cmp ecx, dword [section..data]
jne 0x411b7a
repz ret
jmp 0x41109b
Function at 0x4076e3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x411a78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00404309
mov dword [ebp - 0x14], eax
cmp dword [0x4127f4], edi
jne 0x4077d4
push 0x800
push edi
push 0x40c080
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x407761
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4078b4
push 0x40c080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4078b4
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4078b4
push eax
call ebx
push 0x40c0a4
push esi
mov dword [0x4127f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x40c0b4
push esi
mov dword [0x4127f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4127fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412804], eax
test eax, eax
je 0x4077d1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412800], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4077f9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4077ec
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40780e
push 4
pop eax
jmp 0x4078b6
cmp dword [ebp - 0x14], edi
je 0x40780e
push dword [0x4127f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4077f3
mov eax, dword [0x412800]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40786c
cmp dword [0x412804], esi
je 0x40786c
push eax
call ebx
push dword [0x412804]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40786c
test eax, eax
je 0x40786c
call ecx
test eax, eax
je 0x407861
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x407861
test byte [ebp - 8], 1
jne 0x40786c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40789c
mov eax, dword [0x4127f8]
cmp eax, esi
je 0x407899
push eax
call ebx
test eax, eax
je 0x407899
call eax
mov edi, eax
test edi, edi
je 0x407899
mov eax, dword [0x4127fc]
cmp eax, esi
je 0x407899
push eax
call ebx
test eax, eax
je 0x407899
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4127f4]
call ebx
test eax, eax
je 0x4078b4
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4078b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407535
leave
ret
Function at 0xa37b80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa37bbf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa50131
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a4fdae

Function at 0xa567d5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5664b

Function at 0x5d8aac
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x5d87dc
and eax, eax
add edi, eax
mov eax, eax
call fcn.005d8ae9
sub eax, edi
add eax, 0x16e6f539
xor dword [ecx], esi
inc eax
add ecx, 2
and eax, edi
cmp ecx, edx
jl fcn.005d8aac
mov edi, 0xeb7013ed
and edi, eax
inc eax
ret
Function at 0x4014b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x4c53b4], 0
jne 0x4015a1
mov edx, 0x1a
lea ecx, [ebp - 0x18]
call fcn.00418220
lea eax, [ebp - 0x18]
mov ecx, 0x4c53a4
push eax
call fcn.00405ae0
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x401518
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40150e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015aa
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ecx, dword [0x4c53b4]
test ecx, ecx
je 0x4015a1
cmp dword [0x4c53b8], 8
mov eax, 0x4c53a4
cmovae eax, dword [0x4c53a4]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x401549
push 0x5c
mov ecx, 0x4c53a4
call fcn.00405950
push 0xb
push str.CSGDataInfo
mov ecx, 0x4c53a4
call fcn.00406370
cmp dword [0x4c53b8], 8
mov eax, 0x4c53a4
cmovae eax, dword [0x4c53a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401590
cmp dword [0x4c53b8], 8
mov ecx, 0x4c53a4
cmovae ecx, dword [0x4c53a4]
call fcn.0041d000
push 0xf
push str.csg_config.ini
mov ecx, 0x4c53a4
call fcn.00406370
mov eax, 0x4c53a4
mov esp, ebp
pop ebp
ret
call fcn.00446380
int3

Function at 0x4015b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4c53cc], 0
jne 0x4016d4
mov edx, 0x1a
lea ecx, [ebp - 0x24]
call fcn.00418220
lea eax, [ebp - 0x24]
mov ecx, 0x4c53bc
push eax
call fcn.00405ae0
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x401637
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40162d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4016e3
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ecx, dword [0x4c53cc]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test ecx, ecx
je 0x4016d4
cmp dword [0x4c53d0], 8
mov eax, 0x4c53bc
cmovae eax, dword [0x4c53bc]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x40167c
push 0x5c
mov ecx, 0x4c53bc
call fcn.00405950
push 0xb
push str.CSGDataInfo
mov ecx, 0x4c53bc
call fcn.00406370
cmp dword [0x4c53d0], 8
mov eax, 0x4c53bc
cmovae eax, dword [0x4c53bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4016c3
cmp dword [0x4c53d0], 8
mov ecx, 0x4c53bc
cmovae ecx, dword [0x4c53bc]
call fcn.0041d000
push 0xc
push str.csg_log.ini
mov ecx, 0x4c53bc
call fcn.00406370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
call fcn.00446380
int3
Function at 0x402760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x64], 0x740068
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], 0x700074
push edi
mov dword [ebp - 0x5c], 0x3a0073
lea edx, [ecx + 2]
mov dword [ebp - 0x58], 0x2f002f
mov dword [ebp - 0x54], 0x790079
mov dword [ebp - 0x50], 0x630073
mov dword [ebp - 0x4c], 0x2e0032
mov dword [ebp - 0x48], 0x73006f
mov dword [ebp - 0x44], 0x2d0073
mov dword [ebp - 0x40], 0x6e0063
mov dword [ebp - 0x3c], 0x73002d
mov dword [ebp - 0x38], 0x610068
mov dword [ebp - 0x34], 0x67006e
mov dword [ebp - 0x30], 0x610068
mov dword [ebp - 0x2c], 0x2e0069
mov dword [ebp - 0x28], 0x6c0061
mov dword [ebp - 0x24], 0x790069
mov dword [ebp - 0x20], 0x6e0075
mov dword [ebp - 0x1c], 0x730063
mov dword [ebp - 0x18], 0x63002e
mov dword [ebp - 0x14], 0x6d006f
mov dword [ebp - 0x10], 0x74002f
mov dword [ebp - 0xc], 0x70006d
mov dword [ebp - 8], 0x2f
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402823
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405ec0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x403ba0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e505
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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
push ecx
lea ecx, [ebp - 0x40]
call fcn.00405bc0
mov dword [ebp - 4], 0
mov esi, 5
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
je 0x403c26
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403c26
test esi, esi
jle 0x403c26
push 0xc8
dec esi
call edi
jmp 0x403bf0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push eax
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
mov ecx, esp
lea esi, [ebp - 0x28]
push eax
call fcn.00405bc0
xor edx, edx
mov ecx, esi
call fcn.00412610
add esp, 0x20
mov eax, esi
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x403c86
cmp dword [ebp - 0x14], 8
mov eax, esi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403cbc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403cb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d27
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 0x403d06
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403cfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d27
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, 1
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 0x405210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e755
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x405260
cmp word [ecx], ax
jne 0x4052b6
lea ecx, [ebp - 0x48]
call fcn.00418440
push eax
lea ecx, [ebp - 0x60]
call fcn.00405ae0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4052ab
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4052a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40542b
push edx
push ecx
call fcn.0043d19d
add esp, 8
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
test esi, esi
je 0x4053d7
cmp word [esi], 0
je 0x4053d7
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x680043
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0x6f0072
mov dword [ebp - 0x28], 0x65006d
mov dword [ebp - 0x24], 0x650053
mov dword [ebp - 0x20], 0x750074
mov dword [ebp - 0x1c], 0x2e0070
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405330
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00405ec0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edx, dword [ebp - 0x34]
test eax, eax
jne 0x4053a4
cmp edx, 8
jb 0x40539d
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405430
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov esi, 1
jmp 0x4053d9
cmp edx, 8
jb 0x4053d7
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4053cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405430
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x40540f
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405435
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
call fcn.00446380
call fcn.00446380
call fcn.00446380
int3
Function at 0x405440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e78d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x530043
lea edx, [eax + 2]
mov dword [ebp - 0x24], 0x430052
mov dword [ebp - 0x20], 0x720068
mov dword [ebp - 0x1c], 0x2e006d
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4054b7
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405ec0
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0x48]
push 0x1fffff
cmovae edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
push 0
push 1
movlpd qword [ebp - 0x30], xmm0
call fcn.00425020
xor eax, eax
lea ecx, [ebp - 0x30]
add esp, 0xc
cmp eax, dword [ebp - 0x2c]
sbb esi, esi
neg esi
call fcn.00405910
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x405541
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405537
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40555d
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
call fcn.00446380
int3
Function at 0x405580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e7dd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 1
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00404750
cmp dword [ebp - 0x30], 0
jbe 0x40576b
lea ecx, [ebp - 0x40]
call fcn.004023d0
push 0x4c53d4
lea ecx, [ebp - 0x58]
call fcn.00405d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xb
mov dword [ebp - 0x28], 0
push 0x4b5984
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004060e0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
call fcn.00417f50
test eax, eax
je 0x4056f5
mov ecx, esi
call fcn.004044f0
test eax, eax
jne 0x405664
push str.UpgradePackChromeSvc
push str._s:DownloadFileChromeSvcUpdate___failed
call fcn.004015b0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x40566c
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x4056a9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40569f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057b9
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40576d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057b9
push edx
push ecx
call fcn.0043d19d
add esp, 8
jmp 0x40576d
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x405729
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40571f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057b9
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40576b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405761
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057b9
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40579d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057be
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
call fcn.00446380
call fcn.00446380
int3