joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476eb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a8828
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
call fcn.004a581f
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x476ef3
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x476f2f
mov ecx, dword [esp + 0x80]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.__s___s
push edx
call fcn.0040cbe0
add esp, 0x10
jmp 0x476f49
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x18]
push 0x5c7588
push ecx
call fcn.0040cbe0
add esp, 0xc
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x476f73
push 0x400
lea ecx, [esp + 0x18]
call fcn.0040c000
mov esi, dword [esp + 0x14]
push 0x40
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.004e5fc0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
push ecx
mov eax, 5
lea edx, [esp + 0x30]
push edx
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x90]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x47701e
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call ebp
mov ebx, dword [esp + 0x8c]
cmp ebx, 0x3e8
jbe 0x477013
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
push edx
call edi
cmp eax, 0x102
jne 0x477013
mov eax, dword [esp + 0x1c]
add ebx, 0xfffffc18
push ebx
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
mov edi, dword [esp + 0x18]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e662e
add esp, 8
test eax, eax
jl 0x477077
cmp eax, dword [esi - 8]
jg 0x477077
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
lea eax, [esi - 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 0x80070057
call fcn.0040b390
int3
Function at 0x477620
Capabilities:
Access peb ldr_data
Enumerate processes
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a88d8
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x484], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x49c]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea ecx, [esp + 0x296]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x4b0], esi
mov dword [esp + 0x20], esi
mov word [esp + 0x29c], ax
call fcn.004e5fc0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
xor eax, eax
push str.360rp.exe
lea edx, [esp + 0x4b0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], esi
call fcn.0040d150
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477725
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4777d8
push 0x228
lea ecx, [esp + 0x6c]
push esi
push ecx
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 0x64]
push edx
push ebx
mov dword [esp + 0x6c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, esi
je 0x4777d1
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x4777b8
push 0x104
lea ecx, [esp + 0x294]
push ecx
push eax
call fcn.00476440
add esp, 0xc
lea edx, [esp + 0x40]
push edx
push esi
lea eax, [esp + 0x298]
push eax
call edi
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x60]
jne 0x4777b8
mov eax, dword [esp + 0x4ac]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x298]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x4777c9
lea eax, [esp + 0x64]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
cmp eax, esi
jne 0x477762
jmp 0x4777d1
mov dword [esp + 0x14], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x4ac]
add eax, 0xfffffff0
mov dword [esp + 0x4a4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x484]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x494
ret
Function at 0x478090
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
mov ecx, esi
call fcn.0040bf90
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47817a
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.004e5fc0
add esp, 0xc
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x478131
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040c660
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
pop esi
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x218
ret
mov ecx, dword [esp + 0x218]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004e5fb0
add esp, 0x218
ret

