Function at 0x433a60
Capabilities:
Delete file

Disassembly:
mov eax, 0x1cc8
call fcn.004d3780
mov ax, word [0x4ffec0]
push ebx
push ebp
push esi
push edi
mov word [esp + 0xc90], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xc92]
lea edx, [esp + 0xc90]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
xor esi, esi
stosw word es:[edi], ax
mov eax, dword [esp + 0x1cdc]
push ecx
push 0x824
push edx
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
call fcn.004338c0
add esp, 0x10
test eax, eax
je 0x4340d3
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa8a]
mov word [esp + 0xa88], dx
mov word [esp + 0x680], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x682]
mov word [esp + 0x26c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26e]
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push 2
stosw word es:[edi], ax
lea edx, [esp + 0xa90]
push ecx
lea eax, [esp + 0xc9c]
push edx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], 0x103
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jl 0x433b95
mov edx, dword [0x6dcf84]
push str.ImgCache_
lea ecx, [esp + 0x684]
push 0x103
push ecx
push edx
call fcn.004a7ac0
add esp, 0x10
lea eax, [esp + 0xa88]
lea ecx, [esp + 0x680]
lea edx, [esp + 0x26c]
push eax
push ecx
push str._s_s_favicon.ico
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, dword [0x6bfb48]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, esi
jne 0x433c29
lea eax, [esp + 0x26c]
push esi
push eax
call fcn.004a7ab0
add esp, 8
test eax, eax
je 0x433c29
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push 1
push ecx
push esi
lea eax, [esp + 0x278]
push edx
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [esp + 0x10], esi
je 0x433c35
cmp dword [esp + 0x1ce0], esi
je 0x433c29
push esi
push 0x80
push 3
push esi
push 1
lea ecx, [esp + 0x280]
push connect
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x433c29
push 0
lea edx, [esp + 0x44]
push 0
push edx
push esi
call ebp
test eax, eax
je 0x433c22
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x433d28
push 0x2194
mov dword [esp + 0x1c], 0x2194
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x433d28
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0xc90]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
mov dword [esi], eax
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
test eax, eax
je 0x433d1f
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 8]
lea eax, [esp + 0x10]
push 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [0x6bfb48]
test eax, eax
jne 0x433cd6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x433cd6
lea eax, [esp + 0x680]
push eax
call fcn.004a7f30
mov edx, dword [esi + 8]
lea ecx, [esp + 0x270]
push ecx
push edx
call fcn.004339b0
add esp, 0xc
mov eax, dword [esp + 0x1ce0]
test eax, eax
je 0x433d1f
mov eax, dword [esi + 8]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x433d1f
push 0
lea ecx, [esp + 0x44]
push 0
push ecx
push edi
call ebp
test eax, eax
je 0x433d18
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004d3765
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x433dff
lea edx, [esp + 0x18]
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x433d4f
xor esi, esi
jmp 0x433de2
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x433d67
xor esi, esi
jmp 0x433de2
mov eax, dword [esp + 0x2c]
cmp ax, 0x76c
jae 0x433d75
xor eax, eax
jmp 0x433de0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x36]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x32]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2e]
mov dword [esp + 0x54], edx
and ecx, 0xffff
and eax, 0xffff
lea edx, [esp + 0x48]
dec ecx
sub eax, 0x76c
push edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.MSVCRT.dll_mktime]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov eax, dword [esp + 0x18]
add esp, 4
sub eax, esi
js 0x433dff
cmp eax, 0x93a80
jle 0x433e07
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x1ce0]
xor esi, esi
cmp eax, esi
je 0x4340d3
cmp dword [esp + 0x20], esi
je 0x4340d3
mov cx, word [0x4ffec0]
xor eax, eax
mov word [esp + 0x474], cx
mov ecx, 0x82
lea edi, [esp + 0x476]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x474]
push edx
push eax
push esi
push esi
push 0x3e8
push 1
push 1
lea ecx, [esp + 0xcac]
push 0x4ee8f4
push ecx
mov dword [esp + 0x38], 9
call fcn.00433550
add esp, 0x24
test eax, eax
je 0x434064
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push 1
push edx
push esi
lea ecx, [esp + 0x480]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [esp + 0x10], esi
je 0x4340ae
cmp dword [0x6bfb48], esi
jne 0x433ed0
lea edx, [esp + 0x680]
push edx
call fcn.004a7f30
lea eax, [esp + 0x270]
lea ecx, [esp + 0x478]
push eax
push ecx
call fcn.004339b0
add esp, 0xc
mov dx, word [0x4ffec0]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x88a]
mov word [esp + 0x888], dx
mov word [esp + 0x6c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x6e]
push esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1ce0]
lea edx, [esp + 0x1c]
stosw word es:[edi], ax
push 2
lea eax, [esp + 0x890]
push edx
mov ebx, 0xff
push eax
push ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
mov dword [esp + 0x20], esi
mov edx, dword [0x6bfb00]
test edx, edx
je 0x4340ae
mov eax, dword [0x6bfb04]
mov ecx, dword [esp + 0x20]
sub eax, edx
sar eax, 5
cmp ecx, eax
jae 0x4340ae
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x6c]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push 2
mov dword [esp + 0x20], ebx
push ecx
mov ecx, dword [esi + edx + 0x10]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x888]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x433fc7
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x6c]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [0x6bfb00]
lea ecx, [esp + 0x1c]
push 2
mov dword [esp + 0x20], ebx
push ecx
mov ecx, dword [esi + eax + 0x14]
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x888]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x434053
mov ecx, dword [0x6bfb00]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x434036
mov edx, dword [esp + 0x10]
mov eax, dword [0x6bfb10]
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [0x6bfb00]
mov dword [esi + ecx + 4], eax
mov ecx, dword [0x6bfb14]
call fcn.004bafc0
mov ecx, dword [0x6bfb14]
push 0x10
push 0x10
call fcn.004bb5e0
mov edx, dword [0x6bfb10]
mov ecx, dword [0x6bfb14]
push edx
call fcn.004bb2b0
jmp 0x434049
mov ecx, dword [esp + 0x10]
mov edx, dword [0x6bfb10]
push ecx
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, 0x69a810
call fcn.004b5140
mov ecx, dword [esp + 0x20]
inc ecx
add esi, 0x20
mov dword [esp + 0x20], ecx
jmp 0x433f36
cmp dword [esp + 0x14], 8
jne 0x4340ae
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
push esi
push esi
push esi
push 1
push eax
push ecx
push eax
push ecx
lea eax, [esp + 0x498]
lea ecx, [esp + 0xcb4]
push eax
push ecx
call dword [sym.imp.WININET.dll_CommitUrlCacheEntryW]
cmp dword [0x6bfb2c], 2
jne 0x4340d3
lea edx, [esp + 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0xc90]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc8
ret