Function at 0x411100
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x427deb
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4312c8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4312c8]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, dword [esp + 0x138]
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
push edi
mov dword [esp + 0x134], ebx
call fcn.0040d9e0
mov esi, eax
cmp esi, ebx
jge 0x4111b6
cmp dword [edi], ebx
jne 0x41116b
mov dword [edi], 0x80
push esi
lea eax, [esp + 0x28]
push str.PollData:_GetXMLData_failed__hr_x
push eax
call fcn.0041978b
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x4111a6
push 0x8007000e
call fcn.00405760
push edi
mov ecx, ebp
call fcn.0040d800
push edi
call ebx
jmp 0x411508
push edi
mov ecx, ebp
call fcn.00410200
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x18], ebx
jge 0x41126a
push ebx
lea edx, [esp + 0x28]
push str.PollData:_ParseXMLData_failed__hr_x
push edx
call fcn.0041978b
add esp, 0xc
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x411206
push 0x8007000e
call fcn.00405760
push esi
mov ecx, ebp
call fcn.0040d800
mov eax, dword [edi]
test eax, 0x300
jne 0x41122f
test eax, eax
jne 0x41125c
push esi
mov dword [edi], 0x80
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
jmp 0x41150a
mov ecx, ebp
call fcn.0040d020
mov edi, dword [ebp + 4]
lea ebx, [esp + 0x1c]
call fcn.0040cd90
test eax, eax
je 0x411258
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x18]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
jmp 0x41150a
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x20], 0
je 0x41128f
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp dword [esp + 0x20], 0
mov esi, eax
jne 0x4112d6
push str.PollData:_get_0_channel.
lea ecx, [esp + 0x18]
call fcn.00402220
mov esi, dword [esp + 0x14]
push esi
mov ecx, ebp
call fcn.0040d800
cmp dword [ebp + 0x10], 0
je 0x4112c5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4112c5
mov dword [ebp + 0x10], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0x80004005
jmp 0x41150a
push str.PollData:_ParseXMLData_succeeded.
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
mov edi, dword [ebp + 4]
lea ebx, [esp + 0x18]
call fcn.0040cd90
test eax, eax
je 0x411312
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
jl 0x411323
mov ecx, ebp
call fcn.0040e9d0
mov esi, eax
test esi, esi
jge 0x411360
mov edi, dword [esp + 0x1c]
or dword [edi], 0x80
push esi
lea ecx, [esp + 0x28]
push str.PollData:_CheckMaintenancePatch_failed__hr_x
push ecx
call fcn.0041978b
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
test esi, esi
jl 0x411371
jmp 0x411364
mov edi, dword [esp + 0x1c]
mov ecx, ebp
call fcn.0040f020
mov esi, eax
test esi, esi
jge 0x4113a8
or dword [edi], 0x80
push esi
lea ecx, [esp + 0x28]
push str.PollData:_CheckExtensions_failed__hr_x
push ecx
call fcn.0041978b
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
test esi, esi
jl 0x4113b5
mov ecx, ebp
call fcn.0040d410
mov esi, eax
test esi, esi
jge 0x4113f5
cmp dword [ebp + 0xc], 0
lea ecx, [esp + 0x14]
jne 0x4113d7
push str.PollData:_No_existing_data_yet
call fcn.00402220
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0040d800
jmp 0x411413
push str.PollData:_LoadExistingChannelsAndContents___failed
call fcn.00402220
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.0040d800
or dword [edi], 0x80
jmp 0x41140f
push str.PollData:_LoadExistingChannelsAndContents___succeeded
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
test esi, esi
jl 0x411421
push edi
mov ecx, ebp
call fcn.0040d530
mov esi, eax
test esi, esi
jge 0x411458
or dword [edi], 0x80
push esi
lea ecx, [esp + 0x28]
push str.PollData:_CompareData_failed__hr_x
push ecx
call fcn.0041978b
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
test esi, esi
jl 0x411465
mov ecx, ebp
call fcn.0040d5b0
mov esi, eax
test esi, esi
jge 0x41149c
or dword [edi], 0x80
push esi
lea ecx, [esp + 0x28]
push str.PollData:_UpdateData_failed__hr_x
push ecx
call fcn.0041978b
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
test esi, esi
jl 0x4114a9
mov ecx, ebp
call fcn.0040cf40
mov esi, eax
test esi, esi
jge 0x4114e0
or dword [edi], 0x80
push esi
lea ecx, [esp + 0x28]
push str.PollData:_PersistData_failed__hr_x
push ecx
call fcn.0041978b
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00402220
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040d800
test esi, esi
jl 0x4114e7
push str.PollData:_PollData_Succeeded.
jmp 0x4114ec
push str.PollData:_PollData_failed.
lea ecx, [esp + 0x18]
call fcn.00402220
mov edi, dword [esp + 0x14]
push edi
mov ecx, ebp
call fcn.0040d800
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00418ff5
add esp, 0x120
ret 4