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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea edi, [ebp - 0x10c]
xor eax, eax
push ebp
push 0x49b840
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
test byte [eax + 0x27f], 0x80
jne 0x49b824
mov ecx, 0x49b850
mov edx, 0x49b858
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x28c]
xor eax, eax
push ebp
push 0x49b81d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x160]
mov dl, 1
mov eax, dword [0x427780]
call fcn.0042daac
mov dword [ebp - 0x40], eax
cmp byte [0x4aee5c], 0
je 0x49a3e4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3dd], 1
je 0x49a3d8
mov eax, dword [ebp - 8]
test byte [eax + 0x281], 0x80
jne 0x49a3d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 1
je 0x49a3e4
mov dl, 7
mov eax, dword [ebp - 0x40]
call fcn.0042f0e0
jmp 0x49a3f0
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x40]
call fcn.0042f0e0
mov eax, edi
xor ecx, ecx
mov edx, 0x94
call fcn.00403958
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov dword [edi], eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.004295a8
xor eax, eax
push ebp
push 0x49b7e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 8]
add eax, 0x2c9
call fcn.00474ec4
mov eax, dword [ebp - 8]
call fcn.00499abc
test al, al
je 0x49a452
lea eax, [ebp - 0x13c]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
je 0x49a456
xor eax, eax
jmp 0x49a458
mov al, 1
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 8]
call fcn.004517ac
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x430]
xor edx, edx
cmp edx, dword [ebp - 0x5c]
jne 0x49a481
cmp eax, dword [ebp - 0x60]
jbe 0x49a496
jmp 0x49a483
jle 0x49a496
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x430]
xor edx, edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x49a4a2
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
push 0
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x68]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419158
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
call fcn.0042990c
push eax
call sub.gdi32.dll_GetMapMode
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetMapMode
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x10
je 0x49a519
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34c]
mov eax, dword [eax + 0xc]
mov edx, dword [0x427780]
call fcn.0040438c
test al, al
je 0x49a519
test byte [ebp + 0xc], 1
jne 0x49a51d
xor eax, eax
jmp 0x49a51f
mov al, 1
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3a0], 0
setne byte [ebp - 0x17]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3a4], 0
setne byte [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3b0], 0
je 0x49a559
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0x11], 2
jne 0x49a55d
xor eax, eax
jmp 0x49a55f
mov al, 1
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x25c]
call fcn.0047ed24
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 0x80
jne 0x49a5a1
mov eax, dword [ebp - 8]
mov si, 0xffb3
call fcn.004043fc
test al, al
jne 0x49a5a5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 2
je 0x49a5a5
and byte [ebp + 0xc], 0xf7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 1
je 0x49a5b8
and byte [ebp + 0xc], 0xfb
xor eax, eax
mov dword [ebp - 0x3c], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00498d78
mov ebx, eax
mov dword [edi + 8], ebx
test ebx, ebx
jne 0x49a5df
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0x15], 0
je 0x49a5f9
mov eax, dword [ebp - 0x3c]
neg eax
push eax
push 0
lea eax, [ebp - 0x13c]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x14]
add eax, ebx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x74]
sub eax, esi
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
push 0
lea eax, [ebp - 0x12c]
push eax
sub esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
sub edx, esi
mov ecx, dword [ebp - 0x44]
mov eax, ebx
call fcn.00419158
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x50], 0xfffffffe
cmp dword [edi + 8], 0
je 0x49b29a
lea ecx, [ebp - 4]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.00484798
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.0040648c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x24]
mov edx, 1
call fcn.00425c70
mov ebx, eax
mov eax, dword [ebp - 8]
imul ebx, dword [eax + 0x268]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x398]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x268]
sub edx, eax
mov dword [ebp - 0x140], edx
fild dword [ebp - 0x140]
fdiv dword [0x49b860]
call fcn.00403420
add ebx, eax
mov eax, dword [ebp - 8]
sub ebx, dword [eax + 0x268]
mov dword [ebp - 0x2c], ebx
jmp 0x49b290
mov eax, dword [edi + 8]
test byte [eax + 0xa], 1
jne 0x49a6ec
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x318]
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x49a707
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 4
jne 0x49a707
inc dword [ebp - 0x4c]
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
call fcn.00499d64
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x3c]
and edx, 1
mov eax, dword [ebp - 0x78]
and eax, 1
call fcn.00419130
mov eax, dword [ebp - 0x148]
mov dword [edi + 0x3b], eax
mov eax, dword [ebp - 0x144]
mov dword [edi + 0x3f], eax
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
add dword [ebp - 0x3c], eax
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x4c], 0
jg 0x49a76a
test byte [ebp + 0xc], 0x80
jne 0x49afca
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [edi + 8]
movzx edx, word [edx + 8]
cmp eax, edx
je 0x49a7be
xor edx, edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [edi + 8]
movzx edx, word [eax + 8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0x110], eax
push 0
mov eax, dword [edi + 0x3f]
push eax
mov eax, dword [edi + 0x3b]
push eax
mov eax, dword [edi]
call fcn.0042990c
push eax
call sub.gdi32.dll_SetBrushOrgEx
mov eax, dword [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
movzx ecx, byte [ebp - 0x18]
movzx edx, byte [ebp - 0x17]
mov eax, dword [ebp - 8]
call fcn.00482da0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x15c]
test al, al
jne 0x49af3c
movzx eax, byte [ebp + 0xc]
mov byte [edi + 4], al
push 1
mov eax, dword [ebp - 0x120]
push eax
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x78]
call fcn.00419158
lea eax, [ebp - 0x158]
push eax
mov edx, edi
movzx ecx, byte [ebp - 0x16]
mov eax, dword [ebp - 8]
call fcn.004839b8
push edi
lea esi, [ebp - 0x11c]
add edi, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmp byte [ebp - 0x1a], 0
je 0x49a86c
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00484740
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x25c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
jmp 0x49aed3
cmp byte [ebp - 0x1a], 0
je 0x49a8c7
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x30]
mov edx, dword [edi + 0x10]
mov eax, dword [eax + edx*4]
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x49a8a1
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x50], eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
movzx eax, byte [eax + 0x30]
mov byte [edi + 0x3a], al
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
movzx eax, byte [eax + 0x44]
mov byte [edi + 0x38], al
jmp 0x49a8e5
mov dword [edi + 0xc], 0xffffffff
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x5f]
mov byte [edi + 0x3a], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x3de]
mov byte [edi + 0x38], al
movzx eax, byte [ebp + 0xc]
mov byte [edi + 4], al
mov eax, dword [ebp - 8]
test byte [eax + 0x27d], 8
je 0x49a91e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x288]
cmp eax, dword [edi + 8]
jne 0x49a91e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
cmp eax, dword [edi + 0xc]
je 0x49a91a
cmp byte [ebp - 0x1a], 0
jne 0x49a91e
and byte [edi + 4], 0xf7
cmp byte [ebp - 0x1a], 0
je 0x49a953
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x49a942
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xf], 4
je 0x49a942
test byte [edi + 4], 8
jne 0x49a953
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
test byte [eax + 0x3c], 0x10
je 0x49a957
and byte [edi + 4], 0xfd
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x18]
call fcn.0047ed08
cmp eax, dword [edi + 0xc]
sete byte [ebp - 0x1b]
cmp byte [edi + 0x3a], 0
je 0x49a977
lea eax, [edi + 0x38]
call fcn.0044e738
cmp byte [ebp - 0x1a], 0
je 0x49a992
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
test byte [eax + 0x3c], 0x80
je 0x49ae5a
test byte [ebp + 0xc], 0x40
setne al
xor al, 1
or al, byte [ebp - 0x1b]
je 0x49ae5a
lea ecx, [ebp - 0x38]
mov edx, edi
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xe4]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebp - 0x78]
jle 0x49ae4e
mov eax, dword [edi]
push eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1f4]
mov dword [edi + 0x34], eax
push edi
lea esi, [edi + 0x14]
add edi, 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmp byte [edi + 0x3a], 0
je 0x49a9f7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x350]
sub dword [edi + 0x2c], eax
jmp 0x49aa03
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x350]
add dword [edi + 0x24], eax
movzx eax, byte [ebp - 0x19]
and al, byte [ebp - 0x1b]
je 0x49aa50
push 0
push 0
xor ecx, ecx
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2d0]
mov dword [edi + 0x6c], eax
cmp dword [edi + 0x6c], 0xffffffff
jle 0x49aa57
mov eax, dword [ebp - 0x20]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x6c]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3b0]
movzx ecx, byte [edi + 0x3a]
mov eax, dword [ebp - 8]
call fcn.00482ca8
mov byte [edi + 0x78], 0
jmp 0x49aa57
mov dword [edi + 0x6c], 0xffffffff
cmp byte [ebp - 0x18], 0
je 0x49aaa1
push 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3a4]
push eax
mov edx, edi
mov cl, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2e4]
cmp dword [edi + 0x58], 0xffffffff
jle 0x49aaa8
mov eax, dword [ebp - 0x20]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x58]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3a4]
movzx ecx, byte [edi + 0x3a]
mov eax, dword [ebp - 8]
call fcn.00482ca8
jmp 0x49aaa8
mov dword [edi + 0x58], 0xffffffff
cmp byte [ebp - 0x17], 0
je 0x49ab04
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3a0]
push eax
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
setne al
and eax, 0x7f
movzx ecx, byte [eax + 0x4a8cec]
mov edx, edi
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2e4]
cmp dword [edi + 0x44], 0xffffffff
jle 0x49ab0b
mov eax, dword [ebp - 0x20]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x44]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3a0]
movzx ecx, byte [edi + 0x3a]
mov eax, dword [ebp - 8]
call fcn.00482ca8
jmp 0x49ab0b
mov dword [edi + 0x44], 0xffffffff
cmp byte [ebp - 0x1b], 0
je 0x49ab3a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x24]
mov edx, 1
call fcn.00425c70
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00482c7c
cmp byte [ebp - 0x1a], 0
je 0x49ab4f
push 0
lea ecx, [edi + 0x14]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
call fcn.00484bc0
test byte [edi + 4], 0x20
je 0x49ac53
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x80
je 0x49ac53
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3cc]
mov edx, 4
call fcn.004826ec
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call fcn.004287e0
cmp byte [ebp - 0x1b], 0
je 0x49ac34
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3d3], 1
jne 0x49ac34
cmp byte [edi + 0x3a], 0
jne 0x49abf0
mov eax, dword [edi + 0x1c]
dec eax
push eax
mov eax, dword [edi + 0x20]
dec eax
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x24]
mov edx, 1
call fcn.00425c70
mov ecx, eax
mov eax, dword [ebp - 8]
imul ecx, dword [eax + 0x268]
add ecx, dword [edi + 0x14]
mov edx, edi
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2b8]
jmp 0x49ac4d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x24]
mov edx, 1
call fcn.00425c70
mov edx, dword [ebp - 8]
imul dword [edx + 0x268]
mov edx, dword [edi + 0x1c]
sub edx, eax
dec edx
push edx
mov eax, dword [edi + 0x20]
dec eax
push eax
mov edx, edi
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2b8]
jmp 0x49ac4d
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x20]
dec eax
push eax
mov edx, edi
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2b8]
dec dword [edi + 0x20]
dec dword [edi + 0x30]
cmp byte [ebp - 0x1a], 0
je 0x49ace9
test byte [edi + 4], 0x20
je 0x49ace9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 4
je 0x49ace9
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x18]
test byte [eax + 0x15], 1
je 0x49ac90
mov eax, dword [ebp - 0x54]
call fcn.0047c4f4
dec eax
cmp eax, dword [edi + 0x10]
jbe 0x49ace9
cmp byte [edi + 0x3a], 0
je 0x49acab
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x110]
test al, al
jne 0x49ace3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3cc]
mov edx, 4
call fcn.004826ec
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call fcn.004287e0
mov eax, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0x1c]
dec eax
push eax
mov edx, edi
mov ecx, dword [edi + 0x18]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2bc]
dec dword [edi + 0x1c]
dec dword [edi + 0x2c]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.004853fc
cmp byte [ebp - 0x1b], 0
je 0x49adcd
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 2
je 0x49ad65
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 0x20
je 0x49ad33
mov eax, dword [ebp - 8]
test byte [eax + 0x281], 0x80
jne 0x49ad65
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x24]
mov edx, 1
call fcn.00425c70
push eax
mov eax, dword [ebp - 4]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x34c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x20
je 0x49adba
mov eax, dword [edi + 8]
test byte [eax + 0xa], 0x40
je 0x49adba
mov eax, dword [edi + 8]
test byte [eax + 0xb], 4
je 0x49ad95
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xd], 0x80
jne 0x49adba
mov eax, dword [edi + 0xc]
push eax
lea eax, [edi + 0x14]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
movzx eax, byte [edi + 0x3a]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x348]
cmp dword [edi + 0x6c], 0xffffffff
jle 0x49adcd
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x340]
cmp dword [edi + 0x58], 0xffffffff
jle 0x49ade4
push 0
mov edx, edi
mov cl, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x344]
cmp dword [edi + 0x44], 0xffffffff
jle 0x49adfb
push 1
mov edx, edi
xor ecx, ecx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x344]
mov eax, dword [ebp - 8]
test byte [eax + 0x27d], 8
je 0x49ae29
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x288]
cmp eax, dword [edi + 8]
jne 0x49ae29
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
cmp eax, dword [edi + 0xc]
je 0x49ae36
cmp byte [ebp - 0x1a], 0
je 0x49ae36
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [edi + 0xc]
push eax
lea eax, [edi + 0x14]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x13c]
cmp byte [ebp - 0x1a], 0
je 0x49aeeb
jmp 0x49ae6a
xor ecx, ecx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047db90
mov dword [ebp - 0x38], eax
push 0
mov eax, dword [edi]
call fcn.0042990c
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 0x70]
jge 0x49aeeb
cmp dword [ebp - 0x38], 0xfffffffe
je 0x49aeeb
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
test byte [eax + 0x3c], 0x80
je 0x49aed3
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
call fcn.0047c4fc
lea ecx, [edi + 0x1c]
lea edx, [edi + 0x14]
call fcn.0047bbe0
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
mov dword [edi + 0x30], eax
cmp dword [edi + 0xc], 0xfffffffe
jg 0x49aedf
cmp byte [ebp - 0x1a], 0
jne 0x49aeeb
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 0x70]
jl 0x49a880
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x144]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3ec]
cmp eax, dword [edi + 8]
jne 0x49af3c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x40
je 0x49af3c
test byte [edi + 4], 0x10
je 0x49af3c
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x268]
cmp byte [ebp - 0x15], 0
je 0x49af83
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419158
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x350]
push 0xcc0020
push 0
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0042990c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
add dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x48]
jge 0x49b29a
cmp byte [ebp - 0x15], 0
je 0x49b004
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
neg eax
push eax
push 0
lea eax, [ebp - 0x13c]
push eax
call sub.user32.dll_OffsetRect
mov cl, 1
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.00498968
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x49b28a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 4
je 0x49b17e
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00498e2c
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
call fcn.0040648c
cmp eax, dword [ebp - 0x24]
jg 0x49b067
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x472a3c]
call fcn.00406648
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
jne 0x49b091
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.00498e2c
sub eax, dword [ebp - 0x24]
inc eax
mov edx, dword [ebp - 8]
imul dword [edx + 0x268]
sub dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00484710
test al, al
jne 0x49b0da
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x260]
jne 0x49b0c0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004846f0
test al, al
je 0x49b0cd
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 1
jmp 0x49b112
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 4
jmp 0x49b112
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x260]
jne 0x49b107
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004846f0
test al, al
jne 0x49b107
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 5
jmp 0x49b112
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 3
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp - 0x24]
sub eax, 2
mov dword [ebp - 0x28], eax
jmp 0x49b14d
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00484710
test al, al
je 0x49b13d
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov byte [eax + edx], 2
jmp 0x49b147
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov byte [eax + edx], 0
mov ebx, dword [ebx + 0x18]
dec dword [ebp - 0x28]
mov eax, dword [ebp - 8]
cmp ebx, dword [eax + 0x260]
jne 0x49b123
xor eax, eax
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x34]
jmp 0x49b16e
test byte [ebx + 0xb], 1
je 0x49b16b
inc dword [ebp - 0x4c]
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebp - 8]
cmp ebx, dword [eax + 0x260]
jne 0x49b162
jmp 0x49b28a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
cmp eax, dword [edi + 8]
jne 0x49b200
cmp dword [ebp - 0x24], 0
jle 0x49b1b6
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.004846f0
test al, al
je 0x49b1ab
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 2
jmp 0x49b1b6
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 0
inc dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040648c
cmp eax, dword [ebp - 0x24]
jg 0x49b1e3
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x472a3c]
call fcn.00406648
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
jne 0x49b25d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x268]
add dword [ebp - 0x2c], eax
jmp 0x49b25d
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x49b20c
dec dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
mov edx, dword [edi + 8]
cmp eax, dword [edx + 0x18]
je 0x49b25d
jmp 0x49b24f
dec dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
jne 0x49b23a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x268]
sub dword [ebp - 0x2c], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x49b24f
dec dword [ebp - 0x4c]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x34]
cmp eax, dword [edx + 0x18]
jne 0x49b21c
cmp dword [ebp - 0x24], 0
jle 0x49b28a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004846f0
test al, al
je 0x49b27f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 3
jmp 0x49b28a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 5
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
cmp dword [edi + 8], 0
jne 0x49a6d5
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x48]
jge 0x49b7c2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x12c]
xor edx, edx
mov eax, dword [ebp - 0x12c]
call fcn.00419158
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.00419158
xor edx, edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 7
mov eax, dword [ebp - 0x40]
call fcn.0042f0e0
mov edx, dword [ebp - 0x124]
sub edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x120]
sub edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov edx, eax
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x264]
test al, al
jne 0x49b6e7
cmp byte [ebp - 0x16], 0
je 0x49b40f
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 2
je 0x49b3dd
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34c]
call fcn.0042b814
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.004869c0
jmp 0x49b6e7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34c]
call fcn.0042b814
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.00486b6c
jmp 0x49b6e7
cmp byte [ebp - 0x1a], 0
je 0x49b6a5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x25c]
mov ebx, dword [eax + 8]
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x49b490
xor edx, edx
mov eax, ebx
call fcn.0047da94
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffe
je 0x49b488
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
call fcn.0047ad78
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x12c]
jg 0x49b4be
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047db90
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x49b437
jmp 0x49b4be
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
call fcn.0047ad78
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3cc]
mov edx, 4
call fcn.004826ec
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov eax, dword [eax + 0xc]
pop edx
call fcn.004287e0
jmp 0x49b5e7
test byte [ebp + 0xc], 0x20
je 0x49b54a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 0x40
je 0x49b54a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 4
je 0x49b54a
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
je 0x49b522
mov eax, ebx
call fcn.0047c4f4
dec eax
cmp eax, dword [ebp - 0x50]
jbe 0x49b54a
mov eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x114]
dec eax
push eax
mov edx, edi
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x2bc]
dec dword [ebp - 0x114]
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
test byte [eax + 0x3c], 0x10
jne 0x49b57b
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov eax, dword [eax + 0x14]
pop edx
call fcn.004290e0
jmp 0x49b591
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.004290e0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
lea edx, [ebp - 0x11c]
call fcn.004294f8
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047db90
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffe
je 0x49b5e7
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
call fcn.0047ad78
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047c4fc
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x50], 0xfffffffe
je 0x49b602
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x11c]
jg 0x49b4e8
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x114]
jle 0x49b68a
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x114], eax
test byte [ebp + 0xc], 0x20
je 0x49b661
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 0x40
je 0x49b661
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 4
je 0x49b661
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
jne 0x49b661
inc dword [ebp - 0x11c]
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.004290e0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
lea edx, [ebp - 0x11c]
call fcn.004294f8
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetWindowOrgEx
jmp 0x49b6e7
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.004290e0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
lea edx, [ebp - 0x12c]
call fcn.004294f8
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetWindowOrgEx
cmp byte [ebp - 0x15], 0
je 0x49b783
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 8]
add eax, 0x2c9
call fcn.00474ec4
mov eax, dword [ebp - 0x10]
neg eax
mov edx, dword [ebp - 8]
add eax, dword [edx + 0x428]
push eax
mov eax, dword [ebp - 0x14]
neg eax
add eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_OffsetRect
push 0
mov eax, dword [ebp - 0x14]
and eax, 1
push eax
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
call sub.gdi32.dll_SetBrushOrgEx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042e080
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x350]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.0042990c
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0042990c
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b7ec
mov eax, dword [ebp - 0x40]
call fcn.0042e080
call fcn.00429800
mov eax, dword [ebp - 0x40]
call fcn.00404200
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b847
lea eax, [ebp - 4]
mov edx, dword [0x472a3c]
call fcn.00406748
ret