Function at 0x42f530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5698
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004121a0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x14]
cmp esi, ebx
sete al
cmp al, bl
je 0x42f599
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x42f585
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 - 0x28], esp
push ecx
mov dword [ebp - 0x10], ebx
call fcn.00409230
mov byte [ebp - 4], 2
cmp esi, ebx
jne 0x42f5c5
push 0x80004003
call fcn.004a91a0
mov edx, dword [0x4c0730]
mov ecx, dword [0x4c0734]
push 0xb
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x4c0738]
mov dword [eax + 4], ecx
mov ecx, dword [0x4c073c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00417c00
mov eax, dword [ebp - 0x10]
cmp eax, ebx
sete cl
cmp cl, bl
je 0x42f638
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42f615
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 - 0x3c], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
cmp eax, ebx
jne 0x42f654
push 0x80004003
call fcn.004a91a0
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x42f671
push 0x80004003
call fcn.004a91a0
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ecx + 0x5c]
call eax
mov eax, 0xff000000
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], eax
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
xor ecx, ecx
lea edx, [ebp - 0x7c]
lea ebx, [ebx]
movzx eax, byte [ebp + ecx*4 - 0x3c]
movzx esi, byte [ebp + ecx*4 - 0x3b]
or eax, 0xffffff00
shl eax, 8
or eax, esi
movzx esi, byte [ebp + ecx*4 - 0x3a]
shl eax, 8
or eax, esi
mov dword [edx], eax
mov dword [edx + 4], eax
inc ecx
add edx, 8
cmp ecx, 4
jl 0x42f6b0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_CopyRect]
fild dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x80]
push ecx
sub esp, 8
fstp dword [esp + 4]
lea edx, [ebp - 0x5c]
fild dword [ebp + 0x10]
fstp dword [esp]
push edx
call fcn.0047f710
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x42f75e
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42f738
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
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 - 0x1c], ebx
call fcn.0042e660
mov edi, eax
add esp, 8
mov dword [ebp - 0x28], edi
cmp edi, ebx
je 0x42f823
mov ecx, edi
lea ebx, [ebp - 0x20]
call fcn.0047f2e0
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x20]
cmp dword [ebx - 0xc], 0
je 0x42f7f7
lea esi, [ebp - 0x24]
call fcn.00409c10
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x42f7dd
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov edi, str.disable_resize
call fcn.00409230
push ecx
mov byte [ebp - 4], 5
mov edx, esp
mov dword [ebp - 0x2c], esp
push edx
mov edi, ebx
call fcn.00409230
mov byte [ebp - 4], 6
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00409b10
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [ebp - 4], 3
test esi, esi
je 0x42f7f4
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov esi, dword [ebp - 0x18]
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42f83f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret