Function at 0x423bd0
Capabilities:
Delete file
Get common file path
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4735bc
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4968d4]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4968d4]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
push 0x103
xor ebp, ebp
lea eax, [esp + 0x75]
mov esi, ecx
push ebp
push eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x7c], 0
call fcn.00455df0
push 0x103
lea ecx, [esp + 0x289]
push ebp
push ecx
mov byte [esp + 0x290], 0
call fcn.00455df0
add esp, 0x18
lea edx, [esp + 0x278]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x74]
push str._sdelete.ini
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x80
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
push ebp
lea ecx, [esp + 0x78]
push ecx
push str.delete.ini
add esi, 0x74
push esi
call fcn.0042ce20
add esp, 0x14
test eax, eax
je 0x423cbf
push str.Failed_to_download_file_:_delete.ini
push 1
call fcn.0042b8f0
add esp, 8
jmp 0x423f3b
lea ecx, [esp + 0x50]
call fcn.0041e6c0
mov edi, 0xf
lea eax, [esp + 0x70]
mov dword [esp + 0x388], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x423cf0
sub eax, edx
push eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x3c]
call fcn.004092c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x390], 1
call fcn.0041e940
cmp dword [esp + 0x4c], 0x10
jb 0x423d39
mov edx, dword [esp + 0x38]
push edx
call fcn.00434567
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x14]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 4
mov bl, 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push str.File
mov byte [esp + 0x3b0], bl
mov byte [ecx + 4], 0
call fcn.004092c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push str.DELETE
mov byte [esp + 0x3cc], 3
mov byte [ecx + 4], 0
call fcn.004092c0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3c4], bl
call fcn.0041ea00
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x1c]
jbe 0x423dbb
call fcn.0045520c
lea ebx, [esp + 0x14]
nop
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x18], esi
jbe 0x423dcf
call fcn.0045520c
cmp ebx, ebp
je 0x423ddb
lea ecx, [esp + 0x14]
cmp ebx, ecx
je 0x423de0
call fcn.0045520c
cmp edi, esi
je 0x423eb0
push 0x103
lea edx, [esp + 0x179]
push ebp
push edx
mov byte [esp + 0x180], 0
call fcn.00455df0
add esp, 0xc
cmp ebx, ebp
jne 0x423e0f
call fcn.0045520c
cmp edi, dword [ebx + 8]
jb 0x423e19
call fcn.0045520c
cmp dword [edi + 0x18], 0x10
jb 0x423e24
mov ebp, dword [edi + 4]
jmp 0x423e27
lea ebp, [edi + 4]
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x50]
add esi, 0x50
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
or ecx, dword [eax + 8]
jge 0x423e4a
push 0
mov ecx, esi
call fcn.00407e10
mov edx, dword [esi]
push ebp
push edx
lea eax, [esp + 0x17c]
push 0x47ac30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x80
lea ecx, [esp + 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x174]
push eax
push str.Deleted_File___s_
push 0xffffffffffffffff
call fcn.0042b8f0
add esp, 0xc
cmp edi, dword [ebx + 8]
jb 0x423ea6
call fcn.0045520c
add edi, 0x1c
xor ebp, ebp
jmp 0x423dc0
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x18], ebx
jbe 0x423ebf
call fcn.0045520c
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x1c]
lea esi, [esp + 0x14]
jbe 0x423ed2
call fcn.0045520c
push ebx
push esi
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00423440
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x423f1b
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00408330
mov edx, dword [esp + 0x28]
push edx
call fcn.00434567
add esp, 0x14
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x388], 0xffffffff
call fcn.0041e6e0
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.00454567
add esp, 0x378
ret