Function at 0x499c2c
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 0x49b150
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
test byte [eax + 0x27f], 0x80
jne 0x49b134
mov ecx, 0x49b160
mov edx, 0x49b168
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x28c]
xor eax, eax
push ebp
push 0x49b12d
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 [0x427250]
call fcn.0042d57c
mov dword [ebp - 0x40], eax
cmp byte [0x4ade5c], 0
je 0x499cf4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3dd], 1
je 0x499ce8
mov eax, dword [ebp - 8]
test byte [eax + 0x281], 0x80
jne 0x499ce8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 1
je 0x499cf4
mov dl, 7
mov eax, dword [ebp - 0x40]
call fcn.0042ebb0
jmp 0x499d00
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x40]
call fcn.0042ebb0
mov eax, edi
xor ecx, ecx
mov edx, 0x94
call fcn.00403964
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov dword [edi], eax
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.00429078
xor eax, eax
push ebp
push 0x49b0f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 8]
add eax, 0x2c9
call fcn.004747d4
mov eax, dword [ebp - 8]
call fcn.004993cc
test al, al
je 0x499d62
lea eax, [ebp - 0x13c]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
je 0x499d66
xor eax, eax
jmp 0x499d68
mov al, 1
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 8]
call fcn.00451100
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 0x499d91
cmp eax, dword [ebp - 0x60]
jbe 0x499da6
jmp 0x499d93
jle 0x499da6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x430]
xor edx, edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x499db2
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.0041919c
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.004293dc
push eax
call sub.gdi32.dll_GetMapMode
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.004293dc
push eax
call sub.gdi32.dll_SetMapMode
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x10
je 0x499e29
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34c]
mov eax, dword [eax + 0xc]
mov edx, dword [0x427250]
call fcn.00404398
test al, al
je 0x499e29
test byte [ebp + 0xc], 1
jne 0x499e2d
xor eax, eax
jmp 0x499e2f
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 0x499e69
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0x11], 2
jne 0x499e6d
xor eax, eax
jmp 0x499e6f
mov al, 1
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x25c]
call fcn.0047e634
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 0x80
jne 0x499eb1
mov eax, dword [ebp - 8]
mov si, 0xffb3
call fcn.00404408
test al, al
jne 0x499eb5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 2
je 0x499eb5
and byte [ebp + 0xc], 0xf7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 1
je 0x499ec8
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.00498688
mov ebx, eax
mov dword [edi + 8], ebx
test ebx, ebx
jne 0x499eef
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0x15], 0
je 0x499f09
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.0041919c
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x50], 0xfffffffe
cmp dword [edi + 8], 0
je 0x49abaa
lea ecx, [ebp - 4]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.004840a8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.00406498
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.00425c80
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 [0x49b170]
call fcn.00403420
add ebx, eax
mov eax, dword [ebp - 8]
sub ebx, dword [eax + 0x268]
mov dword [ebp - 0x2c], ebx
jmp 0x49aba0
mov eax, dword [edi + 8]
test byte [eax + 0xa], 1
jne 0x499ffc
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 0x49a017
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 4
jne 0x49a017
inc dword [ebp - 0x4c]
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
call fcn.00499674
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x3c]
and edx, 1
mov eax, dword [ebp - 0x78]
and eax, 1
call fcn.00419174
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 0x49a07a
test byte [ebp + 0xc], 0x80
jne 0x49a8da
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 0x49a0ce
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.0042db50
call fcn.004293dc
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.004293dc
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.004826b0
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 0x49a84c
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.0041919c
lea eax, [ebp - 0x158]
push eax
mov edx, edi
movzx ecx, byte [ebp - 0x16]
mov eax, dword [ebp - 8]
call fcn.004832c8
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 0x49a17c
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00484050
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x25c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
jmp 0x49a7e3
cmp byte [ebp - 0x1a], 0
je 0x49a1d7
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 0x49a1b1
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x50], eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
movzx eax, byte [eax + 0x30]
mov byte [edi + 0x3a], al
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
movzx eax, byte [eax + 0x44]
mov byte [edi + 0x38], al
jmp 0x49a1f5
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 0x49a22e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x288]
cmp eax, dword [edi + 8]
jne 0x49a22e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
cmp eax, dword [edi + 0xc]
je 0x49a22a
cmp byte [ebp - 0x1a], 0
jne 0x49a22e
and byte [edi + 4], 0xf7
cmp byte [ebp - 0x1a], 0
je 0x49a263
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x49a252
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xf], 4
je 0x49a252
test byte [edi + 4], 8
jne 0x49a263
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
test byte [eax + 0x3c], 0x10
je 0x49a267
and byte [edi + 4], 0xfd
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x18]
call fcn.0047e618
cmp eax, dword [edi + 0xc]
sete byte [ebp - 0x1b]
cmp byte [edi + 0x3a], 0
je 0x49a287
lea eax, [edi + 0x38]
call fcn.0044e08c
cmp byte [ebp - 0x1a], 0
je 0x49a2a2
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
test byte [eax + 0x3c], 0x80
je 0x49a76a
test byte [ebp + 0xc], 0x40
setne al
xor al, 1
or al, byte [ebp - 0x1b]
je 0x49a76a
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 0x49a75e
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 0x49a307
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x350]
sub dword [edi + 0x2c], eax
jmp 0x49a313
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 0x49a360
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 0x49a367
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.004825b8
mov byte [edi + 0x78], 0
jmp 0x49a367
mov dword [edi + 0x6c], 0xffffffff
cmp byte [ebp - 0x18], 0
je 0x49a3b1
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 0x49a3b8
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.004825b8
jmp 0x49a3b8
mov dword [edi + 0x58], 0xffffffff
cmp byte [ebp - 0x17], 0
je 0x49a414
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 + 0x4a7cec]
mov edx, edi
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x2e4]
cmp dword [edi + 0x44], 0xffffffff
jle 0x49a41b
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.004825b8
jmp 0x49a41b
mov dword [edi + 0x44], 0xffffffff
cmp byte [ebp - 0x1b], 0
je 0x49a44a
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.00425c80
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0048258c
cmp byte [ebp - 0x1a], 0
je 0x49a45f
push 0
lea ecx, [edi + 0x14]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
call fcn.004844d0
test byte [edi + 4], 0x20
je 0x49a563
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x80
je 0x49a563
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3cc]
mov edx, 4
call fcn.00481ffc
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call fcn.004282b0
cmp byte [ebp - 0x1b], 0
je 0x49a544
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3d3], 1
jne 0x49a544
cmp byte [edi + 0x3a], 0
jne 0x49a500
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.00425c80
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 0x49a55d
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.00425c80
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 0x49a55d
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 0x49a5f9
test byte [edi + 4], 0x20
je 0x49a5f9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 4
je 0x49a5f9
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x18]
test byte [eax + 0x15], 1
je 0x49a5a0
mov eax, dword [ebp - 0x54]
call fcn.0047be04
dec eax
cmp eax, dword [edi + 0x10]
jbe 0x49a5f9
cmp byte [edi + 0x3a], 0
je 0x49a5bb
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 0x49a5f3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3cc]
mov edx, 4
call fcn.00481ffc
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call fcn.004282b0
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.00484d0c
cmp byte [ebp - 0x1b], 0
je 0x49a6dd
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 2
je 0x49a675
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 0x20
je 0x49a643
mov eax, dword [ebp - 8]
test byte [eax + 0x281], 0x80
jne 0x49a675
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.00425c80
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 0x49a6ca
mov eax, dword [edi + 8]
test byte [eax + 0xa], 0x40
je 0x49a6ca
mov eax, dword [edi + 8]
test byte [eax + 0xb], 4
je 0x49a6a5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xd], 0x80
jne 0x49a6ca
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 0x49a6dd
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x340]
cmp dword [edi + 0x58], 0xffffffff
jle 0x49a6f4
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 0x49a70b
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 0x49a739
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x288]
cmp eax, dword [edi + 8]
jne 0x49a739
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
cmp eax, dword [edi + 0xc]
je 0x49a746
cmp byte [ebp - 0x1a], 0
je 0x49a746
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 0x49a7fb
jmp 0x49a77a
xor ecx, ecx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.0047d4a0
mov dword [ebp - 0x38], eax
push 0
mov eax, dword [edi]
call fcn.004293dc
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 0x70]
jge 0x49a7fb
cmp dword [ebp - 0x38], 0xfffffffe
je 0x49a7fb
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
test byte [eax + 0x3c], 0x80
je 0x49a7e3
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
call fcn.0047be0c
lea ecx, [edi + 0x1c]
lea edx, [edi + 0x14]
call fcn.0047b4f0
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 0x49a7ef
cmp byte [ebp - 0x1a], 0
jne 0x49a7fb
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 0x70]
jl 0x49a190
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 0x49a84c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 8], 0x40
je 0x49a84c
test byte [edi + 4], 0x10
je 0x49a84c
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 0x49a893
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.0041919c
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.0042db50
call fcn.004293dc
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.004293dc
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 0x49abaa
cmp byte [ebp - 0x15], 0
je 0x49a914
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.00498278
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x49ab9a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 4
je 0x49aa8e
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0049873c
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
call fcn.00406498
cmp eax, dword [ebp - 0x24]
jg 0x49a977
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47234c]
call fcn.00406654
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
jne 0x49a9a1
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.0049873c
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.00484020
test al, al
jne 0x49a9ea
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x260]
jne 0x49a9d0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00484000
test al, al
je 0x49a9dd
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 1
jmp 0x49aa22
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 4
jmp 0x49aa22
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x260]
jne 0x49aa17
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00484000
test al, al
jne 0x49aa17
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 5
jmp 0x49aa22
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 0x49aa5d
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00484020
test al, al
je 0x49aa4d
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov byte [eax + edx], 2
jmp 0x49aa57
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 0x49aa33
xor eax, eax
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x34]
jmp 0x49aa7e
test byte [ebx + 0xb], 1
je 0x49aa7b
inc dword [ebp - 0x4c]
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebp - 8]
cmp ebx, dword [eax + 0x260]
jne 0x49aa72
jmp 0x49ab9a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
cmp eax, dword [edi + 8]
jne 0x49ab10
cmp dword [ebp - 0x24], 0
jle 0x49aac6
mov edx, dword [edi + 8]
mov eax, dword [ebp - 8]
call fcn.00484000
test al, al
je 0x49aabb
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 2
jmp 0x49aac6
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.00406498
cmp eax, dword [ebp - 0x24]
jg 0x49aaf3
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47234c]
call fcn.00406654
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
jne 0x49ab6d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x268]
add dword [ebp - 0x2c], eax
jmp 0x49ab6d
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x49ab1c
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 0x49ab6d
jmp 0x49ab5f
dec dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 8
jne 0x49ab4a
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 0x49ab5f
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 0x49ab2c
cmp dword [ebp - 0x24], 0
jle 0x49ab9a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00484000
test al, al
je 0x49ab8f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx - 1], 3
jmp 0x49ab9a
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 0x499fe5
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x48]
jge 0x49b0d2
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.0041919c
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.0041919c
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.0042ebb0
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.0042db50
call fcn.004293dc
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov edx, eax
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x264]
test al, al
jne 0x49aff7
cmp byte [ebp - 0x16], 0
je 0x49ad1f
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.004293dc
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 0xa], 2
je 0x49aced
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042db50
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34c]
call fcn.0042b2e4
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.004862d0
jmp 0x49aff7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042db50
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34c]
call fcn.0042b2e4
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.0048647c
jmp 0x49aff7
cmp byte [ebp - 0x1a], 0
je 0x49afb5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x25c]
mov ebx, dword [eax + 8]
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x49ada0
xor edx, edx
mov eax, ebx
call fcn.0047d3a4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffe
je 0x49ad98
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
call fcn.0047a688
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
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 0x49adce
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047d4a0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x49ad47
jmp 0x49adce
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
call fcn.0047a688
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
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.00481ffc
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov eax, dword [eax + 0xc]
pop edx
call fcn.004282b0
jmp 0x49aef7
test byte [ebp + 0xc], 0x20
je 0x49ae5a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 0x40
je 0x49ae5a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 4
je 0x49ae5a
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
je 0x49ae32
mov eax, ebx
call fcn.0047be04
dec eax
cmp eax, dword [ebp - 0x50]
jbe 0x49ae5a
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.0047be0c
test byte [eax + 0x3c], 0x10
jne 0x49ae8b
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov eax, dword [eax + 0x14]
pop edx
call fcn.00428bb0
jmp 0x49aea1
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.00428bb0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
lea edx, [ebp - 0x11c]
call fcn.00428fc8
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047d4a0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffe
je 0x49aef7
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
call fcn.0047a688
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047be0c
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x50], 0xfffffffe
je 0x49af12
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x11c]
jg 0x49adf8
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x114]
jle 0x49af9a
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 0x49af71
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 0x40
je 0x49af71
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
test byte [eax + 9], 4
je 0x49af71
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
jne 0x49af71
inc dword [ebp - 0x11c]
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.00428bb0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
lea edx, [ebp - 0x11c]
call fcn.00428fc8
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.004293dc
push eax
call sub.gdi32.dll_SetWindowOrgEx
jmp 0x49aff7
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.004293dc
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [ebp - 0x40]
call fcn.0042db50
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.00428bb0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
lea edx, [ebp - 0x12c]
call fcn.00428fc8
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.004293dc
push eax
call sub.gdi32.dll_SetWindowOrgEx
cmp byte [ebp - 0x15], 0
je 0x49b093
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 8]
add eax, 0x2c9
call fcn.004747d4
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.0042db50
call fcn.004293dc
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.0042db50
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.0042db50
call fcn.004293dc
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.004293dc
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b0fc
mov eax, dword [ebp - 0x40]
call fcn.0042db50
call fcn.004292d0
mov eax, dword [ebp - 0x40]
call fcn.0040420c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b157
lea eax, [ebp - 4]
mov edx, dword [0x47234c]
call fcn.00406754
ret