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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fb12
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x10081708]
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.10037849
add esp, 8
test eax, eax
je 0x10023f67
add eax, 2
mov dword [ebp - 0x42c], eax
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024adc
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 0x10023fb3
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 0x10024ae6
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 0x10024af0
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 0x10024afa
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 0x10024b04
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 0x1006754c
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 0x100240a1
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.10037300
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x1008350c]
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 0x10024b0e
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 0x10024142
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024120
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 0x10024b18
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x434], eax
push 0x100643c0
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0xa
call fcn.10003a90
test al, al
jne 0x1002418f
push 1
push 0x100643c0
lea ecx, [ebp - 0x434]
call fcn.10003730
mov byte [ebp - 4], 0xb
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b22
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.10019630
mov esi, eax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
push str.360sd.exe
call fcn.10019630
add esp, 0x1c
test esi, esi
jne 0x10024215
test eax, eax
je 0x10024289
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x10024289
call fcn.100231f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100446ad
add esp, 4
call fcn.1004468c
cdq
mov ecx, 0x64
idiv ecx
cmp edx, esi
jl 0x10024289
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1002425d
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 0x100243b1
lea eax, [ebp - 0x438]
push 1
push eax
call fcn.10029010
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 0x10067750
push dword [ebp - 0x438]
call fcn.10005350
mov ecx, dword [edi + 0x38]
add esp, 0x1c
test ecx, ecx
je 0x100242ed
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 0x10024335
push 1
push dword [ebp - 0x43c]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10024335
lea ecx, [ebp - 0x43c]
call fcn.10009480
push 7
push str._hdfail
jmp 0x10024382
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 0x1002436e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1002436e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10024350
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 0x100243b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x420]
push eax
call fcn.10026340
add esp, 4
test eax, eax
jne 0x100243e6
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x458]
push str.fail_check_sign_s
push eax
call fcn.10023f00
add esp, 0xc
xor edi, edi
jmp 0x10024a26
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b2c
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 0x10024480
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 0x10024578
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1002451a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1002456c
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002456c
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 0x1002456c
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.1003c752
add esp, 8
test eax, eax
js 0x10024ad2
cmp eax, dword [esi - 8]
jg 0x10024ad2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x100245e0
cmp dword [ebp - 0x424], ecx
je 0x1002476f
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 0x1002476f
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x10024b36
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.10023f00
add esp, 0x1c
cmp dword [ebp - 0x428], 0
je 0x1002474d
cmp dword [ebp - 0x45c], 0
je 0x1002474d
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 0x10024769
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x428]
test edi, edi
jne 0x10024948
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.10037300
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 0x10024808
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 0x10024841
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.10026340
add esp, 0xc
test eax, eax
jne 0x1002486c
xor edi, edi
jmp 0x10024a08
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 0x10024893
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100248df
push str.CLSE
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x100248b6
push 0x490
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100248df
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.10023f00
mov edi, dword [ebp - 0x428]
add esp, 0x10
test edi, edi
je 0x10024948
cmp dword [ebp - 0x424], 0
je 0x10024948
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 0x10024962
sub ecx, dword [ebp - 0x430]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x434]
call fcn.10008660
mov ecx, dword [0x10083550]
test ecx, ecx
jne 0x100249e6
push 0x10080150
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10083550], 0
jne 0x100249d5
push 0x1c
call fcn.1002bba2
add esp, 4
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x100249c3
mov ecx, eax
call fcn.10003d10
mov ecx, eax
jmp 0x100249c5
xor ecx, ecx
mov byte [ebp - 4], 0xf
xchg dword [ebp - 0x430], eax
mov dword [0x10083550], ecx
push 0x10080150
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10083550]
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 0x10024a26
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 0x10024a47
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 0x10024a68
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 0x10024a89
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 0x10024aa8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x458]
call fcn.10023d80
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.1002bf51
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