Function at 0x42b36e
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x456f60]
push ebx
push esi
push edi
mov ecx, 0x456f60
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 + 0x88]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
add ecx, 4
call fcn.00412318
add eax, 0x24
mov eax, dword [eax]
sub eax, 0x10
call fcn.00409baf
mov esi, eax
add esi, 0x10
cmp dword [esi - 0xc], 0
mov dword [ebp - 8], esi
je 0x42b4da
mov eax, dword [edi + 0x8c]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00409baf
add eax, 0x10
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00409c29
mov eax, dword [ebx + 0x14]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00402383
call fcn.00409c29
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
call fcn.004244d8
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00402383
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
xor bl, bl
mov esi, edi
call fcn.0042b59f
push 0x8a
lea esi, [ebp - 0xc]
call fcn.004216d6
pop ecx
push dword [ebp - 0xc]
push 2
push dword [edi + 0xfc]
push dword [ebp + 0xc]
call fcn.0041f990
mov ecx, dword [ebp - 4]
push 0
push dword [ebp - 8]
call fcn.00421df1
mov bl, al
pop ecx
pop ecx
test bl, bl
jne 0x42b4bd
cmp byte [0x457cbc], al
je 0x42b488
push str.MD5_of_downloaded_file_is_invalid.
lea eax, [ebp - 0x10]
call fcn.00416300
push eax
call fcn.00416311
push eax
mov eax, 0x457c8c
call fcn.0041568f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046b1
lea esi, [ebp - 4]
call fcn.004020e5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
call fcn.00408c62
mov ecx, eax
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00408d6f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046b1
test bl, bl
je 0x42b503
mov esi, dword [ebp - 8]
push dword [edi + 0xfc]
push dword [ebp + 0xc]
call fcn.0041fefd
mov ecx, dword [edi + 0x88]
mov ecx, dword [ecx + 0xc]
add ecx, 4
call fcn.00412318
mov byte [eax + 0x68], 1
mov byte [ebp + 0xf], 1
jmp 0x42b570
inc dword [edi + 0x194]
mov eax, dword [0x456f60]
mov ecx, 0x456f60
call dword [eax + 0xc]
add eax, 0x10
push 0x8b
lea esi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.004216d6
pop ecx
lea edi, [ebp - 0xc]
call fcn.004088ee
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046b1
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push esi
push 2
push dword [eax + 0xfc]
push dword [ebp + 0xc]
call fcn.0041f990
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xc], 1
lea eax, [esi - 0x10]
mov byte [ebp + 0xf], 0
call fcn.004046b1
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x42b582
mov bl, 1
mov esi, edi
call fcn.0042b59f
mov esi, dword [ebp - 8]
lea eax, [esi - 0x10]
call fcn.004046b1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004046b1
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
leave
ret 0xc