Function at 0x10023f00
Capabilities:
Check if file exists
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa62
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x100816f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x2a
push esi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], esi
call fcn.10037789
add esp, 8
test eax, eax
je 0x10023f57
add eax, 2
mov dword [ebp - 0x42c], eax
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024acc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x428], eax
push str.ExpRunTrayIconDll
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.10003a90
test al, al
jne 0x10023fa3
push 0x11
push str.ExpRunTrayIconDll
lea ecx, [ebp - 0x428]
call fcn.10003730
mov dword [ebp - 4], 1
mov dword [ebp - method.LdsCommon::CMyLdsLogger.virtual_0], vtable.LdsCommon::CMyLdsLogger.0
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024ad6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 2
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024ae0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 3
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024aea
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 4
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024af4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x454]
call fcn.10003980
lea ecx, [ebp - 0x44c]
call fcn.10009480
push 3
push 0x100674fc
lea ecx, [ebp - 0x450]
call fcn.10003730
mov edx, dword [ebp - 0x428]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10037240
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x100834fc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024afe
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x440]
call fcn.10003a90
test al, al
jne 0x10024132
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024110
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.10003730
mov byte [ebp - 4], 9
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b08
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x434], eax
push 0x100643a0
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0xa
call fcn.10003a90
test al, al
jne 0x1002417f
push 1
push 0x100643a0
lea ecx, [ebp - 0x434]
call fcn.10003730
mov byte [ebp - 4], 0xb
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b12
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x43c], eax
push str.popex.dll
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.10004fc0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0xd
push eax
push str.360tray.exe
mov dword [ebp - 0x424], 0
call fcn.10019610
mov esi, eax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
push str.360sd.exe
call fcn.10019610
add esp, 0x1c
test esi, esi
jne 0x10024205
test eax, eax
je 0x10024279
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x10024279
call fcn.100231e0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100445ed
add esp, 4
call fcn.100445cc
cdq
mov ecx, 0x64
idiv ecx
cmp edx, esi
jl 0x10024279
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1002424d
call fcn.10012e30
push eax
push str.taskid:_d_no_rand_trayicon
call fcn.100133d0
add esp, 8
push str.rundll.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 7
push str._hdnone
lea ecx, [ebp - 0x434]
call fcn.10008660
or esi, 0xffffffff
jmp 0x100243a1
lea eax, [ebp - 0x438]
push 1
push eax
call fcn.10028f50
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x424], 0
push eax
lea eax, [ebp - 0x440]
push eax
push 0x10067700
push dword [ebp - 0x438]
call fcn.10005350
mov ecx, dword [edi + 0x38]
add esp, 0x1c
test ecx, ecx
je 0x100242dd
push dword [ebp - 0x43c]
call fcn.10012e30
push eax
push str.taskid:_d_strRundllTmpFileLink:_s
call fcn.100133d0
add esp, 0xc
push str.rundll.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x424], 0
jne 0x10024325
push 1
push dword [ebp - 0x43c]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10024325
lea ecx, [ebp - 0x43c]
call fcn.10009480
push 7
push str._hdfail
jmp 0x10024372
mov esi, dword [ebp - 0x43c]
lea ecx, [ebp - 0x420]
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1002435e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1002435e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10024340
test edx, edx
lea eax, [ecx - 2]
push 5
cmovne eax, ecx
xor ecx, ecx
push str._hdok
mov word [eax], cx
lea ecx, [ebp - 0x434]
call fcn.10008660
mov edx, dword [ebp - 0x438]
or esi, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100243a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x420]
push eax
call fcn.100262e0
add esp, 4
test eax, eax
jne 0x100243d6
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x458]
push str.fail_check_sign_s
push eax
call fcn.10023ef0
add esp, 0xc
xor edi, edi
jmp 0x10024a16
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b1c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x438], eax
push dword [ebp - 0x42c]
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xf
push str.RunTrayIcon
push dword [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push str.__s____dll__s____entry_s__s
push eax
call fcn.10003420
mov ecx, dword [edi + 0x38]
add esp, 0x18
mov dword [ebp - 0x424], 0
call fcn.10012e30
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x428]
push eax
call fcn.100167c0
mov ecx, eax
call fcn.10014270
mov esi, dword [ebp - 0x438]
cmp dword [esi - 4], 1
jle 0x10024470
push dword [esi - 0xc]
lea ecx, [ebp - 0x438]
call fcn.100033a0
mov esi, dword [ebp - 0x438]
xorps xmm0, xmm0
mov dword [ebp - 0x49c], 0x44
xor eax, eax
movlpd qword [ebp - 0x498], xmm0
mov word [ebp - 0x45a], ax
xor edi, edi
mov eax, 1
movlpd qword [ebp - 0x490], xmm0
movlpd qword [ebp - 0x488], xmm0
movlpd qword [ebp - 0x480], xmm0
movlpd qword [ebp - 0x478], xmm0
movlpd qword [ebp - 0x46a], xmm0
movlpd qword [ebp - 0x462], xmm0
movups xmmword [ebp - 0x4ac], xmm0
mov dword [ebp - 0x470], 0x81
mov word [ebp - 0x46c], ax
call fcn.10009970
mov dword [ebp - 0x428], eax
test eax, eax
je 0x10024568
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1002450a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1002455c
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002455c
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x49c]
push ecx
push 0
push 0
push 0
push esi
push 0
push 0
push dword [ebp - 0x428]
call eax
test eax, eax
je 0x1002455c
push dword [ebp - 0x4a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4ac]
mov edi, 1
mov dword [ebp - 0x424], eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi - 8]
push esi
call fcn.1003c692
add esp, 8
test eax, eax
js 0x10024ac2
cmp eax, dword [esi - 8]
jg 0x10024ac2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x100245d0
cmp dword [ebp - 0x424], ecx
je 0x1002475f
mov ecx, dword [ebp - 0x430]
mov ecx, dword [ecx + 0x38]
call fcn.10012e30
push dword [ebp - 0x424]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x42c]
push eax
call fcn.100167c0
mov ecx, eax
call fcn.10014410
jmp 0x1002475f
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b26
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0x10
push str.RunTrayIcon
push dword [ebp - 0x444]
push str.__dll__s____entry_s__s
push eax
call fcn.10003420
mov edi, dword [ebp - 0x424]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LastError:_d__cmd_s
call fcn.100133d0
add esp, 0xc
mov dword [ebp - 0x47c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x45c], 0
lea eax, [ebp - 0x420]
movlpd qword [ebp - 0x474], xmm0
movlpd qword [ebp - 0x46c], xmm0
push 0
movlpd qword [ebp - 0x464], xmm0
mov dword [ebp - 0x494], 0x3c
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x490], 0x1140
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x478], 5
mov dword [ebp - 0x488], str.open
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x428]
mov dword [ebp - 0x42c], eax
push eax
push str.ShellExecuteEx_api__errcode_lu__hRet_d
call fcn.100133d0
push dword [ebp - 0x428]
lea eax, [ebp - 0x458]
push dword [ebp - 0x42c]
push str.ShellExecuteEx_api__errcode_lu__hRet_d
push eax
call fcn.10023ef0
add esp, 0x1c
cmp dword [ebp - 0x428], 0
je 0x1002473d
cmp dword [ebp - 0x45c], 0
je 0x1002473d
mov ecx, dword [ebp - 0x430]
mov ecx, dword [ecx + 0x38]
call fcn.10012e30
push dword [ebp - 0x45c]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x42c]
push eax
call fcn.100167c0
mov ecx, eax
call fcn.10014410
mov byte [ebp - 4], 0xf
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10024759
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x428]
test edi, edi
jne 0x10024938
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.10037240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.lpiHpSvc.dll
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100247f8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.lpiWpSvc.dll
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10024831
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.lpiTmSvc.dll
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
push str.Lds_CallLudashiServiceEx_szSvcPath_s
call fcn.100133d0
lea eax, [ebp - 0x218]
push eax
call fcn.100262e0
add esp, 0xc
test eax, eax
jne 0x1002485c
xor edi, edi
jmp 0x100249f8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x424], 0
test edi, edi
jne 0x10024883
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100248cf
push str.CLSE
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x100248a6
push 0x490
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100248cf
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea eax, [ebp - 0x424]
push eax
push str.processid
push esi
lea eax, [ebp - 0x420]
push eax
push str.createprocess
call dword [ebp - 0x42c]
mov eax, dword [ebp - 0x424]
xor ecx, ecx
push eax
test eax, eax
lea eax, [ebp - 0x458]
push edi
setne cl
push str.Lds_CallLudashiServiceEx__p__u
push eax
mov dword [ebp - 0x428], ecx
call fcn.10023ef0
mov edi, dword [ebp - 0x428]
add esp, 0x10
test edi, edi
je 0x10024938
cmp dword [ebp - 0x424], 0
je 0x10024938
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax + 0x38]
call fcn.10012e30
push dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x430]
push eax
call fcn.100167c0
mov ecx, eax
call fcn.10014440
mov eax, str._exfail
test edi, edi
mov edx, str._exok
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x430], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024952
sub ecx, dword [ebp - 0x430]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x434]
call fcn.10008660
mov ecx, dword [0x10083540]
test ecx, ecx
jne 0x100249d6
push 0x10080150
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10083540], 0
jne 0x100249c5
push 0x1c
call fcn.1002bae2
add esp, 4
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x100249b3
mov ecx, eax
call fcn.10003d10
mov ecx, eax
jmp 0x100249b5
xor ecx, ecx
mov byte [ebp - 4], 0xf
xchg dword [ebp - 0x430], eax
mov dword [0x10083540], ecx
push 0x10080150
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10083540]
mov eax, dword [ecx]
push 1
push 0
push dword [ebp - 0x434]
push 0x10061b08
push ecx
call dword [eax]
push edi
push str.Start_by_rundll._bSuccess_d
call fcn.100133d0
add esp, 8
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xd
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024a16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x444]
mov eax, esi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024a37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x43c]
mov eax, esi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024a58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
mov eax, esi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024a79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x440]
mov byte [ebp - 4], 7
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10024a98
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x458]
call fcn.10023d70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002be91
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
push 0x80004005
call fcn.100031a0
int3