Function at 0x4a6400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572a38
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00480590
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x18]
cmp esi, ebx
sete al
test al, al
je 0x4a6469
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4a6455
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x24], esp
push ecx
mov dword [ebp - 0x10], ebx
call fcn.00421180
mov byte [ebp - 4], 2
cmp esi, ebx
jne 0x4a6495
push 0x80004003
call fcn.0053c010
mov edx, dword [0x58eba0]
mov ecx, dword [0x58eba4]
push 0xb
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x58eba8]
mov dword [eax + 4], ecx
mov ecx, dword [0x58ebac]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00481340
mov eax, dword [ebp - 0x10]
cmp eax, ebx
sete cl
test cl, cl
je 0x4a6509
mov byte [ebp - 4], 0
cmp eax, ebx
je 0x4a64e6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
cmp eax, ebx
jne 0x4a6525
push 0x80004003
call fcn.0053c010
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x4a6542
push 0x80004003
call fcn.0053c010
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x5c]
call eax
mov eax, 0xff000000
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
xor ecx, ecx
lea edx, [ebp - 0x78]
jmp 0x4a6580
movzx eax, byte [ebp + ecx*4 - 0x38]
movzx esi, byte [ebp + ecx*4 - 0x37]
or eax, 0xffffff00
shl eax, 8
or eax, esi
movzx esi, byte [ebp + ecx*4 - 0x36]
shl eax, 8
or eax, esi
mov dword [edx], eax
mov dword [edx + 4], eax
inc ecx
add edx, 8
cmp ecx, 4
jl 0x4a6580
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_CopyRect]
fild dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x7c]
push ecx
sub esp, 8
fstp dword [esp + 4]
lea edx, [ebp - 0x58]
fild dword [ebp + 0x10]
fstp dword [esp]
push edx
call fcn.004d2310
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x4a662f
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4a6609
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
push eax
push esi
mov dword [ebp - 0x20], ebx
call fcn.004a54d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a66f8
push 0x64
lea ecx, [ebp - 0x14]
push 0x58cffc
push ecx
mov ecx, ebx
call fcn.004d1f00
add esp, 0xc
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
je 0x4a66ce
lea esi, [ebp - 0x24]
call fcn.00476bf0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4a66b4
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov edi, str.disable_resize
call fcn.00421180
push ecx
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x14]
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00421180
mov byte [ebp - 4], 6
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00476af0
mov dword [ebp - 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
test esi, esi
je 0x4a66cb
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a66f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4a6715
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret