Function at 0x41b710
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49ffa7
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4eed38]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
call fcn.0045b40e
mov ecx, dword [eax + 4]
call fcn.00458dad
xor esi, esi
push 0x206
lea ecx, [esp + 0x82]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x29c], esi
mov word [esp + 0x88], ax
call fcn.00482280
add esp, 0xc
lea edx, [esp + 0x7c]
push edx
mov ecx, 0x4f0110
call fcn.0040c130
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402530
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
mov byte [esp + 0x298], 1
call fcn.00482892
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
je 0x41b7ca
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41b7e7
lea eax, [ecx - 0x10]
mov byte [esp + 0x290], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41b99a
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401a60
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 2
call fcn.00401c20
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x290], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b830
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.00401ae0
push 6
push 0x4ae388
lea ecx, [esp + 0x1c]
call fcn.00401ae0
push esi
call fcn.00481ca3
add esp, 4
push esi
lea ecx, [esp + 0x54]
mov ebx, eax
mov dword [esp + 0x50], edx
call fcn.004036f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x290], 3
call fcn.0045bc62
mov ecx, dword [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x298], 4
call fcn.0045bcfa
cmp eax, esi
je 0x41b95c
lea ecx, [esp + 0x30]
call fcn.0045b92d
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 0x41b950
lea ecx, [esp + 0x30]
call fcn.0045bc23
test eax, eax
jne 0x41b950
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0045bbcf
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1ae4]
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.00484420
cmp edx, edi
jl 0x41b950
jg 0x41b919
cmp eax, ebp
jb 0x41b950
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.0045bef9
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 0x41b950
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 0x41b899
lea ecx, [esp + 0x30]
mov byte [esp + 0x290], 3
call fcn.0045bc8b
lea ecx, [esp + 0x50]
mov byte [esp + 0x290], 1
call fcn.00402fe0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x290], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1b]
mov dword [esp + 0x290], 0xffffffff
call fcn.00403520
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.004820da
add esp, 0x280
ret