Function at 0x40f070
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x47517f
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4931b8]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
xor ebp, ebp
push str.idlimage.temp
lea ecx, [esp + 0x24]
mov dword [esp + 0x290], ebp
call fcn.0040be70
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x290], 1
call fcn.0040c230
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 2
call fcn.00409700
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040f5a0
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 3
call fcn.0040e0a0
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x294], 4
call fcn.00408340
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x29c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov byte [esp + 0x298], 5
call fcn.00408340
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x294], 4
call fcn.0040e110
lea ecx, [esp + 0x4c]
call fcn.004142d0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x78]
mov byte [esp + 0x28c], 6
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x40f182
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x50]
call fcn.00414310
test eax, eax
jle 0x40f1cb
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x17c]
sub edx, eax
jmp 0x40f1b0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f1b0
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x50]
call fcn.00414520
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x10
mov dword [esp + 0x28], edi
call fcn.00433df5
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x28c], 7
cmp eax, ebp
je 0x40f208
mov ecx, eax
call fcn.00439b26
mov esi, eax
jmp 0x40f20a
xor esi, esi
push edi
mov byte [esp + 0x290], 6
call fcn.0043a0b4
lea ecx, [esp + 0x3c]
call fcn.00439b26
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28c], 8
call fcn.00439b26
mov byte [esp + 0x28c], 9
cmp esi, ebp
jne 0x40f242
xor eax, eax
jmp 0x40f245
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call edi
push eax
lea ecx, [esp + 0x40]
call fcn.0043a0c8
cmp esi, ebp
jne 0x40f260
xor esi, esi
jmp 0x40f263
mov esi, dword [esi + 4]
push esi
call edi
push eax
lea ecx, [esp + 0x30]
call fcn.0043a0c8
push 8
call fcn.00433df5
add esp, 4
cmp eax, ebp
je 0x40f28b
mov dword [eax + 4], ebp
mov dword [eax], vtable.CBitmap.0
mov esi, eax
jmp 0x40f28d
xor esi, esi
mov edx, dword [esp + 0x1c]
push 0x20d0
push ebp
push ebp
push ebp
push edx
push ebp
call dword [sym.imp.USER32.dll_LoadImageA]
cmp eax, ebp
jne 0x40f2bc
push 0x4883a8
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00456f06
push eax
mov ecx, esi
call fcn.0043a384
cmp esi, ebp
jne 0x40f2cc
xor eax, eax
jmp 0x40f2cf
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0043a463
mov eax, dword [esi + 4]
lea edx, [esp + 0x60]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x2a0]
mov edi, dword [esp + 0x2a4]
mov ebx, dword [esp + 0x64]
sub esi, dword [esp + 0x298]
sub edi, dword [esp + 0x29c]
push 8
mov dword [esp + 0x18], ecx
call fcn.00433df5
add esp, 4
cmp eax, ebp
je 0x40f32c
mov dword [eax + 4], ebp
mov dword [eax], vtable.CBitmap.0
mov ebp, eax
mov edx, dword [esp + 0x40]
push edi
push esi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0043a384
test ebp, ebp
jne 0x40f349
xor eax, eax
jmp 0x40f34c
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0043a463
mov ecx, dword [esp + 0x30]
push 4
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
push 0xcc0020
push edx
push ebx
push 0
push 0
push eax
push edi
push esi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x24]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
je 0x40f3a8
mov ebp, dword [ebp + 4]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28c], 8
call fcn.0043a131
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28c], 6
call fcn.0043a131
lea ecx, [esp + 0x4c]
mov byte [esp + 0x28c], 4
call fcn.004142e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 3
call fcn.0040e0b0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f414
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f43c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
mov dword [esp + 0x28c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f492
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.00455dfd
add esp, 0x27c
ret