joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100043c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006534f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x1000449c
je 0x10004497
cmp eax, 0x80000000
je 0x10004497
test eax, eax
jne 0x100044a3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov eax, dword [0x1009bddc]
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000444b
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.10031d80
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_unsigned_short_int_const__]
mov eax, dword [0x1009bddc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x1000447c
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100044bf
xorps xmm0, xmm0
jmp 0x100044ba
cmp eax, 0x40000000
je 0x100044af
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100044b6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10031d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10031d8f
pop dword [ebp - 0x4c]
mov eax, 0xe37f3808
sub eax, 0xd37c1a79
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x7bbe7f93
add dword [ebp - 0x5c], 0xd293c5b8
mov dword [ebp - 0x58], 0xa9be8bc3
sub dword [ebp - 0x58], 0x778b3f7e
mov dword [ebp - 0x54], 0x67de646b
add dword [ebp - 0x54], 0xe46ddfc3
mov dword [ebp - 0x50], 0xdc058eba
sub dword [ebp - 0x50], 0xdc058eba
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x27282819
add dword [ebp - 0x5c], 0x4d4a413d
mov dword [ebp - 0x58], 0xe2be218c
sub dword [ebp - 0x58], 0xa151c017
mov dword [ebp - 0x54], 0x4c73fc14
sub dword [ebp - 0x54], 0xe9048fa8
mov dword [ebp - 0x50], 0x5891dccb
sub dword [ebp - 0x50], 0x5891dccb
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xfd4868bf
sub eax, 0xed4158b7
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x4d0b6
push 0
call eax
mov ecx, 0x7cb6c2fb
sub ecx, 0x7cb66190
mov esi, eax
mov edi, 0x100ac600
add edi, dword [ebp - 0x4c]
mov ebx, 0x2f331c6f
add ebx, 0xf9967322
xor dword [ebp - 0x14], 0xdd95303c
mov edx, dword [edi]
sub dword [ebp - 0x14], 0x83bdbfa7
sub edx, ebx
mov dword [ebp - 0x2c], 0x4b2520b5
mov dword [esi], edx
sub dword [ebp - 0x3c], ecx
add esi, 0xc0132427
sub esi, 0xc0132423
add edi, 0xe328a07c
add edi, 0x1cd75f88
loop 0x10031ea6
add eax, 0xd2dce9b
sub eax, 0xd2c561c
xor ebx, ebx
add ebx, eax
add eax, 0xaf618a88
add eax, 0x509e757d
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x10037660
Capabilities:
Get number of processors

Disassembly:
mov dword [ecx], vtable.jsEngine.0
jmp fcn.10015c00
Function at 0x402510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
call fcn.0040234a
mov esi, eax
test esi, esi
je 0x40257b
push eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 4], eax
pop eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40257b
lea ecx, [eax + esi*4]
mov eax, dword [ecx]
and dword [ebp - 8], 0
mov dword [0x4b49d8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40257b
mov eax, dword [ebp - 4]
mov dword [eax + esi*4], 0x4023ed
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push dword [ebp - 8]
push 4
lea eax, [eax + esi*4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4025f1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x492bec
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402674
push str.RtlHashUnicodeString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b49dc], eax
test eax, eax
je 0x402674
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test esi, esi
je 0x402673
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x402673
push ebx
xor ebx, ebx
mov eax, ebx
test esi, esi
je 0x402672
lea ecx, [ebp + esi*2 - 0x20e]
cmp word [ecx], 0x5c
je 0x402683
inc eax
sub ecx, 2
cmp eax, esi
jb 0x402664
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00460c27
mov esp, ebp
pop ebp
ret
sub esi, eax
add esi, esi
cmp esi, 0x208
jae 0x402786
xor eax, eax
mov word [ebp + esi - 0x20c], ax
mov esi, 0x104
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004662f1
push 0x492c18
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004662f1
push str.khtn.bin
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004662f1
add esp, 0x24
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 5
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402672
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 4
jbe 0x40277a
test bl, 3
jne 0x40277a
cmp ebx, 0x400
ja 0x40277a
shr eax, 2
push eax
call fcn.0040278c
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push 0
push eax
push ebx
push dword [0x4b5be4]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402770
cmp dword [ebp - 0x210], ebx
jne 0x402770
call fcn.00402580
push esi
test al, al
jne 0x402760
mov eax, dword [0x4b5be4]
mov dword [0x4b5be8], eax
jmp 0x40277b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00402510
jmp 0x402672
mov eax, dword [0x4b5be4]
mov dword [0x4b5be8], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402672
call fcn.00460d9c
int3
Function at 0x402977
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
and dword [ebp - 0x168], 0
push edi
push 4
pop eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
push eax
push str.hookcheck
push str.Software360
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x168], 1
jne 0x402b13
push 5
pop ebx
mov ecx, ebx
lea edi, [ebp - 0x148]
mov esi, str.urlmon.dll
lea eax, [ebp - 0x132]
rep movsd dword es:[edi], dword [esi]
push 0x2a
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00463e50
push 6
pop ecx
push 0xa
mov esi, str.wininet.dll
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
pop ecx
push 6
xor eax, eax
lea edi, [ebp - 0xf0]
rep stosd dword es:[edi], eax
pop ecx
mov esi, str.iertutil.dll
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
push 6
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xae]
mov esi, str.ieframe.dll
rep stosd dword es:[edi], eax
pop ecx
push 0xa
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
pop ecx
lea edi, [ebp - 0x70]
mov esi, str.mshtml.dll
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
push 0x2a
push eax
lea eax, [ebp - 0x32]
push eax
movsw word es:[edi], word [esi]
call fcn.00463e50
add esp, 0x18
lea ecx, [ebp - 0x160]
push 0x492d04
call fcn.0040197a
mov byte [ebp - 0x161], 0
lea esi, [ebp - 0x148]
mov edi, 0x492d20
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402ad0
push esi
call fcn.004011e1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x160]
call fcn.00401d59
push edi
call fcn.004011e1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x160]
call fcn.00401d59
mov al, 1
mov byte [ebp - 0x161], al
jmp 0x402ad6
mov al, byte [ebp - 0x161]
add esi, 0x40
sub ebx, 1
jne 0x402a93
test al, al
je 0x402b04
cmp dword [ebp - 0x14c], 8
lea eax, [ebp - 0x160]
push ebx
cmovae eax, dword [ebp - 0x160]
push 0x492d24
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 1
lea ecx, [ebp - 0x160]
call fcn.004019ef
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x402b24
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x110]
cmp ecx, 6
jne 0x402bb0
test eax, eax
je 0x402b72
cmp eax, 1
je 0x402b72
cmp eax, 2
je 0x402b72
cmp eax, 3
jne 0x402bb5
push str.RtlGetVersion
push 0x492bec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402ba4
lea ecx, [ebp - 0x22c]
push ecx
call eax
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
jmp 0x402bb0
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xa
je 0x402bba
cmp eax, 4
jne 0x402bc4
mov dword [0x4b690c], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x402e4c
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push 0x26
push edi
xor eax, eax
push esi
mov word [edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x402e65
push 0x10
pop ecx
mov esi, str.internet_exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x4036c8
Capabilities:
Suspend thread

Disassembly:
push 8
push 0x4ae620
call fcn.004618a0
call fcn.00402977
call fcn.0043a76a
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
mov edi, eax
cmp dword [0x4b6d90], 0
jne 0x403748
call esi
cmp edi, eax
je 0x403748
push 8
call fcn.00460c38
pop ecx
mov esi, eax
test esi, esi
jne 0x40370a
push 8
pop edi
jmp 0x40371e
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x403738
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
je 0x403729
push esi
call fcn.00460c6b
pop ecx
mov dword [0x4b6d90], edi
and dword [0x4b6d8c], 0
jmp 0x403748
mov dword [esi + 4], edi
mov eax, dword [0x4b6d80]
mov dword [esi], eax
mov dword [0x4b6d80], esi
call fcn.00402b24
push 0x492eb0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call esi
test eax, eax
je 0x403785
push 0x492ecc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6908], eax
test eax, eax
je 0x403785
sub esp, 0xc
mov edx, 0x4035cf
mov ecx, 0x4b6908
call fcn.0043aad8
push str.kernelbase.dll
call esi
test eax, eax
je 0x4037c0
cmp dword [0x4b690c], 0
je 0x4037c0
push 0x492ecc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6910], eax
test eax, eax
je 0x4037c0
sub esp, 0xc
mov edx, 0x403585
mov ecx, 0x4b6910
call fcn.0043aad8
call fcn.00402e7e
cmp eax, 8
jne 0x403804
mov edi, str.Psapi.dll
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x403804
push str.GetModuleBaseNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b49e0], eax
test eax, eax
je 0x403804
sub esp, 0xc
mov edx, 0x403619
mov ecx, 0x4b49e0
call fcn.0043aad8
and dword [ebp - 4], 0
call fcn.0043a87f
jmp 0x403816
mov dword [ebp - 4], 0xfffffffe
call fcn.004618e6
ret
Function at 0x40477d
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x4ae640
call fcn.00484910
mov dword [ebp - 0x58], ecx
xor edi, edi
and dword [ebp - 0x5c], edi
push str.antilsp.dll
lea ecx, [ebp - 0x34]
call fcn.0040197a
lea ecx, [ebp - 0x34]
call fcn.00404756
mov ebx, eax
lea ecx, [ebp - 0x34]
call fcn.00401970
test ebx, ebx
je 0x4047cf
push str.StartAntiLsp
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov edi, eax
push str.StopAntiLsp
push ebx
call esi
mov dword [ebp - 0x5c], eax
test edi, edi
je 0x4047e4
push 1
push str.software360Chromechrome
push 0x80000001
call edi
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.004196d0
call fcn.00410070
mov esi, eax
mov eax, 0x4936c8
mov dword [ebp - 0x54], eax
push eax
call fcn.0040124c
pop ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.004106a0
cmp dword [ebp - 0x3c], 0
jne 0x404910
mov edi, str.waitfor_proc_exit
push edi
mov ecx, esi
call fcn.00410600
test al, al
je 0x404910
mov dword [ebp - 0x54], edi
push edi
call fcn.0040124c
pop ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.004106a0
and dword [ebp - 0x50], 0
lea esi, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
add edi, esi
mov bl, 1
jmp 0x404875
mov cl, byte [esi]
call fcn.00416b60
test al, al
je 0x404879
xor bl, bl
inc esi
cmp esi, edi
jne 0x404867
cmp esi, edi
je 0x4048a3
cmp byte [esi], 0x2d
jne 0x404899
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 1]
mov edx, edi
call fcn.00416ca0
pop ecx
test al, al
jne 0x4048b7
xor bl, bl
jmp 0x4048b7
cmp esi, edi
je 0x4048a3
cmp byte [esi], 0x2b
jne 0x4048a3
inc esi
lea eax, [ebp - 0x50]
push eax
mov edx, edi
mov ecx, esi
call fcn.00416c30
pop ecx
neg al
sbb al, al
and bl, al
test bl, bl
je 0x404908
cmp dword [ebp - 0x50], 0
je 0x404908
push dword [ebp - 0x50]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404908
mov ebx, 0xbb8
push ebx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call edi
test eax, eax
je 0x4048fd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x404908
push ebx
push esi
call edi
jmp 0x404908
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x34]
call fcn.004019ab
call fcn.00408eba
mov esi, eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x58]
mov ecx, esi
call fcn.00408548
mov dword [ebp - 0x58], eax
mov ecx, esi
call fcn.00408649
test esi, esi
je 0x40493d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x404953
call eax
jmp 0x404953
mov dword [ebp - 4], 0xfffffffe
lea ecx, [ebp - 0x4c]
call fcn.004019ab
mov eax, dword [ebp - 0x58]
call fcn.00484959
ret
Function at 0x40496b
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, str.windows10_f12
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x340], eax
call fcn.0040124c
pop ecx
mov dword [ebp - 0x33c], eax
mov ecx, esi
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.004106a0
mov ecx, dword [ebp - 0x320]
test ecx, ecx
jne 0x4049c7
xor ebx, ebx
mov byte [ebp - 0x331], bl
jmp 0x404b59
mov edi, dword [ebp - 0x31c]
lea eax, [ebp - 0x330]
cmp edi, 0x10
lea edx, [ebp - 0x330]
cmovae eax, dword [ebp - 0x330]
cmovae edx, dword [ebp - 0x330]
lea esi, [ecx + eax]
cmp edx, esi
je 0x404a0f
dec esi
cmp edx, esi
je 0x404a03
mov cl, byte [edx]
mov al, byte [esi]
mov byte [edx], al
inc edx
mov byte [esi], cl
cmp edx, esi
jne 0x4049f1
mov edi, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x320]
xor ebx, ebx
lea esi, [ebp - 0x330]
cmp edi, 0x10
mov dword [ebp - 0x338], ebx
cmovae esi, dword [ebp - 0x330]
lea edi, [esi + ecx]
cmp esi, edi
je 0x404a60
mov cl, byte [esi]
call fcn.00416b60
test al, al
je 0x404a3e
inc esi
cmp esi, edi
jne 0x404a2e
cmp esi, edi
je 0x404a60
mov al, byte [esi]
cmp al, 0x2d
jne 0x404a5b
lea eax, [ebp - 0x338]
mov edx, edi
push eax
lea ecx, [esi + 1]
call fcn.00416ca0
jmp 0x404a70
cmp al, 0x2b
jne 0x404a60
inc esi
lea eax, [ebp - 0x338]
mov edx, edi
push eax
mov ecx, esi
call fcn.00416c30
pop ecx
push dword [ebp - 0x338]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404b52
call fcn.004150e0
cmp eax, 7
jl 0x404b52
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], ebx
push eax
push dword [ebp - 0x338]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 0x104
lea eax, [ebp - 0x110]
push esi
push ebx
push eax
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x110]
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
push str._d__X
push eax
call fcn.0040391e
push 0x208
lea eax, [ebp - 0x318]
push ebx
push eax
call fcn.00463e50
add esp, 0x1c
lea eax, [ebp - 0x318]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.F12F12AppFrame.dll
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404b52
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x404b52
push str.AttachTools
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404b52
push ebx
lea ecx, [ebp - 0x110]
push ecx
push ebx
push ebx
call eax
mov byte [ebp - 0x331], 1
push ebx
push 1
lea ecx, [ebp - 0x330]
call fcn.00401abf
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x331]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x404d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push 0xf003f
push str.Software360ChromeRename
push 0x80000001
lea ecx, [ebp - 0x14]
call fcn.00416d80
cmp dword [ebp - 0x14], 0
je 0x404d67
push str.doing
lea ecx, [ebp - 0x14]
call fcn.00416e90
xor ebx, ebx
test al, al
je 0x404d51
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00416eb0
test eax, eax
jne 0x404d51
cmp dword [ebp - 4], 1
je 0x404d69
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push ebx
push 0x404b7e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov bl, 1
lea ecx, [ebp - 0x14]
call fcn.00416e40
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404d78
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push esi
push 0xf003f
push str.Software360ChromeRename
push 0x80000001
call fcn.00416d80
cmp dword [ebp - 0x10], 0
je 0x404dbc
mov esi, str.doing
lea ecx, [ebp - 0x10]
push esi
call fcn.00416e90
test al, al
je 0x404dbc
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x10]
call fcn.00416e40
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408360
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
cmp dword [edi + 0x14], 8
jb 0x408385
mov eax, dword [edi]
jmp 0x408387
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.00410070
push 0x4936c8
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.00410600
test al, al
mov ecx, str.chrome.dll
mov esi, str.chrome_child.dll
cmove esi, ecx
push esi
call fcn.004011e1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00401d59
push 0x49346c
lea ecx, [ebp - 0x1c]
call fcn.0040197a
push 8
pop esi
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1c]
push 0x20019
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push eax
push 0x80000001
call fcn.00416d80
cmp dword [ebp - 0x2c], 0
je 0x408431
push str.nosign_sygyzy
lea ecx, [ebp - 0x2c]
call fcn.00416e90
test al, al
jne 0x408431
cmp dword [ebx + 0x10], 0
jne 0x408431
mov ecx, dword [ebp - 0x20]
push 0x4936c8
call fcn.00410600
test al, al
jne 0x408431
cmp dword [edi + 0x14], esi
jb 0x408425
mov ecx, dword [edi]
jmp 0x408427
mov ecx, edi
push 1
push ecx
call fcn.0041b6a0
pop ecx
pop ecx
mov ecx, edi
call fcn.004080cb
cmp dword [edi + 0x14], esi
jb 0x40843f
mov edi, dword [edi]
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00416e40
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004019ef
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x408ee8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040197a
mov esi, 0x492c18
push esi
call fcn.004011e1
pop ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x258]
call fcn.004097fe
xor ebx, ebx
inc ebx
cmp eax, 0xffffffff
jne 0x408f7b
push 0x492d38
lea ecx, [ebp - 0x240]
call fcn.0040197a
jmp 0x408fc7
push eax
push edi
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040962c
xor eax, eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea ecx, [ebp - 0x240]
lea eax, [ebp - 0x270]
mov dword [ebp - 0x230], edi
push eax
call fcn.004022f4
push edi
push ebx
lea ecx, [ebp - 0x270]
call fcn.004019ef
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x258]
call fcn.004064f0
push edi
push ebx
lea ecx, [ebp - 0x240]
call fcn.004019ef
push str.User_Data_v3updateconfig_v3update.ini
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x228]
call fcn.004099d4
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
pop ecx
cmovae eax, dword [ebp - 0x228]
mov esi, str.flag
push eax
push edi
push esi
push str.updateflag
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x409031
cmp eax, 2
je 0x409031
mov esi, edi
jmp 0x409059
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
push 0x49360c
push esi
push str.updateflag
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, ebx
push edi
push ebx
lea ecx, [ebp - 0x228]
call fcn.004019ef
push edi
push ebx
lea ecx, [ebp - 0x258]
call fcn.004019ef
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x4092c5
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40932d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret