Function at 0x41dac0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a4967
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x174]
test eax, eax
mov ebx, 3
mov dword [esp + 0x24], ebx
jne 0x41db53
lea ecx, [esp + 0x10]
mov dword [edi + 0x174], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [0x4cc10c]
mov ecx, dword [0x4cbdc0]
push eax
push ecx
lea edx, [esp + 0x18]
push str._sconfig_transmit_d.xml
push edx
mov byte [esp + 0x34], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
mov ecx, edi
call fcn.00419010
mov ecx, edi
call fcn.0041cf20
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
lea ebp, [edi + 0x4cc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, ebp
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41db94
test cl, cl
je 0x41db90
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41db94
add eax, 2
add esi, 2
test cl, cl
jne 0x41db70
xor eax, eax
jmp 0x41db99
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dbf5
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.UpgradeCfgUrl
mov byte [esp + 0x30], 5
call dword [0x4ab700]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4ac6b4
mov byte [esp + 0x34], 6
call dword [0x4ab700]
lea ecx, [edi + 0x158]
mov byte [esp + 0x30], bl
call fcn.0042c7a0
lea ecx, [esp + 0x3c]
lea ebp, [edi + 0x4d0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, ebp
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
nop
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41dc34
test cl, cl
je 0x41dc30
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41dc34
add eax, 2
add esi, 2
test cl, cl
jne 0x41dc10
xor eax, eax
jmp 0x41dc39
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dc95
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.UpgradeUrl
mov byte [esp + 0x30], 7
call dword [0x4ab700]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4ac6b4
mov byte [esp + 0x34], 8
call dword [0x4ab700]
lea ecx, [edi + 0x158]
mov byte [esp + 0x30], bl
call fcn.0042c7a0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x41de84
lea ebp, [edi + 0x4c8]
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x41de84
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea ecx, [esp + 0x2c]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41dcf5
test cl, cl
je 0x41dcf1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41dcf5
add eax, 2
add esi, 2
test cl, cl
jne 0x41dcd1
xor eax, eax
jmp 0x41dcfa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41de84
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, edi
call fcn.0040c770
mov esi, eax
test esi, esi
je 0x41de84
mov eax, dword [esi + 0x278]
test eax, eax
je 0x41de84
mov eax, dword [esi + 0x24]
test eax, eax
mov ecx, edi
jne 0x41dd41
add esi, 0x28
push esi
call fcn.00418470
jmp 0x41de35
lea eax, [esi + 0x28]
push eax
push esi
call fcn.00408b60
push 1
push esi
mov ecx, edi
call fcn.00411750
mov dword [esi + 0x240], 1
cmp dword [edi + 0x394], esi
jne 0x41dd71
mov dword [edi + 0x394], 0
mov eax, dword [edi + 0x3a4]
dec eax
js 0x41dda0
lea ecx, [edi + 0x39c]
test eax, eax
jl 0x41dedb
cmp eax, dword [ecx + 8]
jge 0x41dedb
mov edx, dword [ecx + 4]
cmp dword [edx + eax*4], esi
je 0x41dec3
dec eax
jns 0x41dd80
add esi, 0x128
push esi
lea ecx, [esp + 0x14]
call dword [0x4ab700]
push str..jfrec
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x30], 9
call fcn.004010a0
push str..inpart
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x3c], 0xa
call fcn.004010a0
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4acbb2
call dword [0x4ab700]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.UpgradeZipHashID
mov byte [esp + 0x30], 0xb
call dword [0x4ab700]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4ac6b4
mov byte [esp + 0x34], 0xc
call dword [0x4ab700]
lea ecx, [edi + 0x158]
mov byte [esp + 0x30], bl
call fcn.0042c7a0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, edi
call fcn.0040c770
test eax, eax
je 0x41dee0
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x41dee0
mov ecx, dword [edi + 0x20]
push 0
push 0x493e0
push 0xd
push ecx
mov dword [edi + 0x4d4], 1
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41df9e
push 1
push eax
call sub.MFC71.DLL_CPtrArray::RemoveAt
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
xor esi, esi
jmp 0x41dda0
call fcn.004a11bc
push 0
push 0x4acbb2
push 0
push 0
push 0
push 0
push 0x4acbb2
push 0xffffffffffffffff
push 2
push 0
push 0x4acbb2
mov edx, dword [esp + 0x60]
push 1
push 0
push 1
push 0x4acbb2
push 1
push 0
push 0
push 0
push 1
push 0
push 6
push edx
lea ecx, [esp + 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, edi
call fcn.00419830
lea eax, [esp + 0x2c]
lea esi, [edi + 0x4c8]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.UpgradeZipHashID
mov byte [esp + 0x30], 0xd
call dword [0x4ab700]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4ac6b4
mov byte [esp + 0x34], 0xe
call dword [0x4ab700]
lea ecx, [edi + 0x158]
mov byte [esp + 0x30], bl
call fcn.0042c7a0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x14