Function at 0x42a392
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x455ee0]
push ebx
push esi
push edi
mov ecx, 0x455ee0
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x80]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
add ecx, 4
call fcn.00410179
add eax, 0x24
mov eax, dword [eax]
sub eax, 0x10
call fcn.00409a5a
mov esi, eax
add esi, 0x10
cmp dword [esi - 0xc], 0
mov dword [ebp - 8], esi
je 0x42a4fe
mov eax, dword [edi + 0x84]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00409a5a
add eax, 0x10
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00409ad4
mov eax, dword [ebx + 0x14]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00402360
call fcn.00409ad4
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
call fcn.0042313e
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00402360
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046a2
xor bl, bl
mov esi, edi
call fcn.0042a5c3
push 0x8a
lea esi, [ebp - 0xc]
call fcn.0041e765
pop ecx
push dword [ebp - 0xc]
push 2
push dword [edi + 0xf4]
push dword [ebp + 0xc]
call fcn.0041c7e3
mov ecx, dword [ebp - 4]
push 0
push dword [ebp - 8]
call fcn.004205f7
mov bl, al
pop ecx
pop ecx
test bl, bl
jne 0x42a4e1
cmp byte [0x456c38], al
je 0x42a4ac
push str.MD5_of_downloaded_file_is_invalid.
lea eax, [ebp - 0x10]
call fcn.004141f6
push eax
call fcn.00414207
push eax
mov eax, 0x456c08
call fcn.004134f0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046a2
lea esi, [ebp - 4]
call fcn.004020cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
call fcn.00408aa2
mov ecx, eax
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00408baf
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046a2
test bl, bl
je 0x42a527
mov esi, dword [ebp - 8]
push dword [edi + 0xf4]
push dword [ebp + 0xc]
call fcn.0041cf88
mov ecx, dword [edi + 0x80]
mov ecx, dword [ecx + 0xc]
add ecx, 4
call fcn.00410179
mov byte [eax + 0x68], 1
mov byte [ebp + 0xf], 1
jmp 0x42a594
inc dword [edi + 0x18c]
mov eax, dword [0x455ee0]
mov ecx, 0x455ee0
call dword [eax + 0xc]
add eax, 0x10
push 0x8b
lea esi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.0041e765
pop ecx
lea edi, [ebp - 0xc]
call fcn.0040872e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046a2
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push esi
push 2
push dword [eax + 0xf4]
push dword [ebp + 0xc]
call fcn.0041c7e3
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xc], 1
lea eax, [esi - 0x10]
mov byte [ebp + 0xf], 0
call fcn.004046a2
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x42a5a6
mov bl, 1
mov esi, edi
call fcn.0042a5c3
mov esi, dword [ebp - 8]
lea eax, [esi - 0x10]
call fcn.004046a2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004046a2
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
leave
ret 0xc