Function at 0x100046e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102399a2
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x102cd06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x3bc], esi
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100a55e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004770
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10021c20
cmp dword [esi + 0xa4], 0
jbe 0x10004922
lea eax, [ebp - 0x234]
push eax
call fcn.1000ad20
mov ecx, eax
call fcn.1005189b
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [esi + 0x94]
mov ecx, esp
push eax
call fcn.1001ef10
lea eax, [ebp - 0x294]
push eax
call fcn.10049263
add esp, 0x20
mov byte [ebp - 4], 2
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x100047e9
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x224]
sub eax, ebx
cmp ecx, eax
ja 0x1000483a
cmp dword [ebp - 0x220], 8
lea esi, [ebp - 0x234]
lea eax, [ecx + ecx]
cmovae esi, dword [ebp - 0x234]
lea edi, [ebx + ecx]
push eax
push edx
mov dword [ebp - 0x224], edi
lea eax, [esi + ebx*2]
push eax
call fcn.100a5060
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x3bc]
jmp 0x10004855
push ecx
push edx
mov byte [ebp - 0x3b8], 0
push dword [ebp - 0x3b8]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1001c7e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x10004899
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000488f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004bc2
push edx
push ecx
call fcn.100451dd
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100048de
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x264]
push eax
call fcn.10021c20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10004922
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004918
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004bc7
push edx
push ecx
call fcn.100451dd
add esp, 8
push 0x3a8
sub esp, 0x18
lea eax, [esi + 0xf4]
mov ecx, esp
push eax
call fcn.1001ef10
lea eax, [ebp - 0x27c]
push eax
call fcn.10049263
mov byte [ebp - 4], 3
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x268], 8
cmovae eax, dword [ebp - 0x27c]
push eax
push str._3399340260
push str._5944522662
lea eax, [ebp - 0x24c]
push str._s__s_s
push eax
call fcn.10047b56
add esp, 0x34
mov byte [ebp - 4], 4
call fcn.1004c44f
test al, al
je 0x10004a74
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10004a74
cmp dword [eax + 4], 4
jl 0x10004a74
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push str.1120
cmovae eax, dword [ebp - 0x24c]
mov dword [ebp - 0x3b8], eax
call fcn.1004bfd9
sub esp, 8
mov esi, eax
push 0x124
push str.CCloudTaskServer::StartDllProcess
push ecx
lea ecx, [ebp - 0x3b4]
call fcn.100216e0
mov ebx, eax
mov edi, 0x102b5be0
mov byte [ebp - 4], 5
test esi, esi
mov ecx, edi
cmovne ecx, esi
lea esi, [ebx + 0x30]
push ecx
push esi
call fcn.1001cf70
push 0x102b554c
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x3bc]
add esp, 0x10
mov ecx, esi
push dword [eax]
call fcn.10015e30
push 0x102b5bdc
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x3bc]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.10015e30
push 0x102b5564
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x3b8]
test eax, eax
cmovne edi, eax
push edi
push esi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 0x10
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 4
call fcn.1001d4e0
cmp dword [ebp - 0x250], 8
lea ecx, [ebp - 0x264]
push 0
cmovae ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x24c]
push 0
push ecx
push eax
call fcn.10052c02
mov edx, dword [ebp - 0x238]
add esp, 0x14
cmp edx, 8
jb 0x10004aec
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004ae2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004bcc
push edx
push ecx
call fcn.100451dd
add esp, 8
mov edx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
cmp edx, 8
jb 0x10004b49
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004b3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004bd1
push edx
push ecx
call fcn.100451dd
add esp, 8
mov edx, dword [ebp - 0x250]
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp edx, 8
jb 0x10004ba2
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004b98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004bd6
push edx
push ecx
call fcn.100451dd
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret 4
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
int3