Function at 0x422935
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x4758a3
call fcn.004547e6
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
call fcn.004301be
pop ecx
cmp eax, ebx
je 0x42295d
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x42295f
xor eax, eax
cmp dword [0x4a19a0], 0xfffffffe
mov dword [ebp - 0x14], eax
mov esi, 0x4a4990
jne 0x4229b9
push esi
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.PQUdKCAmHR87CicIOzE8MD8gASAzCBkQPwUVQjwYShk4GTg5JgVPTw
call fcn.0040238c
lea eax, [ebp - 0x18]
push eax
call fcn.00408525
add esp, 0x28
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040644a
push eax
call fcn.004226fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [0x4a19a0], eax
mov byte [ebp - 4], bl
call fcn.00401268
cmp dword [0x4a19a0], 0xffffffff
je 0x422b26
lea ecx, [ebp + 8]
call fcn.004054a1
push eax
lea ecx, [ebp - 0x18]
call fcn.004228f1
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040644a
push eax
call fcn.0042263e
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp edi, ebx
je 0x422b06
push ebx
push esi
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0042265c
cmp eax, 0xffffffff
je 0x422b06
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov dword [ebp - 0x14], eax
call fcn.004301be
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x422a43
mov ecx, eax
call fcn.00436a9c
mov esi, eax
jmp 0x422a45
xor esi, esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00436f0e
lea ecx, [ebp - 0x34]
call fcn.00436a9c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00436a9c
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004225d6
push esi
lea ecx, [ebp - 0x44]
call fcn.004225d6
push 8
call fcn.004301be
pop ecx
cmp eax, ebx
je 0x422a94
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x422a96
xor edi, edi
push ebx
push dword [ebp - 0x10]
call fcn.004226bc
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], ebx
call fcn.004226da
push dword [ebp - 0x20]
mov ecx, edi
call fcn.004371de
cmp edi, ebx
jne 0x422ac5
xor eax, eax
jmp 0x422ac8
mov eax, dword [edi + 4]
push eax
push dword [ebp - 0x30]
call fcn.004372bd
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, ebx
je 0x422ae8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
call fcn.00436f8b
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00436f8b
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x422b1b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401268
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x422b39
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401268
mov eax, ebx
call fcn.004548be
ret