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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x42918a
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42918a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42918a
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x42918a
mov dl, byte [edi + 0x17e]
test dl, dl
je 0x42918a
test eax, eax
jge 0x428615
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x14], eax
test ecx, ecx
jge 0x42861f
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0x18], ecx
mov edx, dword [edi + 0x14c]
mov ecx, dword [edi + 0x1b0]
mov esi, dword [ebp + 0x1c]
cmp edx, 0xffffffff
setne byte [esp + 0x16]
test ecx, ecx
setne byte [esp + 0x17]
test esi, esi
je 0x42866a
lea edx, [esp + 0xc8]
push edx
push ebx
call dword [sym.imp.gdi32.dll_GetClipBox]
push esi
call dword [sym.imp.gdi32.dll_CreateRectRgnIndirect]
push 1
mov esi, eax
push esi
push ebx
call dword [sym.imp.gdi32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.gdi32.dll_DeleteObject]
lea eax, [esp + 0xa4]
push eax
push ebx
call dword [sym.imp.gdi32.dll_GetClipBox]
mov ecx, dword [esp + 0xa8]
mov edx, dword [ebp + 0x10]
cmp ecx, edx
mov eax, ecx
jg 0x42868b
mov eax, edx
mov esi, dword [esp + 0xb0]
cmp esi, eax
jge 0x42869c
mov dword [esp + 0x54], esi
jmp 0x4286a8
cmp ecx, edx
mov dword [esp + 0x54], ecx
jg 0x4286a8
mov dword [esp + 0x54], edx
mov esi, dword [esp + 0xa4]
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
mov edx, esi
jg 0x4286ba
mov edx, ecx
mov eax, dword [esp + 0xac]
cmp eax, edx
jge 0x4286cb
mov dword [esp + 0x50], eax
jmp 0x4286d7
cmp esi, ecx
mov dword [esp + 0x50], esi
jg 0x4286d7
mov dword [esp + 0x50], ecx
mov edx, dword [ebp + 0x14]
add ecx, edx
cmp eax, ecx
mov edx, eax
jl 0x4286e4
mov edx, ecx
mov esi, dword [esp + 0xa4]
cmp esi, edx
jle 0x4286f3
mov eax, esi
jmp 0x4286f9
cmp eax, ecx
jl 0x4286f9
mov eax, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0xb0]
add ecx, edx
cmp esi, ecx
mov edx, esi
jl 0x428710
mov edx, ecx
cmp dword [esp + 0xa8], edx
jle 0x428722
mov ecx, dword [esp + 0xa8]
jmp 0x42872a
cmp esi, ecx
mov dword [esp + 0x5c], esi
jl 0x42872e
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
sub eax, edx
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x16]
sub esi, ecx
test al, al
mov dword [esp + 0x3c], esi
jne 0x428aa1
mov al, byte [esp + 0x17]
test al, al
jne 0x428aa1
mov al, byte [edi + 0x17d]
test al, al
jne 0x428aa1
mov edx, dword [ebp + 0x14]
cmp edx, dword [edi + 0xc]
jne 0x4287b2
mov eax, dword [ebp + 0x18]
cmp eax, dword [edi + 0x10]
jne 0x4287b2
push 3
push ebx
call dword [sym.imp.gdi32.dll_SetStretchBltMode]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x34]
mov eax, dword [ebp + 0x18]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.gdi32.dll_SetDIBitsToDevice]
jmp 0x429151
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
push ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], esi
mov word [esp + 0x84], 1
mov word [esp + 0x86], 0x18
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push 0
push 0
lea edx, [esp + 0x2c]
push edx
mov esi, eax
push 0
lea eax, [esp + 0x84]
push eax
push ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.gdi32.dll_CreateDIBSection]
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x428a66
fild dword [edi + 0xc]
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x1f]
fidiv dword [ebp + 0x14]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
test eax, eax
fstp dword [esp + 0x68]
fild dword [edi + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x44]
jle 0x428a66
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x5c]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
jmp 0x4288c0
fild dword [edi + 0x10]
fild dword [esp + 0x20]
fmul dword [esp + 0x44]
fsubp st(1)
fstp dword [esp + 0x48]
mov esi, dword [esp + 0x48]
push esi
call fcn.004270b0
add esp, 4
call fcn.00466260
test eax, eax
jge 0x4288f1
mov dword [esp + 0x28], 0
jmp 0x428903
push esi
call fcn.004270b0
add esp, 4
call fcn.00466260
mov dword [esp + 0x28], eax
mov ebx, dword [edi + 0x30]
imul ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ecx, dword [edi + 0x34]
lea esi, [edx + eax]
mov eax, dword [esp + 0x18]
add ebx, ecx
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x428a3c
mov eax, dword [esp + 0x50]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
add ecx, edx
mov dword [esp + 0x64], ecx
fild dword [esp + 0x64]
fmul dword [esp + 0x68]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
push eax
call fcn.004270b0
add esp, 4
call fcn.00466260
test eax, eax
jge 0x428974
xor eax, eax
jmp 0x428986
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004270b0
add esp, 4
call fcn.00466260
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x4289c8
fld dword [esp + 0x48]
push 0
fsub dword [0x560400]
push 5
push 2
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0xb4]
fld dword [esp + 0x48]
mov ecx, edi
fsub dword [0x560400]
fstp dword [esp]
push edx
call fcn.0042f2a0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x428a0c
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x4289f1
mov ecx, dword [esp + 0x28]
push ecx
push eax
mov ecx, edi
call fcn.00425640
lea edx, [esp + 0x6c]
mov ecx, edi
push eax
push edx
call fcn.004255d0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x428a0c
lea ecx, [ebx + eax*2]
mov dl, byte [ecx + eax]
add ecx, eax
mov al, byte [ecx + 1]
inc ecx
mov cl, byte [ecx + 1]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], al
mov byte [esp + 0x12], cl
mov dl, byte [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov byte [esi], dl
shr eax, 8
inc esi
mov byte [esi], al
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
inc esi
mov byte [esi], cl
mov ecx, dword [esp + 0x18]
inc esi
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x428940
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
dec edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x60]
add ecx, edx
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], eax
jne 0x4288c0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.gdi32.dll_SetDIBitsToDevice]
mov eax, dword [esp + 0x30]
push eax
jmp 0x42913c
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.00426e20
mov ecx, edi
call fcn.00426e60
xor edx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], edx
push ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], esi
mov word [esp + 0x84], 1
mov word [esp + 0x86], 0x18
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
lea edx, [esp + 0x84]
push edx
push ebx
mov dword [esp + 0x60], eax
call dword [sym.imp.gdi32.dll_CreateDIBSection]
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x50]
push edx
push ebx
push esi
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0
push ecx
call dword [sym.imp.gdi32.dll_BitBlt]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4290ff
mov eax, dword [esp + 0x18]
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 + 0x64], eax
mov eax, dword [edi + 0xc]
cmp ecx, eax
mov dword [esp + 0x44], eax
jne 0x428dcf
mov eax, dword [edi + 0x10]
cmp dword [ebp + 0x18], eax
jne 0x428dcf
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x10]
sub eax, edx
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4290ff
mov eax, dword [esp + 0x50]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x34]
imul eax, edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
add esi, eax
mov eax, dword [edi + 0x30]
imul eax, edx
mov dword [esp + 0x20], ecx
lea ecx, [ecx + ecx*2]
add eax, ecx
add eax, dword [edi + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x428da4
mov edx, eax
mov dword [esp + 0x38], edx
mov al, byte [esp + 0x17]
test al, al
je 0x428c74
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x1b0]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov al, byte [eax + ecx]
jmp 0x428c76
or al, 0xff
movzx ebx, byte [edi + 0x17c]
movzx edx, al
mov eax, dword [edi + 0x28]
inc ebx
imul ebx, edx
sar ebx, 8
test eax, eax
je 0x428cd8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.00425640
movzx eax, al
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, edi
mov dword [esp + 0x78], eax
call fcn.004255d0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov al, byte [edi + 0x17d]
test al, al
je 0x428cf6
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
movzx edx, bl
inc ecx
imul ecx, edx
sar ecx, 8
mov bl, cl
jmp 0x428cf6
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
mov dl, byte [eax + 1]
inc eax
inc eax
mov byte [esp + 0x10], cl
mov cl, byte [eax]
inc eax
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], cl
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x428d07
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x70], edx
jmp 0x428d0f
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x68]
jne 0x428d19
mov al, byte [esp + 0x16]
test al, al
jne 0x428d89
test bl, bl
je 0x428d89
cmp bl, 0xff
jne 0x428d39
mov cl, byte [esp + 0x10]
mov dl, byte [esp + 0x11]
mov al, byte [esp + 0x12]
mov byte [esi], cl
inc esi
mov byte [esi], dl
inc esi
mov byte [esi], al
inc esi
jmp 0x428d8c
movzx edx, byte [esi]
mov al, bl
movzx ecx, bl
movzx ebx, byte [esp + 0x10]
not al
imul ebx, ecx
movzx eax, al
imul edx, eax
add edx, ebx
movzx ebx, byte [esp + 0x11]
sar edx, 8
imul ebx, ecx
mov byte [esi], dl
movzx edx, byte [esi + 1]
inc esi
imul edx, eax
add edx, ebx
sar edx, 8
mov byte [esi], dl
movzx edx, byte [esi + 1]
inc esi
imul edx, eax
movzx eax, byte [esp + 0x12]
imul eax, ecx
add edx, eax
sar edx, 8
mov byte [esi], dl
inc esi
jmp 0x428d8c
add esi, 3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
inc ecx
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
jne 0x428c57
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
dec eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
jne 0x428c13
jmp 0x4290ff
fild dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
test eax, eax
fidiv dword [ebp + 0x14]
fstp dword [esp + 0xb8]
fild dword [edi + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0xb4]
jle 0x4290ff
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
fild dword [edi + 0x10]
sub esp, 8
fild dword [esp + 0x40]
fmul dword [esp + 0xbc]
fsubp st(1)
fst dword [esp + 0x24]
fstp qword [esp]
call fcn.004679c0
add esp, 8
call fcn.00466260
test eax, eax
jge 0x428e42
xor eax, eax
jmp 0x428e54
mov eax, dword [esp + 0x1c]
push eax
call fcn.004270b0
add esp, 4
call fcn.00466260
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
imul ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + edx]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
imul ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add ecx, edx
test eax, eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x30], 0
jle 0x4290d9
mov eax, dword [esp + 0x50]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
jmp 0x428ea0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
sub esp, 8
fmul dword [esp + 0xc0]
fst dword [esp + 0x28]
fstp qword [esp]
call fcn.004679c0
add esp, 8
call fcn.00466260
test eax, eax
jge 0x428ed8
xor eax, eax
jmp 0x428eef
fld dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
call fcn.004679c0
add esp, 8
call fcn.00466260
mov cl, byte [esp + 0x17]
test cl, cl
mov dword [esp + 0x28], eax
je 0x428f0c
mov edx, dword [edi + 0x1b0]
add edx, eax
mov eax, dword [esp + 0x40]
mov al, byte [edx + eax]
jmp 0x428f0e
or al, 0xff
movzx ebx, byte [edi + 0x17c]
movzx ecx, al
mov eax, dword [edi + 0x28]
inc ebx
imul ebx, ecx
sar ebx, 8
test eax, eax
je 0x428fca
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
mov ecx, edi
call fcn.00425640
movzx ecx, al
mov al, byte [ebp + 0x20]
test al, al
mov dword [esp + 0x70], ecx
je 0x428f84
fld dword [esp + 0x1c]
push 0
fsub dword [0x560400]
push 5
push 2
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0xd4]
fld dword [esp + 0x34]
mov ecx, edi
fsub dword [0x560400]
fstp dword [esp]
push edx
call fcn.0042f2a0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x428fab
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, edi
call fcn.00425640
mov ecx, edi
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.004255d0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov al, byte [edi + 0x17d]
test al, al
je 0x42902e
mov edx, dword [esp + 0x10]
shr edx, 0x18
movzx eax, bl
inc edx
imul edx, eax
sar edx, 8
mov bl, dl
jmp 0x42902e
mov al, byte [ebp + 0x20]
test al, al
je 0x42900c
fld dword [esp + 0x1c]
push 0
fsub dword [0x560400]
push 5
push 2
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0xd8]
fld dword [esp + 0x34]
fsub dword [0x560400]
fstp dword [esp]
push ecx
mov ecx, edi
call fcn.0042f2a0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jmp 0x42902e
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
lea eax, [eax + ecx*2]
add eax, ecx
mov cl, byte [eax]
mov dl, byte [eax + 1]
inc eax
mov al, byte [eax + 1]
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], al
mov eax, dword [edi + 0x28]
test eax, eax
je 0x42903f
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esp + 0x60]
jmp 0x429047
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x68]
jne 0x429051
mov al, byte [esp + 0x16]
test al, al
jne 0x4290c1
test bl, bl
je 0x4290c1
cmp bl, 0xff
jne 0x429071
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
mov dl, byte [esp + 0x12]
mov byte [esi], al
inc esi
mov byte [esi], cl
inc esi
mov byte [esi], dl
inc esi
jmp 0x4290c4
movzx edx, byte [esi]
mov al, bl
movzx ecx, bl
movzx ebx, byte [esp + 0x10]
not al
imul ebx, ecx
movzx eax, al
imul edx, eax
add edx, ebx
movzx ebx, byte [esp + 0x11]
sar edx, 8
imul ebx, ecx
mov byte [esi], dl
movzx edx, byte [esi + 1]
inc esi
imul edx, eax
add edx, ebx
sar edx, 8
mov byte [esi], dl
movzx edx, byte [esi + 1]
inc esi
imul edx, eax
movzx eax, byte [esp + 0x12]
imul eax, ecx
add edx, eax
sar edx, 8
mov byte [esi], dl
inc esi
jmp 0x4290c4
add esi, 3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x428ea0
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
dec esi
add edx, ecx
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
jne 0x428e13
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x48]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.gdi32.dll_SetDIBitsToDevice]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x48]
push edx
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 0x42917c
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.gdi32.dll_CreateRectRgnIndirect]
mov ecx, dword [ebp + 8]
push 2
mov esi, eax
push esi
push ecx
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