joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424800
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a1a78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
call fcn.004a581f
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x424841
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 + 0x70], esi
call fcn.00478090
add esp, 4
or edi, 0xffffffff
test eax, eax
je 0x424939
push 0x14
push 0x5be598
lea ecx, [esp + 0x14]
call fcn.0040c9c0
push 0x40
lea edx, [esp + 0x28]
push esi
push edx
call fcn.004e5fc0
mov ecx, dword [esp + 0x18]
mov eax, 5
add esp, 0xc
mov word [esp + 0x50], ax
xor eax, eax
push ecx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424939
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x424939
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
cmp dword [esp + 0x74], edi
jne 0x424939
lea ecx, [esp + 0xc]
call fcn.0040c150
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x6c], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x42495a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
Function at 0x424980
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a1ab0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4249bf
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], 0
call fcn.00478090
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
je 0x424a82
add eax, 0xfffffff0
push eax
call fcn.0040c050
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x14
push str.deepscanBFSDRV.sys
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.0040c9c0
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424a46
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 0x424a6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
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 0x424aa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x425370
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a1c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x214]
mov dword fs:[0], eax
cmp dword [esp + 0x224], 1
jne 0x425479
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004e5fc0
add esp, 0xc
push 0
push 0x2e
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x425479
lea eax, [esp + 8]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4253f0
sub eax, edx
sar eax, 1
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + 0xc]
push 0x5bf3a8
push edx
call fcn.004e6b29
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x425479
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.0040e080
lea edx, [esp + 4]
push edx
mov dword [esp + 0x220], 0
call fcn.00423d30
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x21c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425479
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x21c
ret 4
Function at 0x4254a0
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5a1c81
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x50c], eax
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x518]
mov dword fs:[0], eax
push str._uplog
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x425680
lea eax, [esp + 0x10]
push eax
call fcn.00423760
push str.360SDDataDriv.dat
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x530], 0
call fcn.0040d150
add esp, 0x10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x520], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x40
lea edx, [esp + 0x9c]
push edx
push 0
push 0x5bf50c
push str.uploadlogfile
call esi
mov eax, dword [esp + 8]
push eax
push 0x40
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x5bf4e8
push str.uploadlogfile
call esi
mov edx, dword [esp + 8]
push edx
push 0x100
lea eax, [esp + 0x31c]
push eax
push 0
push 0x5bf4e0
push str.uploadlogfile
call esi
mov ecx, dword [esp + 8]
push ecx
push 0x100
lea edx, [esp + 0x11c]
push edx
push 0
push 0x5bf4d8
push str.uploadlogfile
call esi
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4255d9
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 + 0x114]
push ecx
lea edx, [esp + 0x318]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x1c]
push str.http:__sd.360.cn_uninstall_quiz.html_ver_spid_smid_sm2_s
push edx
mov byte [esp + 0x538], 3
call fcn.0040cbe0
mov esi, dword [esp + 0x24]
push esi
call fcn.00474e70
lea eax, [esi - 0x10]
add esp, 0x1c
mov byte [esp + 0x520], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42564e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x520], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425679
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x425682
xor eax, eax
mov ecx, dword [esp + 0x518]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x51c
ret
Function at 0x4256b0
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a1cd1
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._customize:
call ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4258c2
lea eax, [esp + 0x18]
push eax
call fcn.004238b0
push str._safemonwdefence.dll
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x678], 0
call fcn.0040d150
add esp, 0x10
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x668], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42575b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425788
mov edx, dword [esp + 0x14]
push edx
call fcn.00488450
add esp, 4
test eax, eax
je 0x425788
mov eax, dword [esp + 0x14]
push eax
call fcn.00452200
add esp, 4
mov eax, str._customize:
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425790
sub eax, edx
sar eax, 1
lea ecx, [esi + eax*2]
push ecx
call fcn.004e65ff
add esp, 4
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4257ba
xor edi, edi
push str._chk:
xor esi, esi
call ebp
push eax
call ebx
test eax, eax
je 0x4257ef
mov ecx, str._chk:
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4257d2
sub ecx, esi
sar ecx, 1
lea eax, [eax + ecx*2]
push eax
call fcn.004e65e9
add esp, 4
mov esi, eax
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
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
call fcn.004b1643
mov eax, dword [eax + 8]
lea edx, [esp + 0x1c]
push edx
push str.32770
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x425854
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 8
mov dword [esp + 0x44], str.Q360DepClass
call fcn.004aea77
push edi
call fcn.004ab8ab
push eax
lea ecx, [esp + 0x48]
call fcn.0043de70
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x66c], 3
call fcn.0043d8e0
lea ecx, [esp + 0x44]
call fcn.0049b3e0
lea ecx, [esp + 0x44]
mov byte [esp + 0x668], 2
call fcn.0041e0f0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x668], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4258bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4258c4
xor eax, eax
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x658
ret
Function at 0x4258f0
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a1d21
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push str._checkpwd:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x425a65
lea eax, [esp + 0x10]
push eax
call fcn.004238b0
push str._safemonwdefence.dll
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x150], 0
call fcn.0040d150
add esp, 0x10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x140], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425989
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4259b6
mov edx, dword [esp + 0xc]
push edx
call fcn.00488450
add esp, 4
test eax, eax
je 0x4259b6
mov eax, dword [esp + 0xc]
push eax
call fcn.00452200
add esp, 4
mov eax, str._checkpwd:
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4259c0
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2]
push eax
call fcn.004e65ff
add esp, 4
push eax
call fcn.004ab8ab
push eax
lea ecx, [esp + 0x18]
call fcn.0043c5c0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.0043c9f0
test eax, eax
je 0x425a0c
mov dword [edi + 0xa4], 0x400
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.0043c840
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425a48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret
Function at 0x425a80
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a1d71
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push str._newpwd:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x425bfa
lea eax, [esp + 0x10]
push eax
call fcn.004238b0
push str._safemonwdefence.dll
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x150], 0
call fcn.0040d150
add esp, 0x10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x140], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425b19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425b46
mov edx, dword [esp + 0xc]
push edx
call fcn.00488450
add esp, 4
test eax, eax
je 0x425b46
mov eax, dword [esp + 0xc]
push eax
call fcn.00452200
add esp, 4
mov eax, str._newpwd:
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425b50
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2]
push eax
call fcn.004e65ff
add esp, 4
push eax
call fcn.004ab8ab
push eax
push 0x98
lea ecx, [esp + 0x1c]
call fcn.00444340
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.004443d0
test eax, eax
je 0x425ba1
mov dword [edi + 0xa4], 0x400
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.004443b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret
Function at 0x425c20
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a1dc1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push str._chgpwd:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x425d9a
lea eax, [esp + 0x10]
push eax
call fcn.004238b0
push str._safemonwdefence.dll
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x150], 0
call fcn.0040d150
add esp, 0x10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x140], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425cb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425ce6
mov edx, dword [esp + 0xc]
push edx
call fcn.00488450
add esp, 4
test eax, eax
je 0x425ce6
mov eax, dword [esp + 0xc]
push eax
call fcn.00452200
add esp, 4
mov eax, str._chgpwd:
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425cf0
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2]
push eax
call fcn.004e65ff
add esp, 4
push eax
call fcn.004ab8ab
push eax
push 0x98
lea ecx, [esp + 0x1c]
call fcn.00444340
push 2
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.004443d0
test eax, eax
je 0x425d41
mov dword [edi + 0xa4], 0x400
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.004443b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425d7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret

Function at 0x425dc0
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]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x1c], ax
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push 0x5bf618
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425e62
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0x5bf608
push eax
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0040e080
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x218
ret
Function at 0x425e90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5a1df8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor edi, edi
lea esi, [esp + 0x14]
xor ebx, ebx
call fcn.00424450
push str.dep360.ini
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x2c], ebx
call fcn.0040d150
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425f02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push str.Mode
push str.UnDefenceString
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x425f1f
mov ebx, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425f3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x426eb0
Capabilities:
Accept command line arguments
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5a1ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
push str._start
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x426ffc
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040e2c0
push str.360tray.tmp
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x3c], 0
call fcn.0040d150
mov eax, dword [eax]
add esp, 0x14
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426f46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x426fe4
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.0040e2c0
push str.360tray.tmp
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x3c], 1
call fcn.0040d150
mov eax, dword [eax]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426fbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x426fdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebx
call fcn.00418fd0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret