Function at 0x453c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov edx, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0xc]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
sub edi, dword [esi]
mov ebp, ecx
sub ebp, dword [esi + 4]
cmp dword [edx + 4], edi
jne 0x453eaa
cmp dword [edx + 8], ebp
jne 0x453eaa
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + 4]
cmp edx, eax
jl 0x453eaa
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 8]
cmp eax, ecx
jl 0x453eaa
cmp edx, edi
jg 0x453c8f
cmp eax, ebp
jle 0x453d2b
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov edx, dword [esi + 8]
sub edx, dword [esi]
push ecx
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
push 3
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov esi, dword [esp + 0x1c]
push edx
push 0
push 0
push ebx
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x20]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x453d2b
mov eax, dword [esp + 0x1c]
jmp 0x453d34
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov esi, dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x24]
push ecx
push 0x18
push eax
call esi
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push 0x18
push ecx
call esi
mov edx, dword [esp + 0x50]
push 0x2c
lea eax, [esp + 0x58]
push 0
push eax
mov dword [esp + 0x9c], edx
call fcn.004ae6c0
add esp, 0xc
mov esi, ebp
push 0
imul esi, edi
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x64]
mov dword [esp + 0x6c], ebp
push edx
lea ebp, [esi*4]
push 0
mov dword [esp + 0x6c], 0x28
mov dword [esp + 0x70], edi
mov word [esp + 0x78], 1
mov word [esp + 0x7a], 0x20
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ebp
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
call fcn.004631e0
test ebp, ebp
jbe 0x453e80
mov esi, dword [esp + 0x90]
mov edx, 0xfffffffe
add esi, 3
lea ecx, [ebx + 2]
sub edx, ebx
lea esp, [esp]
mov edi, dword [esi - 3]
lea eax, [edx + ecx]
add eax, dword [esp + 0x18]
cmp edi, dword [esp + 0x94]
jne 0x453e1a
mov edi, dword [ecx - 2]
mov dword [eax], edi
jmp 0x453e73
mov bl, byte [esi]
cmp bl, 0xff
jne 0x453e25
mov dword [eax], edi
jmp 0x453e73
test bl, bl
je 0x453e73
movzx edi, byte [esi]
movzx ebx, byte [ecx - 2]
imul ebx, edi
add ebx, 0x7f
sar ebx, 8
mov byte [eax], bl
movzx edi, byte [esi]
movzx ebx, byte [ecx - 1]
imul ebx, edi
add ebx, 0x7f
sar ebx, 8
mov byte [eax + 1], bl
movzx edi, byte [esi]
movzx ebx, byte [ecx]
imul ebx, edi
add ebx, 0x7f
sar ebx, 8
mov byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
movzx edi, byte [esi]
imul ebx, edi
add ebx, 0x7f
sar ebx, 8
mov byte [eax + 3], bl
add ecx, 4
lea eax, [edx + ecx]
add esi, 4
cmp eax, ebp
jb 0x453e00
mov eax, dword [esp + 0x14]
test eax, eax
je 0x453e8f
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x453e9e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret