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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x55], 0
je 0x8b5c75
cmp byte [eax + 0x75], 0
jne 0x8b5c75
mov eax, dword [ebp - 4]
mov byte [eax + 0x30c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d9]
add al, 0xfb
sub al, 2
jae 0x8b5cea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
add dword [ebp + 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
sub edx, dword [eax + 0x280]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x290]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x300]
add edi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
add edi, dword [eax + 0x278]
mov eax, dword [ebp - 4]
add edi, dword [eax + 0x288]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x28]
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x258]
jmp 0x8b5d61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
add dword [ebp + 0x14], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x300]
add edi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
add edi, dword [eax + 0x278]
mov eax, dword [ebp - 4]
add edi, dword [eax + 0x288]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x250]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x28]
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x258]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2f4]
dec al
jne 0x8b5d61
mov eax, dword [ebp - 4]
add esi, dword [eax + 0x31c]
sub esi, ebx
push esi
lea eax, [ebp - 0xb8]
push eax
mov edx, dword [ebp - 0x14]
sub edx, ebx
mov ecx, edi
mov eax, dword [ebp - 0x10]
call fcn.0040efac
mov eax, dword [ebp - 4]
lea esi, [ebp - 0xb8]
lea edi, [eax + 0x330]
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 eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x290]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x284]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x288]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28c]
mov dword [ebp - 0x9c], eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 4]
sub ebx, 2
mov edx, ebx
mov ecx, dword [ebp - 0xa4]
sub edx, ecx
test edx, edx
jge 0x8b5e06
xor edx, edx
mov dword [ebp - 0x20], edx
mov edx, ebx
cmp edx, ecx
jge 0x8b5e11
mov edx, ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
cmp edx, eax
jg 0x8b5e20
mov eax, edx
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f4], 0
je 0x8b5e55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1a8], 0
jg 0x8b5e59
xor eax, eax
jmp 0x8b5e5b
mov al, 1
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x39], 0
je 0x8b5e96
push 1
push 1
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
call sub.gdi32.dll_GetClipRgn
push 0
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SelectClipRgn
xor edx, edx
push ebp
push 0x8b6af4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0xc]
jg 0x8b68c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 4]
jl 0x8b68c3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 0x1fffffff
setne byte [ebp - 0x19]
xor edx, edx
push ebp
push 0x8b68b9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30c], 0
je 0x8b60d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x244], 0
je 0x8b60d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
mov eax, dword [eax + 0x50]
mov edx, dword [0xa3f6ec]
cmp eax, dword [edx]
je 0x8b60d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
mov eax, dword [eax + 0x50]
mov edx, dword [0xa3fcd4]
cmp eax, dword [edx]
jne 0x8b5f64
mov eax, dword [ebp - 4]
add eax, 0x244
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x44]
call fcn.00407470
jmp 0x8b60ce
xor eax, eax
push ebp
push 0x8b605e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d9]
add al, 0xfb
sub al, 2
jae 0x8b5fa5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x274]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x27c]
mov dword [ebp - 0x18], eax
jmp 0x8b5fc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x274]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x27c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
push eax
mov eax, dword [ebp - 4]
add eax, 0x2dc
push eax
mov eax, dword [ebp - 4]
add eax, 0x310
push eax
mov eax, dword [ebp - 4]
add eax, 0x314
push eax
mov eax, dword [ebp - 4]
add eax, 0x328
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x280]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x300]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x278]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.008b4b34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x198], 0
je 0x8b6054
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [0x47ac7c]
call fcn.004076a4
test al, al
je 0x8b6054
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8b60ce
mov eax, dword [ebp - 4]
mov byte [eax + 0x30c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x199], 0
je 0x8b60f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00408930
jmp 0x8b6afb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30c], 0
jne 0x8b6135
mov eax, dword [ebp - 4]
cmp dword [eax + 0x244], 0
je 0x8b6135
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
call fcn.008ae714
mov edx, dword [0xa3f6ec]
cmp eax, dword [edx]
je 0x8b6135
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x54], 0
jne 0x8b6139
xor ebx, ebx
jmp 0x8b613b
mov bl, 1
cmp byte [ebp - 0x19], 0
je 0x8b6366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x55], 0
je 0x8b6161
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x74], 0
je 0x8b6366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0x60], eax
call fcn.00517548
test al, al
je 0x8b6185
call fcn.0051752c
mov edx, dword [ebp - 0x60]
call fcn.00512e3c
jmp 0x8b6188
mov eax, dword [ebp - 0x60]
call fcn.0047c878
mov edx, dword [0xa40870]
mov edx, dword [edx]
or edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0047da98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.0047dc18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0x198], bl
je 0x8b631e
mov eax, dword [ebp - 4]
add eax, 0x318
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx eax, byte [eax + 0x198]
mov byte [ebp - 0x6d], al
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
jne 0x8b6235
mov dl, 1
mov eax, dword [0x47ac7c]
call fcn.00483d3c
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
cmp byte [ebp - 0x6d], 0
je 0x8b6235
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [0xa3fca4]
cmp byte [eax], 8
ja 0x8b6235
mov eax, dword [0xa40164]
mov eax, dword [eax]
call fcn.00483acc
mov edx, eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x68], 2
jle 0x8b6243
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
jmp 0x8b624a
mov dword [ebp - 0x74], 2
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov edx, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x44]
cmp dword [ebp - 0x6c], 2
jle 0x8b6265
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
jmp 0x8b626c
mov dword [ebp - 0x78], 2
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov edx, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0x7c], eax
call fcn.00517548
test al, al
je 0x8b62a0
call fcn.0051752c
mov edx, dword [ebp - 0x7c]
call fcn.00512e3c
mov dword [ebp - 0x80], eax
jmp 0x8b62a6
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
call fcn.0047c878
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
mov eax, dword [eax + 0x48]
mov edx, dword [0xa40870]
mov edx, dword [edx]
or edx, dword [ebp - 0x80]
call fcn.0047da98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.0047dc18
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
xor eax, eax
call fcn.0040efac
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x8b6366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x55], 0
je 0x8b6336
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x75], 0
je 0x8b6366
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa8]
call fcn.0040efac
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
test bl, bl
je 0x8b68af
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
je 0x8b68af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x198], 0
jne 0x8b6683
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [0x856be8]
call fcn.004076a4
test al, al
je 0x8b63dc
mov eax, dword [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x310]
mov ecx, dword [ebp - 0xa8]
call fcn.0089a888
jmp 0x8b68af
mov eax, dword [ebp - 4]
cmp byte [eax + 0x328], 0
je 0x8b6436
push 0xcc0020
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
jmp 0x8b68af
mov eax, dword [ebp - 4]
add eax, 0x318
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx eax, byte [eax + 0x198]
mov byte [ebp - 0x8d], al
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0
jne 0x8b64ce
mov dl, 1
mov eax, dword [0x47ac7c]
call fcn.00483d3c
mov edx, dword [ebp - 0x84]
mov dword [edx], eax
cmp byte [ebp - 0x8d], 0
je 0x8b64ce
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [0xa3fca4]
cmp byte [eax], 8
ja 0x8b64ce
mov eax, dword [0xa40164]
mov eax, dword [eax]
call fcn.00483acc
mov edx, eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x88], 2
jle 0x8b64e5
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x94], eax
jmp 0x8b64ef
mov dword [ebp - 0x94], 2
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov edx, dword [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx + 0x44]
cmp dword [ebp - 0x8c], 2
jle 0x8b6519
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x98], eax
jmp 0x8b6523
mov dword [ebp - 0x98], 2
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
push 0x660046
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
push 0x8800c6
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
push 0xee0086
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
jmp 0x8b68af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [0x856be8]
call fcn.004076a4
test al, al
je 0x8b6732
cmp byte [ebp - 0x19], 0
je 0x8b66f2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x310]
xor ecx, ecx
call fcn.0089a818
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
call fcn.0089a360
jmp 0x8b68af
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push dword [eax + 0x1c0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push dword [eax + 0x1c4]
mov eax, dword [ebp - 8]
call fcn.0047ed34
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x310]
mov ecx, dword [ebp - 0xa8]
call fcn.0089aad0
jmp 0x8b68af
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
je 0x8b68af
mov eax, dword [ebp - 4]
cmp byte [eax + 0x328], 0
je 0x8b677f
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
call fcn.0089a360
jmp 0x8b68af
cmp byte [ebp - 0x19], 0
je 0x8b687a
push 0x660046
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
push 0x8800c6
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
push 0xee0086
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048465c
call fcn.0047ed34
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0048465c
call fcn.0047ed34
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
call fcn.0089a360
jmp 0x8b68af
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
call fcn.0089a4c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8b68c3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2fa], 0
je 0x8b698f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d9], 0
jne 0x8b694a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x9c]
sub edx, dword [eax + 0x27c]
push edx
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xa0]
sub ecx, dword [eax + 0x278]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x274]
add edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x280]
add eax, dword [ebp - 0xa8]
call fcn.0040efac
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0x55]
mov eax, dword [ebp - 8]
call fcn.008968e8
jmp 0x8b698f
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
call fcn.0040efac
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0x55]
mov eax, dword [ebp - 8]
call fcn.008968e8
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f4], 1
jne 0x8b69fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x290]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x280]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x250]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x284]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x274]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.008b6bb4
jmp 0x8b6a6e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f4], 2
jne 0x8b6a4a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x290]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x250]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x284]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.008b6bb4
jmp 0x8b6a6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.008b6bb4
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x18], ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2fa], 0
je 0x8b6aaa
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x30]
push eax
call sub.gdi32.dll_DeleteObject
cmp dword [ebp - 0x34], 0
je 0x8b6aaa
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_DeleteObject
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x330]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8b6afb
cmp byte [ebp - 0x39], 0
je 0x8b6af3
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x38]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14