Function at 0x4781a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a89c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xc], ebx
call fcn.004a581f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4781e7
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], esi
call fcn.00478090
add esp, 4
test eax, eax
je 0x478237
push str._safemon360tray.exe
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040d150
mov eax, dword [eax]
add esp, 0xc
push eax
mov ebx, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478237
mov esi, ebx
test bl, 1
je 0x47825c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47825c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478284
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4782a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a8a11
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4782e5
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x28], 0
call fcn.00478090
add esp, 4
test eax, eax
je 0x47836c
push str._safemon360tray.exe
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040d150
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
push eax
mov byte [esp + 0x28], 1
mov dword [esp + 0x14], ebx
call esi
test eax, eax
je 0x47836c
push str.hipsver.dll
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040d150
mov eax, dword [eax]
add esp, 0xc
push eax
mov ebx, 3
call esi
test eax, eax
je 0x47836c
lea esi, [ebx - 2]
jmp 0x47836e
xor esi, esi
test bl, 2
je 0x47839a
mov eax, dword [esp + 0x14]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47839a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0
test bl, 1
je 0x4783c7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4783c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4783ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x478410
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a8a38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xc], ebx
call fcn.004a581f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x478457
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], esi
call fcn.00478090
add esp, 4
test eax, eax
je 0x4784a7
push str.360leakfixer.exe
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040d150
mov eax, dword [eax]
add esp, 0xc
push eax
mov ebx, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4784a7
mov esi, ebx
test bl, 1
je 0x4784cc
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4784cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x478ab0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x23c]
push esi
mov ecx, ebx
call fcn.0040bf90
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x478afd
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x230
ret
push edi
push 0x228
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x22c
xor edi, edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x478b4f
push ebp
mov ebp, dword [esp + 0x244]
cmp dword [esp + 0x18], ebp
je 0x478b4a
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x478b33
jmp 0x478b4e
mov edi, dword [esp + 0x28]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
call fcn.00477b80
mov ecx, dword [esp + 0x240]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x230
ret
Function at 0x478d50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a8b61
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x294], eax
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2b4]
push 0x20
push str.00000000000000000000000000000000
mov ecx, edi
call fcn.0040c660
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0xaa]
push ecx
mov word [esp + 0xac], ax
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x5bf4d8
push str.SOFTWARE360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 0x200
mov dword [esp + 0x2c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x478e34
xor edx, edx
lea eax, [esp + 0xa0]
mov word [esp + 0xf8], dx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x478e10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
call fcn.0040c660
jmp 0x478f5c
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004789e0
push str.360Base.dll
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x2c0], 0
call fcn.0040d150
add esp, 0x14
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2ac], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004887d0
add esp, 4
test eax, eax
je 0x478f31
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x478f31
mov dword [esp + 0xc], 0
push str.CreateObject
push esi
mov byte [esp + 0x2b4], 3
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
push ecx
push 0x5ca638
call eax
test eax, eax
jl 0x478f12
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call fcn.004e5fc0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 0xc
push 0x40
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0040d680
mov eax, dword [esp + 0xc]
mov byte [esp + 0x2ac], 2
test eax, eax
je 0x478f2a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478f5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x2a4
ret
Function at 0x478f90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a8bb1
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x294], eax
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2b4]
push 0x20
push str.00000000000000000000000000000000
mov ecx, edi
call fcn.0040c660
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0xaa]
push ecx
mov word [esp + 0xac], ax
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x5bf4e0
push str.SOFTWARE360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 0x200
mov dword [esp + 0x2c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x479074
xor edx, edx
lea eax, [esp + 0xa0]
mov word [esp + 0xe0], dx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x479050
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
call fcn.0040c660
jmp 0x47919c
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004789e0
push str.360Base.dll
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x2c0], 0
call fcn.0040d150
add esp, 0x14
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2ac], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4790c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004887d0
add esp, 4
test eax, eax
je 0x479171
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x479171
mov dword [esp + 0xc], 0
push str.CreateObject
push esi
mov byte [esp + 0x2b4], 3
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
push ecx
push 0x5ca6bc
call eax
test eax, eax
jl 0x479152
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call fcn.004e5fc0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 0xc
push 0x40
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0040d680
mov eax, dword [esp + 0xc]
mov byte [esp + 0x2ac], 2
test eax, eax
je 0x47916a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47919c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x2a4
ret
Function at 0x47b4a0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x24], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push 1
lea eax, [esp + 0x1c]
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x5c6150
push esi
lea eax, [esp + 0x14]
lea edx, [esp + 0x20]
push eax
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x47b529
cmp eax, 5
jne 0x47b552
cmp dword [esp + 0x34], esi
je 0x47b54d
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push 0
push ecx
call fcn.0040e2c0
add esp, 8
call fcn.00477620
add esp, 4
test eax, eax
je 0x47b552
mov esi, 1
test edi, edi
je 0x47b55d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x28
ret
Function at 0x4841a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5a9b39
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebp
call fcn.004297c0
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push ebp
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484209
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x3c]
push esi
call fcn.00483fd0
add esp, 4
mov eax, dword [esi]
push ebp
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], 1
call edi
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.004a581f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x48424d
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x1e]
movzx eax, word [esp + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._4d_02d_02d
push ecx
mov dword [esp + 0x48], 1
call fcn.0040cbe0
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp - 0xc]
add esp, 0x14
push eax
push ebp
mov ecx, esi
call fcn.0040c9c0
mov eax, dword [esi]
push 0
push eax
call edi
push 1
push 0x5bda1c
mov ecx, esi
call fcn.0040c9c0
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4842c8
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
movzx ecx, word [esp + 0x28]
movzx edx, word [esp + 0x26]
movzx eax, word [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str._02d_02d_02d.log
push ecx
mov byte [esp + 0x48], 2
call fcn.0040cbe0
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
add esp, 0x14
push eax
push edi
mov ecx, esi
call fcn.0040c9c0
lea eax, [edi - 0x10]
mov byte [esp + 0x34], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484332
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484354
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret