Function at 0x409cc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x48e488
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0045dd36
push 0x48e488
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0045dd36
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x14]
push str._d_s
push edx
mov byte [ebp - 4], 2
call fcn.0045c3bf
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x48e544]
add esp, 0x10
push str.ICONQuery
push eax
call fcn.0041d2b0
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call fcn.0045da3d
lea eax, [ebp + 0xc]
push eax
call fcn.0040d780
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0045de01
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0045dcc8
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push str.DATA_s
push edx
call fcn.0045c3bf
add esp, 0xc
lea ecx, [ebp - 0x18]
push 0x48e488
call fcn.0045dd36
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x52c]
mov ecx, dword [esi + 0x528]
push edx
push eax
lea eax, [ebp + 0xc]
mov bl, 4
push ecx
push eax
mov byte [ebp - 4], bl
call fcn.00411580
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0045de01
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0045dcc8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 8], edi
jle 0x409de6
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call fcn.0045da3d
mov ecx, esi
call fcn.0040b030
push 0x48e4a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x48e49c]
mov bl, 0xd
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov edx, dword [0x48e49c]
mov eax, dword [ebp + 0xc]
cmp eax, edx
je 0x409faf
mov eax, dword [0x4892e4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 0x48e488
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
call fcn.0045de51
push 0x48e488
lea ecx, [ebp - 0x44]
call fcn.0045de51
push 0x48e488
lea ecx, [ebp - 0x40]
call fcn.0045de51
push 0x48e488
lea ecx, [ebp - 0x3c]
call fcn.0045de51
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax + 0x10]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], ecx
mov edx, dword [esi + 4]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x4c], edx
mov eax, dword [esi + 8]
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.0045de01
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x40]
push edx
call fcn.0045de01
lea eax, [esi + 0x14]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0045de01
lea ecx, [esi + 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0045de01
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x34]
push edx
call fcn.0045de01
lea eax, [esi + 0x20]
lea ecx, [ebp - 0x30]
push eax
call fcn.0045de01
lea ecx, [esi + 0x24]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0045de01
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x409f14
mov esi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040bfb0
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, 0x48e498
call fcn.0040ba70
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409f45
mov eax, dword [ebp + 0xc]
mov edx, dword [0x48e4e4]
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x409f2e
mov eax, dword [ecx]
cmp eax, edx
je 0x409f42
mov ecx, eax
jmp 0x409f24
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x409f3d
mov eax, ecx
mov dword [ebp + 0xc], eax
jmp 0x409f2e
cmp dword [eax + 8], ecx
je 0x409f45
mov dword [ebp + 0xc], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.0045dcc8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.0045dcc8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
call fcn.0045dcc8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.0045dcc8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.0045dcc8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.0045dcc8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0045dcc8
jmp 0x409dfd
push 0x48e4a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.0045dcc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0045dcc8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0045dcc8
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0045dcc8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8