Function at 0x47c8e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b118
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0045e800
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x18]
cmp esi, ebx
sete al
test al, al
je 0x47c949
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x47c935
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.00428100
mov byte [ebp - 4], 2
cmp esi, ebx
jne 0x47c975
push 0x80004003
call fcn.004f3830
mov edx, dword [0x542788]
mov ecx, dword [0x54278c]
push 0xb
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x542790]
mov dword [eax + 4], ecx
mov ecx, dword [0x542794]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0046f350
mov eax, dword [ebp - 0x10]
cmp eax, ebx
sete cl
test cl, cl
je 0x47c9e9
mov byte [ebp - 4], 0
cmp eax, ebx
je 0x47c9c6
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 0x47ca05
push 0x80004003
call fcn.004f3830
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 0x47ca22
push 0x80004003
call fcn.004f3830
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 0x47ca60
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 0x47ca60
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.00489e20
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x47cb0f
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x47cae9
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.0047b9e0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47cbd1
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.00489970
add esp, 4
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
je 0x47cba7
lea esi, [ebp - 0x24]
call fcn.00456340
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x47cb8d
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov edi, str.disable_resize
call fcn.00428100
push ecx
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x14]
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00428100
mov byte [ebp - 4], 6
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00456160
mov dword [ebp - 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
test esi, esi
je 0x47cba4
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 0x47cbd1
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 0x47cbee
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