Function at 0x424c57
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x45b8a2
call fcn.00431c64
sub esp, 0x228
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x2c], ecx
push ebx
call edi
push 1
mov esi, eax
call edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
call fcn.0044ba94
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0x45fd70
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp edi, ebx
jne 0x424ca5
xor eax, eax
jmp 0x424ca8
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044bb4b
push dword [ebp - 0x14]
push esi
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044c648
lea eax, [ebp - 0x24]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x38]
call fcn.0044bc8c
cmp edi, ebx
mov dword [ebp - 0x18], eax
jne 0x424cec
xor eax, eax
jmp 0x424cef
mov eax, dword [edi + 4]
push 0xcc0020
push ebx
push ebx
push eax
push dword [ebp - 0x14]
push esi
push ebx
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x424d11
xor eax, eax
jmp 0x424d14
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x38]
call fcn.0044bc8c
push 0xc
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x28], eax
imul eax, esi
shr eax, 3
mov edi, eax
imul edi, dword [ebp - 0x14]
lea esi, [eax + 3]
push edi
and esi, 0xfffffffc
call fcn.004497f2
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x424ee3
push eax
push edi
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov eax, dword [0x476b9c]
mov dword [ebp - 0x10], eax
cmp dword [0x479270], ebx
mov byte [ebp - 4], 2
jne 0x424e16
call fcn.00405fe0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x476b9c]
mov dword [ebp - 0x14], eax
push 0x13
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00449826
push ebx
lea ecx, [ebp - 0x234]
push dword [ebp - 0x14]
push 6
push ebx
push 0x476800
push ebx
call fcn.0044225b
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.004423bd
cmp eax, 1
jne 0x424dea
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x234]
push eax
call fcn.00442498
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0044939c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00449263
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 6
call fcn.00449263
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.00444e95
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00449263
jmp 0x424e86
lea eax, [ebp - 0x140]
push eax
push ebx
push 0x476800
push 0x479274
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x10]
push eax
call fcn.004493ec
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00441d86
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0044939c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00449263
push str..bmp
lea ecx, [ebp - 0x10]
call fcn.0044963f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x424ece
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp - 0x28]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push eax
call fcn.00423ecd
mov eax, dword [ebp - 0x2c]
add esp, 0x1c
lea esi, [eax + 0x164]
mov ecx, esi
call fcn.00448ee4
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00448fd8
mov ecx, esi
call fcn.004039f3
push dword [ebp - 0x18]
call fcn.0044981b
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00449263
mov dword [ebp - 0x24], vtable.CGdiObject.0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0044c69f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0044bbc9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8