Function at 0x41687b
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x25c
mov eax, 0x465ee9
call fcn.0044584f
mov edi, ecx
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x264]
push dword [esi + 4]
call fcn.00401720
and dword [ebp - 4], 0
mov ebx, str._UpdateAndCopy
push ebx
call fcn.004012f1
pop ecx
push eax
push ebx
push dword [ebp - 0x254]
lea ecx, [ebp - 0x264]
push 0
call fcn.00402823
test eax, eax
jne 0x4168cd
mov dword [edi + 4], 1
push dword [esi + 8]
lea ebx, [edi + 0x98]
call fcn.004012f1
pop ecx
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.00401a41
mov eax, dword [ebp + 8]
push 0x24
mov dword [edi + 8], eax
call fcn.004428fc
mov esi, eax
pop ecx
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x416922
push ebx
lea ecx, [esi + 0xc]
mov dword [esi], vtable.CParamMgr.0
mov dword [esi + 4], edi
mov dword [esi + 8], 0x495888
call fcn.00404375
xor ebx, ebx
jmp 0x416926
xor ebx, ebx
mov esi, ebx
mov byte [ebp - 4], bl
mov dword [edi + 0xc], esi
test esi, esi
je 0x416945
mov ecx, esi
call fcn.00414eda
test eax, eax
jne 0x416965
mov dword [edi + 0x188], 0x7534
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x264]
call fcn.00401833
mov eax, esi
lea esp, [ebp - 0x278]
call fcn.004457fe
ret 8
mov esi, 0x47fcf8
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416983
mov esi, ebx
jmp 0x41699b
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x47fcf8
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x47fcf8
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x14
lea ecx, [edi + 0x20]
push eax
push esi
call fcn.00401a41
mov esi, 0x47fd5c
mov dword [ebp - 0x268], 1
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416a04
mov esi, ebx
jmp 0x416a1c
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x47fd5c
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x47fd5c
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
lea ebx, [edi + 0x50]
push esi
call fcn.004012f1
add esp, 0x14
mov ecx, ebx
push eax
push esi
call fcn.00401a41
cmp dword [ebx + 0x14], 8
jb 0x416a69
mov ecx, dword [ebx]
jmp 0x416a6b
mov ecx, ebx
call fcn.00402419
test eax, eax
jne 0x416aab
and dword [ebp - 0x268], eax
mov dword [edi + 0x188], 0x753c
cmp dword [ebx + 0x14], 8
jb 0x416a8c
mov ebx, dword [ebx]
push ebx
push str.Primary_Meeting_directory___s__IS_NOT_WRITABLE___
xor ebx, ebx
push ebx
push 4
push str.UpdateMgr.cpp
push 0x1fa
call fcn.0042ab69
add esp, 0x18
jmp 0x416aad
xor ebx, ebx
mov esi, 0x47fd80
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416acb
mov esi, ebx
jmp 0x416ae3
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x47fd80
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x47fd80
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
lea ebx, [edi + 0x68]
push esi
call fcn.004012f1
add esp, 0x14
mov ecx, ebx
push eax
push esi
call fcn.00401a41
cmp dword [ebp - 0x268], 0
jne 0x416b8b
cmp dword [ebx + 0x14], 8
jb 0x416b39
mov eax, dword [ebx]
jmp 0x416b3b
mov eax, ebx
push eax
call fcn.0040b2d9
cmp dword [ebx + 0x14], 8
pop ecx
jb 0x416b4c
mov ecx, dword [ebx]
jmp 0x416b4e
mov ecx, ebx
call fcn.00402419
test eax, eax
jne 0x416b8b
mov dword [edi + 0x188], 0x753c
cmp dword [ebx + 0x14], 8
jb 0x416b69
mov ebx, dword [ebx]
push ebx
push str.Secondary_meeting_directory___s__IS_NOT_WRITABLE___
xor ebx, ebx
push ebx
push 4
push str.UpdateMgr.cpp
push 0x206
call fcn.0042ab69
add esp, 0x18
jmp 0x416945
push 0x480938
push edi
call dword [0x4958a8]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004016e7
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], 0
je 0x416bd1
cmp dword [ebp - 0x238], 0x10
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call fcn.004440d4
pop ecx
mov dword [edi + 0x17c], eax
mov esi, 0x48076c
push esi
push edi
call dword [0x4958a8]
push eax
xor ebx, ebx
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416bf1
mov esi, ebx
jmp 0x416c09
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x48076c
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x48076c
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x14
lea ecx, [edi + 0xb0]
push eax
push esi
call fcn.00401a41
mov esi, 0x4807d0
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416c6b
mov esi, ebx
jmp 0x416c83
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x4807d0
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x4807d0
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x14
lea ecx, [edi + 0xc8]
push eax
push esi
call fcn.00401a41
mov esi, 0x47fd98
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416ce5
mov esi, ebx
jmp 0x416cfd
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x47fd98
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x47fd98
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
lea ebx, [edi + 0x38]
push esi
call fcn.004012f1
add esp, 0x14
mov ecx, ebx
push eax
push esi
call fcn.00401a41
push 8
pop esi
cmp dword [ebx + 0x14], esi
jb 0x416d4c
mov eax, dword [ebx]
jmp 0x416d4e
mov eax, ebx
push eax
call fcn.0040b2d9
pop ecx
cmp dword [ebx + 0x14], esi
jb 0x416d5e
mov eax, dword [ebx]
jmp 0x416d60
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416d92
mov dword [edi + 0x188], 0x753a
cmp dword [ebx + 0x14], esi
jb 0x416d7c
mov ebx, dword [ebx]
push ebx
push str.Create_update_directory___s__FAILED___
xor ebx, ebx
push ebx
push esi
push str.UpdateMgr.cpp
push 0x219
jmp 0x416dcb
cmp dword [ebx + 0x14], esi
jb 0x416d9b
mov ecx, dword [ebx]
jmp 0x416d9d
mov ecx, ebx
call fcn.00402419
test eax, eax
jne 0x416de8
mov dword [edi + 0x188], 0x753b
cmp dword [ebx + 0x14], esi
jb 0x416db7
mov ebx, dword [ebx]
push ebx
push str.Update_directory___s__IS_NOT_WRITABLE___
xor ebx, ebx
push ebx
push esi
push str.UpdateMgr.cpp
push 0x221
call fcn.0042ab69
add esp, 0x18
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x24c]
call fcn.004017ef
jmp 0x416947
mov esi, 0x47fe10
push esi
push edi
call dword [0x4958a8]
push eax
xor ebx, ebx
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416e08
mov esi, ebx
jmp 0x416e20
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x47fe10
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x47fe10
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x14
lea ecx, [edi + 0x110]
push eax
push esi
call fcn.00401a41
mov esi, 0x47fde4
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x416e82
mov esi, ebx
jmp 0x416e9a
push esi
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov esi, esp
push 0x47fde4
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429ff7
pop ecx
pop ecx
shr eax, 1
push eax
push esi
push 0x47fde4
push edi
call dword [0x4958a8]
push eax
push ebx
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x14
lea ecx, [edi + 0x128]
push eax
push esi
call fcn.00401a41
push 0xec
call fcn.004428fc
pop ecx
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x416f02
mov ecx, eax
call fcn.0042e47d
mov ecx, eax
jmp 0x416f04
mov ecx, ebx
mov byte [ebp - 4], 2
mov dword [edi + 0x10], ecx
test ecx, ecx
je 0x416dd3
mov eax, dword [ecx]
push 0x495888
push edi
call dword [eax + 0x10]
test eax, eax
je 0x416dd3
push 0x104
call fcn.004428fc
pop ecx
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x416f48
mov ecx, eax
call fcn.004101bb
jmp 0x416f4a
mov eax, ebx
mov byte [ebp - 4], 2
mov dword [edi + 0x14], eax
test eax, eax
je 0x416dd3
push edi
mov ecx, eax
call fcn.0041041a
test eax, eax
je 0x416dd3
mov ecx, edi
call fcn.00416283
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x184], eax
test eax, eax
jne 0x416fa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent_FAILED___d____
push ebx
push 8
push str.UpdateMgr.cpp
push 0x242
jmp 0x416dcb
mov esi, str._UpdateAndCopy
push esi
call fcn.004012f1
pop ecx
push eax
push esi
push dword [ebp - 0x254]
lea ecx, [ebp - 0x264]
push ebx
call fcn.00402823
test eax, eax
jne 0x416fd4
mov ecx, edi
call fcn.00415e0f
mov dword [edi + 0x18c], eax
cmp dword [edi + 0x18c], ebx
jne 0x41710e
mov esi, 0x47bb10
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [edi + 0x140]
call fcn.00401a41
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [edi + 0x158]
call fcn.00401a41
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401720
push ecx
push 0x47b858
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.00411ef0
inc eax
lea ecx, [ebp - 0x234]
push eax
call fcn.00401ce8
mov esi, str.atgpcdec.dll
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.00402a5c
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push str.strAtGpcDec_s
push ebx
push 2
push str.UpdateMgr.cpp
push 0x25f
call fcn.0042ab69
add esp, 0x18
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
call fcn.004175b9
test eax, eax
jne 0x4170cb
push ebx
push 1
lea ecx, [ebp - 0x234]
mov dword [edi + 0x188], 0x753d
call fcn.00401833
jmp 0x416dd3
call fcn.0041b425
cmp dword [0x4958e0], 0
je 0x417100
mov edx, edi
mov ecx, 0x495888
call fcn.0041b50f
mov ecx, dword [0x4958e0]
test ecx, ecx
je 0x417100
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], ebx
call fcn.0041e152
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.00401833
push ebx
push ebx
push edi
push 0x415c27
push ebx
push ebx
call fcn.00444c78
xor esi, esi
mov dword [edi + 0x180], eax
add esp, 0x18
inc esi
jmp 0x416dd5