Function at 0x10024970
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x101880e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebp
push esi
push edi
mov esi, ecx
call fcn.10024710
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], 0x44
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], eax
xor ebp, ebp
mov dword [esp + 0x40], eax
push 0x101f1d00
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], eax
call fcn.10032fc0
push str.TksFrame32.dll
lea ecx, [esp + 0x10]
mov dword [esp + 0x98], ebp
call fcn.10032fc0
mov ecx, dword [0x101f1cf8]
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x9c], 1
call fcn.10012380
add esp, 8
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [esp + 0x94], 2
cmp dword [eax - 8], ebp
je 0x10024aa7
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10032d60
push 0x101ae4fc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 3
call fcn.100343b0
push str.TKSDoc32.dll
lea ecx, [esp + 0x1c]
call fcn.100343b0
mov edx, dword [esp + 0x18]
push edx
call edi
cmp eax, 0xffffffff
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x18]
jne 0x10024aa2
call fcn.10033760
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 1
call fcn.10033760
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0
call fcn.10033760
lea ecx, [esp + 0x1c]
mov dword [esp + 0x94], 0xffffffff
call fcn.10033760
xor eax, eax
jmp 0x10024ea1
call fcn.10033760
mov eax, dword [0x101f1d98]
cmp eax, ebp
je 0x10024ad3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str.CMonClientThread::RunServerProc___Module__s__Dir__s_
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x18
push 0x101f1d00
lea ecx, [esp + 0x14]
call fcn.10032fc0
mov byte [esp + 0x94], 4
call fcn.1006cf80
test eax, eax
push str.winrdlv3.exe
je 0x10024b09
call fcn.10010030
push eax
lea edx, [esp + 0x18]
push 0x101aeb2c
push edx
jmp 0x10024b19
call fcn.1000f5d0
push eax
lea eax, [esp + 0x18]
push 0x101aeb2c
push eax
call fcn.100366e0
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call edi
cmp eax, 0xffffffff
je 0x10024b5b
call fcn.10010030
push eax
lea ecx, [esp + 0x18]
call fcn.10038380
test eax, eax
je 0x10024c3d
call fcn.1000f5d0
push eax
lea ecx, [esp + 0x18]
call fcn.10038380
test eax, eax
je 0x10024c3d
call fcn.1006cf80
test eax, eax
push str.rundll32.exe
je 0x10024b7b
call fcn.10010030
push eax
lea edx, [esp + 0x18]
push 0x101aeb2c
push edx
jmp 0x10024b8b
call fcn.1000f5d0
push eax
lea eax, [esp + 0x18]
push 0x101aeb2c
push eax
call fcn.100366e0
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebp
push ecx
call fcn.1007c7d0
add esp, 8
test eax, eax
jne 0x10024bbc
push str.rundll32.exe
lea edx, [esp + 0x14]
push 0x101aeed4
push edx
call fcn.100366e0
add esp, 0xc
push str.TksFrame32.dll
lea ecx, [esp + 0x10]
call fcn.100339e0
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
call fcn.100338f0
push 0x101ae4fc
lea ecx, [esp + 0x10]
call fcn.100343b0
push str.TksFrame32.dll
lea ecx, [esp + 0x10]
call fcn.100343b0
push 0x101f1d00
lea ecx, [esp + 0x1c]
call fcn.10032fc0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push str.__s_
push edx
mov byte [esp + 0xa0], 5
call fcn.100366e0
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
call fcn.100338f0
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x18]
jmp 0x10024c97
push 0x101ae3e8
lea ecx, [esp + 0x10]
call fcn.10033ac0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.100338f0
push 0x101ae4fc
lea ecx, [esp + 0x10]
call fcn.100343b0
push 0x101ae3e8
lea ecx, [esp + 0x24]
call fcn.10032e60
lea edx, [esp + 0x20]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x98], 6
call fcn.10034410
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x20]
call fcn.10033760
push 0x101f1d00
lea ecx, [esp + 0x28]
call fcn.10032fc0
lea eax, [esi + 0x34]
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 7
call fcn.100405b0
mov ecx, dword [esi + 0x28]
mov byte [esp + 0x94], 8
cmp ecx, ebp
je 0x10024cfd
lea edx, [esp + 0x20]
push edx
call fcn.10022d80
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 9
call fcn.100338f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 8
call fcn.10033760
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
push str.TksDocRunService
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s__s__s__systemname___s_
push eax
call fcn.100366e0
mov eax, dword [0x101f1d98]
add esp, 0x18
cmp eax, ebp
je 0x10024d6f
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.10032d60
mov edx, dword [eax]
mov byte [esp + 0x94], 0xa
push edx
push str.CMonClientThread::RunServerProc____s
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 8
call fcn.10033760
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
push eax
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebp
jne 0x10024e1c
mov eax, dword [0x10191758]
mov dword [esp + 0x20], eax
mov byte [esp + 0x94], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x24]
push str._CreateProcess_Err:_08x
push ecx
call fcn.10031240
mov eax, dword [0x101f1d98]
add esp, 0xc
cmp eax, ebp
je 0x10024e09
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push edx
call fcn.10032e60
mov eax, dword [eax]
mov byte [esp + 0x94], 0xc
push eax
push str.CMonClientThread::RunServerProc____s
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xb
call fcn.10033760
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 8
call fcn.1002e3e0
jmp 0x10024e36
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
mov dword [esi + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, 1
mov dword [esi + 0x2c], ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 7
call fcn.10040610
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 4
call fcn.10033760
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 2
call fcn.10033760
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 1
call fcn.10033760
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 0
call fcn.10033760
lea ecx, [esp + 0x1c]
mov dword [esp + 0x94], 0xffffffff
call fcn.10033760
mov eax, ebp
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x8c
ret