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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ebx
test eax, eax
je 0x4538ab
mov eax, dword [ebp + 8]
test eax, eax
je 0x4538ab
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4538ab
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4538ab
mov dl, byte [ebx + 0x17e]
test dl, dl
je 0x4538ab
test eax, eax
jge 0x452cb9
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0x14], eax
test ecx, ecx
jge 0x452cc3
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebx + 0x14c]
mov ecx, dword [ebx + 0x1ac]
mov eax, dword [ebp + 0x1c]
mov edi, dword [sym.imp.GDI32.dll_GetClipBox]
cmp edx, 0xffffffff
setne byte [esp + 0x26]
test ecx, ecx
setne byte [esp + 0x27]
test eax, eax
je 0x452d19
mov eax, dword [ebp + 8]
lea edx, [esp + 0xe0]
push edx
push eax
call edi
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov edx, dword [ebp + 8]
mov esi, eax
push 1
push esi
push edx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x88]
push eax
push ecx
call edi
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0x8c]
cmp eax, esi
jle 0x452d39
mov ecx, eax
jmp 0x452d42
mov ecx, dword [esp + 0x8c]
mov eax, esi
mov edx, dword [esp + 0x94]
cmp edx, eax
jge 0x452d53
mov dword [esp + 0x58], edx
jmp 0x452d5f
cmp ecx, esi
mov dword [esp + 0x58], ecx
jg 0x452d5f
mov dword [esp + 0x58], esi
mov edi, dword [esp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp edi, ecx
mov edx, edi
jg 0x452d71
mov edx, ecx
mov eax, dword [esp + 0x90]
cmp eax, edx
jge 0x452d82
mov dword [esp + 0x54], eax
jmp 0x452d8e
cmp edi, ecx
mov dword [esp + 0x54], edi
jg 0x452d8e
mov dword [esp + 0x54], ecx
mov edx, dword [ebp + 0x14]
add ecx, edx
mov edx, eax
cmp eax, ecx
jl 0x452d9b
mov edx, ecx
cmp edi, edx
jle 0x452da3
mov eax, edi
jmp 0x452da9
cmp eax, ecx
jl 0x452da9
mov eax, ecx
mov ecx, dword [ebp + 0x18]
add ecx, esi
mov esi, dword [esp + 0x94]
cmp esi, ecx
mov edx, esi
jl 0x452dbd
mov edx, ecx
mov edi, dword [esp + 0x8c]
cmp edi, edx
jle 0x452dcc
mov esi, edi
jmp 0x452dd2
cmp esi, ecx
jl 0x452dd2
mov esi, ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub eax, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x26]
sub esi, ecx
test al, al
mov dword [esp + 0x78], esi
jne 0x453126
mov al, byte [esp + 0x27]
test al, al
jne 0x453126
mov al, byte [ebx + 0x17d]
test al, al
jne 0x453126
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
cmp edx, eax
jne 0x452e5a
mov edi, dword [ebp + 0x18]
mov eax, dword [ebx + 0x10]
cmp edi, eax
jne 0x452e5a
mov esi, dword [ebp + 8]
push 3
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebp + 0x14]
push 0
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push 0
push 0
push 0
push edi
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
jmp 0x453872
mov edx, dword [esp + 0x34]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xa8], 0x28
push eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov word [esp + 0xb8], 1
mov word [esp + 0xba], 0x18
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
lea ecx, [esp + 0x3c]
push 0
mov edi, eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0xb4]
push 0
push edx
push eax
mov dword [esp + 0x68], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4530e4
fild dword [ebx + 0xc]
mov eax, dword [esp + 0x34]
fidiv dword [ebp + 0x14]
lea ecx, [eax + eax*2]
lea eax, [ecx*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
test esi, esi
mov dword [esp + 0x44], eax
fstp dword [esp + 0x64]
fild dword [ebx + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x6c]
jle 0x4530e4
mov edx, dword [esp + 0x60]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x2c], eax
fild dword [ebx + 0x10]
fild dword [esp + 0x2c]
fmul dword [esp + 0x6c]
fsubp st(1)
fst dword [esp + 0x68]
fstp qword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push esi
push edi
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
test eax, eax
jge 0x452f79
mov dword [esp + 0x48], 0
jmp 0x452f8c
push esi
push edi
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x48]
mov ecx, dword [ebx + 0x34]
imul edi, dword [ebx + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add edi, ecx
mov ecx, dword [esp + 0x4c]
test eax, eax
lea esi, [ecx + edx]
mov dword [esp + 0x28], 0
jle 0x4530be
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x54]
sub eax, edx
add eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0x64]
fst dword [esp + 0x2c]
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
test eax, eax
jge 0x452ffa
xor eax, eax
jmp 0x453011
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x453051
fld dword [esp + 0x68]
fsub dword [0x4f9280]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0x8c]
fstp dword [esp]
fld dword [esp + 0x3c]
fsub dword [0x4f9280]
push ecx
mov ecx, ebx
fstp dword [esp]
push edx
call fcn.00458ae0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x453094
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x45307a
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ecx, ebx
call fcn.00455cc0
lea edx, [esp + 0x74]
push eax
push edx
mov ecx, ebx
call fcn.00455c50
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x453094
lea ecx, [edi + eax*2]
add eax, ecx
mov cl, byte [eax + 1]
mov byte [esp + 0x11], cl
mov dl, byte [eax]
inc eax
mov byte [esp + 0x10], dl
mov dl, byte [eax + 1]
mov byte [esp + 0x12], dl
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
mov dl, byte [esp + 0x12]
mov byte [esi], al
mov eax, dword [esp + 0x28]
inc esi
mov byte [esi], cl
mov ecx, dword [esp + 0x34]
inc esi
mov byte [esi], dl
inc esi
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x452fb8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x3c]
dec edx
dec eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], eax
jne 0x452f2e
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xa8]
push 0
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
push ecx
jmp 0x45385d
lea edx, [esp + 0x64]
mov ecx, ebx
push edx
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
call fcn.00454300
mov ecx, ebx
call fcn.00454340
mov dword [esp + 0x68], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp + 0xac], 0x28
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], esi
mov word [esp + 0xb8], 1
mov word [esp + 0xba], 0x18
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 8]
push 0
lea edx, [esp + 0x4c]
mov edi, eax
push 0
push edx
lea eax, [esp + 0xb4]
push 0
push eax
push ecx
mov dword [esp + 0x94], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
push 0xcc0020
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push esi
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45381d
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xc]
cmp ecx, eax
mov dword [esp + 0x2c], eax
jne 0x45348a
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
jne 0x45348a
mov edi, dword [esp + 0x60]
mov edx, dword [ebp + 0x10]
sub eax, edi
add eax, edx
test esi, esi
mov dword [esp + 0x28], eax
jle 0x45381d
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp + 0xc]
sub ecx, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], esi
jmp 0x453276
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, eax
imul eax, dword [ebx + 0x30]
imul edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
lea ecx, [ecx + ecx*2]
add esi, edx
mov edx, dword [ebx + 0x34]
add eax, ecx
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x45345f
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x27]
test al, al
je 0x4532d1
mov edx, dword [ebx + 0x1ac]
mov eax, dword [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x4c]
mov cl, byte [edx + eax]
mov byte [esp + 0x10], cl
jmp 0x4532d6
mov byte [esp + 0x10], 0xff
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
xor ebx, ebx
and edx, 0xff
mov bl, byte [eax + 0x17c]
mov ecx, dword [eax + 0x28]
inc ebx
imul ebx, edx
sar ebx, 8
test ecx, ecx
mov byte [esp + 0x10], bl
je 0x453361
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.00455cc0
and eax, 0xff
lea edx, [esp + 0x80]
push eax
push edx
mov ecx, edi
mov dword [esp + 0x78], eax
call fcn.00455c50
mov edi, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov cl, byte [eax + 0x17d]
test cl, cl
je 0x453383
mov ebx, dword [esp + 0x1b]
mov ecx, dword [esp + 0x10]
and ebx, 0xff
and ecx, 0xff
inc ebx
imul ebx, ecx
sar ebx, 8
mov byte [esp + 0x10], bl
jmp 0x453383
mov eax, dword [esp + 0x3c]
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x18], dl
inc eax
mov byte [esp + 0x19], cl
mov dl, byte [eax]
inc eax
mov byte [esp + 0x1a], dl
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x45339e
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
cmp ecx, edx
jne 0x4533b0
test eax, eax
jne 0x4533a4
cmp edi, dword [esp + 0x64]
jne 0x4533b0
mov al, byte [esp + 0x26]
test al, al
jne 0x453440
test bl, bl
je 0x453440
cmp bl, 0xff
jne 0x4533d4
mov dl, byte [esp + 0x18]
mov al, byte [esp + 0x19]
mov cl, byte [esp + 0x1a]
mov byte [esi], dl
inc esi
mov byte [esi], al
inc esi
mov byte [esi], cl
inc esi
jmp 0x453443
mov edx, dword [esp + 0x10]
xor eax, eax
mov al, byte [esi]
and edx, 0xff
not bl
mov byte [esp + 0x50], bl
and edi, 0xff
mov ecx, dword [esp + 0x50]
imul edi, edx
and ecx, 0xff
imul eax, ecx
add eax, edi
mov edi, dword [esp + 0x19]
sar eax, 8
mov byte [esi], al
inc esi
xor eax, eax
and edi, 0xff
mov al, byte [esi]
imul edi, edx
imul eax, ecx
add eax, edi
sar eax, 8
mov byte [esi], al
inc esi
xor eax, eax
mov al, byte [esi]
imul eax, ecx
mov ecx, dword [esp + 0x1a]
and ecx, 0xff
imul ecx, edx
add eax, ecx
sar eax, 8
mov byte [esi], al
inc esi
jmp 0x453443
add esi, 3
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
inc ecx
dec eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
jne 0x4532b0
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
add esi, edx
inc ecx
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], eax
jne 0x45326e
jmp 0x45381d
fild dword [esp + 0x2c]
test esi, esi
fidiv dword [ebp + 0x14]
fstp dword [esp + 0x9c]
fild dword [ebx + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x98]
jle 0x45381d
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
sub ecx, edx
mov dword [esp + 0x44], ecx
fild dword [esi + 0x10]
fild dword [esp + 0x44]
fmul dword [esp + 0x98]
fsubp st(1)
fst dword [esp + 0x44]
fstp qword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
push edi
push ebx
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
test eax, eax
jge 0x453512
xor eax, eax
jmp 0x453521
push edi
push ebx
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
mov ecx, eax
mov edx, dword [esp + 0x3c]
imul ecx, dword [esi + 0xc]
mov dword [esp + 0x38], eax
imul eax, dword [esi + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], 0
lea edi, [edx + ecx]
mov ecx, dword [esi + 0x34]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4537f7
mov edx, dword [esp + 0x28]
mov ebx, dword [ebp + 0xc]
mov esi, dword [esp + 0x54]
sub edx, ebx
add edx, esi
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fmul dword [esp + 0x9c]
fst dword [esp + 0x40]
fstp qword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
push esi
push ebx
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
test eax, eax
jge 0x4535ac
xor esi, esi
jmp 0x4535bd
push esi
push ebx
call fcn.0047f60d
add esp, 8
call fcn.0047c4e0
mov esi, eax
mov al, byte [esp + 0x27]
test al, al
je 0x4535de
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x1ac]
add ecx, esi
mov al, byte [ecx + edx]
mov byte [esp + 0x10], al
jmp 0x4535e3
mov byte [esp + 0x10], 0xff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
and ecx, 0xff
mov bl, byte [eax + 0x17c]
inc ebx
imul ebx, ecx
mov ecx, dword [eax + 0x28]
sar ebx, 8
test ecx, ecx
mov byte [esp + 0x10], bl
je 0x4536bb
mov edx, dword [esp + 0x38]
mov ecx, eax
push edx
push esi
call fcn.00455cc0
and eax, 0xff
mov dword [esp + 0x70], eax
mov al, byte [ebp + 0x20]
test al, al
je 0x453661
fld dword [esp + 0x44]
fsub dword [0x4f9280]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0xe4]
fstp dword [esp]
fld dword [esp + 0x50]
fsub dword [0x4f9280]
push ecx
mov ecx, dword [esp + 0x28]
fstp dword [esp]
push eax
call fcn.00458ae0
jmp 0x453682
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
push esi
call fcn.00455cc0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd8]
push eax
push edx
call fcn.00455c50
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dl, byte [ecx + 0x17d]
test dl, dl
je 0x453722
mov ebx, dword [esp + 0x1b]
mov edx, dword [esp + 0x10]
and ebx, 0xff
and edx, 0xff
inc ebx
imul ebx, edx
sar ebx, 8
mov byte [esp + 0x10], bl
jmp 0x453722
mov al, byte [ebp + 0x20]
test al, al
je 0x4536fd
fld dword [esp + 0x44]
fsub dword [0x4f9280]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0xec]
fstp dword [esp]
fld dword [esp + 0x50]
fsub dword [0x4f9280]
push ecx
mov ecx, dword [esp + 0x28]
fstp dword [esp]
push eax
call fcn.00458ae0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x453722
mov ecx, dword [esp + 0x80]
lea edx, [ecx + esi*2]
add esi, edx
mov dl, byte [esi + 2]
mov byte [esp + 0x1a], dl
mov al, byte [esi]
mov cl, byte [esi + 1]
inc esi
mov byte [esp + 0x18], al
mov byte [esp + 0x19], cl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x45373d
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
cmp esi, edx
jne 0x45374f
test ecx, ecx
jne 0x453743
cmp eax, dword [esp + 0x64]
jne 0x45374f
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x4537df
test bl, bl
je 0x4537df
cmp bl, 0xff
jne 0x453773
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x19]
mov dl, byte [esp + 0x1a]
mov byte [edi], al
inc edi
mov byte [edi], cl
inc edi
mov byte [edi], dl
inc edi
jmp 0x4537e2
mov esi, dword [esp + 0x10]
xor edx, edx
mov dl, byte [edi]
and esi, 0xff
not bl
mov byte [esp + 0x50], bl
and eax, 0xff
mov ecx, dword [esp + 0x50]
imul eax, esi
and ecx, 0xff
imul edx, ecx
add edx, eax
xor eax, eax
sar edx, 8
mov byte [edi], dl
mov edx, dword [esp + 0x19]
mov al, byte [edi + 1]
inc edi
and edx, 0xff
imul eax, ecx
imul edx, esi
add eax, edx
sar eax, 8
mov byte [edi], al
inc edi
xor eax, eax
mov al, byte [edi]
imul eax, ecx
mov ecx, dword [esp + 0x1a]
and ecx, 0xff
imul ecx, esi
add eax, ecx
sar eax, 8
mov byte [edi], al
inc edi
jmp 0x4537e2
add edi, 3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x45355e
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
dec edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x6c]
add ecx, edx
dec eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
jne 0x4534c1
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xa8]
push 0
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x60]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x7c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x45389d
lea ecx, [esp + 0xe0]
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov edx, dword [ebp + 8]
mov esi, eax
push 2
push esi
push edx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c