Function at 0x41c9f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b5bac
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
call fcn.00471eac
mov ecx, dword [eax + 4]
call fcn.0046b2c8
xor esi, esi
push 0x206
lea ecx, [esp + 0x56]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x270], esi
mov word [esp + 0x5c], ax
call fcn.00494750
add esp, 0xc
lea edx, [esp + 0x50]
push edx
mov ecx, 0x50b7e0
call fcn.0040aa50
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call fcn.00402560
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
mov byte [esp + 0x26c], 1
call fcn.0049543c
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
je 0x41caa4
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41cac1
lea eax, [ecx - 0x10]
mov byte [esp + 0x264], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41cc51
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401a30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 2
call fcn.00401bf0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x264], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cb0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 9
push str.imgstore
lea ecx, [esp + 0x1c]
call fcn.00401ab0
push 6
push 0x4c5cf8
lea ecx, [esp + 0x1c]
call fcn.00401ab0
push esi
call fcn.00494170
add esp, 4
lea ecx, [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x4c], edx
call fcn.00475e73
mov ecx, dword [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x26c], 3
call fcn.00475f0b
cmp eax, esi
je 0x41cc24
lea ecx, [esp + 0x30]
call fcn.00475b3e
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x34]
call eax
test eax, eax
jne 0x41cc18
lea ecx, [esp + 0x30]
call fcn.00475e34
test eax, eax
jne 0x41cc18
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.00475de0
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1ff8]
mov ecx, ebx
sub ecx, dword [esp + 0x20]
push 0
sbb esi, dword [esp + 0x28]
push 0x15180
cdq
push esi
push ecx
mov ebp, eax
mov edi, edx
call fcn.00496190
cmp edx, edi
jl 0x41cc18
jg 0x41cbe1
cmp eax, ebp
jb 0x41cc18
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.0047610a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp dword [esp + 0x28], esi
jne 0x41cb61
lea ecx, [esp + 0x30]
mov byte [esp + 0x264], 1
call fcn.00475e9c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x264], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1b]
mov dword [esp + 0x264], 0xffffffff
call fcn.00418aa0
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004945a7
add esp, 0x254
ret