Function at 0x414558
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x4607cf
call fcn.00441f36
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
call fcn.0041df60
pop ecx
cmp eax, ebx
je 0x414583
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov dword [ebp - 0x14], eax
jmp 0x414586
mov dword [ebp - 0x14], ebx
mov eax, dword [0x47e93c]
mov edi, 0x4816fc
cmp eax, 0xfffffffe
jne 0x4145a7
push edi
push 0x46772c
call fcn.004141c0
pop ecx
pop ecx
mov dword [0x47e93c], eax
cmp eax, 0xffffffff
je 0x414798
lea ecx, [ebp + 8]
call fcn.0040344c
push eax
lea ecx, [ebp - 0x24]
call fcn.004144f2
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00414383
push eax
call fcn.00414100
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
mov dword [ebp - 0x34], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp esi, ebx
je 0x414778
push ebx
push edi
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041411e
cmp eax, 0xffffffff
je 0x414778
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov dword [ebp - 0x20], eax
call fcn.0041df60
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41462e
mov ecx, eax
call fcn.00425e1d
mov dword [ebp - 0x10], eax
jmp 0x414631
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0042628f
lea ecx, [ebp - 0x54]
call fcn.00425e1d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00425e1d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00414012
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.00414012
push 8
call fcn.0041df60
pop ecx
cmp eax, ebx
je 0x414687
mov esi, eax
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov dword [ebp - 0x18], esi
jmp 0x41468c
mov dword [ebp - 0x18], ebx
mov esi, ebx
push ebx
push dword [ebp - 0x1c]
call fcn.0041417e
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov dword [ebp - 0x28], ebx
call fcn.0041419c
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0042655f
cmp esi, ebx
jne 0x4146bb
xor eax, eax
jmp 0x4146be
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x50]
call fcn.0042663e
lea eax, [ebp - 0x6c]
push eax
push 0x18
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 0x10]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
push edi
mov dword [ebp - 0x28], eax
push esi
lea eax, [ebp - 0x54]
push eax
call fcn.00413fee
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x414707
xor eax, eax
jmp 0x41470a
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x40]
call fcn.0042663e
push 4
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push ebx
push ebx
push dword [ebp - 0x50]
push edi
push esi
push ebx
push ebx
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x414753
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0042630c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0042630c
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
je 0x41478d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040127b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4147ab
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040127b
mov eax, ebx
call fcn.0044200e
ret