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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff58
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov edx, esp
mov eax, ebx
call fcn.004c8908
mov esi, eax
push esi
add esi, 0x34
lea edi, [esp + 0x60]
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 esi
mov eax, dword [esp]
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x2e4], eax
lea eax, [esp + 0x6c]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_GetClientRect
mov dl, 1
mov eax, dword [0x41ab48]
call fcn.00403854
mov dword [esp + 0x14], eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_GetDC
mov dword [esp + 0x18], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040799c
push eax
push 1
push 2
call sub.gdi32.dll_CreatePen
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SelectObject
mov dword [esp + 0x20], eax
push 0xa
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SetROP2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4c6ae6
mov byte [esp + 0x2c], 1
jmp 0x4c6aeb
mov byte [esp + 0x2c], 0
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 0x24]
add eax, 5
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x4c]
sub eax, 0xa
mov dword [esp + 0x58], eax
lea edx, [esp + 0x98]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c6bb7
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x28]
call fcn.0041d43c
mov dword [esp + 8], eax
cmp esi, dword [esp + 8]
jne 0x4c6bad
mov eax, dword [esi + 0x2c]
add eax, 0xa
mov dword [esp + 0x4c], eax
mov ebp, dword [edi + 8]
mov eax, dword [ebp + 8]
dec eax
cmp eax, dword [esp + 0x28]
jle 0x4c6b91
mov edx, dword [esp + 0x28]
inc edx
mov eax, ebp
call fcn.0041d43c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov edx, dword [esp + 0x10]
add eax, dword [edx + 0x30]
sub eax, 0xa
mov dword [esp + 0x54], eax
jmp 0x4c6bad
lea edx, [esp + 0x98]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0xa0]
sub eax, 0xa
mov dword [esp + 0x54], eax
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c6b3d
cmp byte [esp + 0x2c], 0
jne 0x4c6e2b
mov byte [esp + 0x2d], 0
mov eax, dword [ebx + 0x214]
cmp dword [eax + 8], 0
jg 0x4c6bd8
mov byte [esp + 0x2d], 1
cmp dword [esp + 0x10], 0
jne 0x4c6c02
mov edx, esi
mov eax, ebx
call fcn.004c89cc
test al, al
jne 0x4c6c35
mov edx, dword [esp + 0x10]
mov eax, ebx
call fcn.004c89cc
test al, al
jne 0x4c6c35
mov byte [esp + 0x2d], 1
jmp 0x4c6c35
mov edx, esi
mov eax, ebx
call fcn.004c89cc
test al, al
jne 0x4c6c35
mov edx, dword [esp + 0x10]
mov eax, ebx
call fcn.004c89cc
test al, al
jne 0x4c6c35
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
mov eax, ebx
call fcn.004c89cc
test al, al
jne 0x4c6c35
mov byte [esp + 0x2d], 1
cmp byte [esp + 0x2d], 0
je 0x4c6d22
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c6e2b
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x218]
call fcn.0041d43c
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4c6d0f
inc edi
xor ebp, ebp
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov edx, ebp
call fcn.0041d43c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x3c]
cmp eax, dword [esi + 0x3c]
jne 0x4c6d07
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
call fcn.0041d290
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
add eax, 0xa
cmp eax, dword [esp + 0x4c]
jle 0x4c6cc7
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
cmp ebp, eax
jge 0x4c6d07
lea edx, [ebp + 1]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
call fcn.0041d43c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
sub eax, 0xa
cmp eax, dword [esp + 0x54]
jge 0x4c6d07
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
sub eax, 0xa
mov dword [esp + 0x54], eax
inc ebp
dec edi
jne 0x4c6c88
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c6c5f
jmp 0x4c6e2b
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c6e2b
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x218]
call fcn.0041d43c
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4c6e1d
inc edi
xor ebp, ebp
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov edx, ebp
call fcn.0041d43c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x3c]
cmp eax, dword [esi + 0x3c]
jne 0x4c6e15
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 8]
mov eax, dword [edi + 8]
dec eax
cmp ebp, eax
jge 0x4c6daf
lea edx, [ebp + 1]
mov eax, edi
call fcn.0041d43c
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov eax, ebx
call fcn.004c89cc
test al, al
jne 0x4c6dcd
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004c89cc
test al, al
je 0x4c6e1d
cmp dword [esp + 0xc], 0
je 0x4c6df2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
sub eax, 0xa
cmp eax, dword [esp + 0x54]
jge 0x4c6df2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
sub eax, 0xa
mov dword [esp + 0x54], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
call fcn.0041d290
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
add eax, 0xa
cmp eax, dword [esp + 0x4c]
jle 0x4c6e1d
mov dword [esp + 0x4c], eax
jmp 0x4c6e1d
inc ebp
dec edi
jne 0x4c6d70
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c6d41
cmp byte [esp + 0x2c], 0
je 0x4c6ec7
fild dword [ebx + 0x2e4]
fdiv dword [0x4c7634]
fmul dword [0x4c7634]
fadd dword [0x4c7638]
call fcn.00402be8
mov dword [ebx + 0x2e4], eax
mov eax, dword [esp + 0x50]
cmp eax, dword [ebx + 0x2e4]
jle 0x4c6e6f
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x2e4], eax
mov eax, dword [esp + 0x58]
cmp eax, dword [ebx + 0x2e4]
jge 0x4c6e85
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x2e4], eax
push 0
mov eax, dword [ebx + 0x2e4]
push eax
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [ebx + 0x2e4]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
push 0x7f85
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
jmp 0x4c6f53
fild dword [ebx + 0x2e0]
fdiv dword [0x4c7634]
fmul dword [0x4c7634]
fadd dword [0x4c7638]
call fcn.00402be8
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 0x4c]
cmp eax, dword [ebx + 0x2e0]
jle 0x4c6f00
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [ebx + 0x2e0]
jge 0x4c6f16
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x2e0], eax
push 0
push 0
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
push 0x7f84
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_SetCapture
jmp 0x4c7180
push 0
push 0
mov eax, ebx
call fcn.004536d4
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x4c6f94
mov eax, dword [esp + 0x84]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x4c7196
mov eax, dword [esp + 0x80]
sub eax, 0x20
je 0x4c7180
sub eax, 0x1e0
je 0x4c6fbe
sub eax, 2
jne 0x4c7176
call sub.user32.dll_ReleaseCapture
jmp 0x4c7180
cmp byte [esp + 0x2c], 0
je 0x4c70a1
push 0
mov eax, dword [ebx + 0x2e4]
push eax
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [ebx + 0x2e4]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x2e4], eax
lea eax, [ebx + 0x2e0]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_ScreenToClient
fild dword [ebx + 0x2e4]
fdiv dword [0x4c7634]
fmul dword [0x4c7634]
fadd dword [0x4c7638]
call fcn.00402be8
mov dword [ebx + 0x2e4], eax
mov eax, dword [esp + 0x50]
cmp eax, dword [ebx + 0x2e4]
jle 0x4c705b
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x2e4], eax
mov eax, dword [esp + 0x58]
cmp eax, dword [ebx + 0x2e4]
jge 0x4c7071
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x2e4], eax
push 0
mov eax, dword [ebx + 0x2e4]
push eax
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [ebx + 0x2e4]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
jmp 0x4c7180
push 0
push 0
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x2e4], eax
lea eax, [ebx + 0x2e0]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_ScreenToClient
fild dword [ebx + 0x2e0]
fdiv dword [0x4c7634]
fmul dword [0x4c7634]
fadd dword [0x4c7638]
call fcn.00402be8
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 0x4c]
cmp eax, dword [ebx + 0x2e0]
jle 0x4c7133
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x2e0], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [ebx + 0x2e0]
jge 0x4c7149
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x2e0], eax
push 0
push 0
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
jmp 0x4c7180
lea eax, [esp + 0x7c]
push eax
call sub.user32.dll_DispatchMessageA
mov eax, ebx
call fcn.004536d4
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
je 0x4c6f65
mov eax, ebx
call fcn.004536d4
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4c71ad
call sub.user32.dll_ReleaseCapture
cmp byte [esp + 0x2c], 0
je 0x4c7271
push 0
mov eax, dword [ebx + 0x2e4]
push eax
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [ebx + 0x2e4]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
mov eax, dword [esi + 0x24]
cmp dword [eax + 8], 0
jg 0x4c71f0
mov edi, esi
jmp 0x4c724a
xor edi, edi
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c724a
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x24]
call fcn.0041d43c
call fcn.004c3f58
cmp eax, dword [esp + 0x34]
jle 0x4c7240
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x24]
call fcn.0041d43c
mov edi, eax
mov eax, edi
call fcn.004c3f58
mov dword [esp + 0x34], eax
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c7210
mov eax, edi
call fcn.004c40fc
mov eax, dword [edi + 0x1c]
mov edx, dword [ebx + 0x2e4]
sub edx, dword [eax + 0x24]
mov eax, dword [edi + 0x1c]
call fcn.004c5574
mov eax, ebx
call fcn.004c8660
jmp 0x4c75ec
push 0
push 0
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [ebx + 0x2e0]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.gdi32.dll_LineTo
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4c7300
inc edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.0041d43c
mov eax, dword [eax + 0x24]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4c72f6
inc edi
xor ebp, ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.0041d43c
mov eax, dword [eax + 0x24]
mov edx, ebp
call fcn.0041d43c
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.0041d290
inc ebp
dec edi
jne 0x4c72d0
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c72b5
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], 0
jle 0x4c747f
xor edx, edx
mov eax, dword [esp + 0x14]
call fcn.0041d43c
mov esi, eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
cmp eax, dword [esi + 0x28]
jle 0x4c733d
mov edx, dword [esi + 0x28]
inc edx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
call fcn.0041d43c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4c738d
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x20], 0
je 0x4c738d
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SetROP2
mov eax, dword [esp + 0x18]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_ReleaseDC
jmp 0x4c7626
xor edi, edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c73d4
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.0041d43c
cmp edi, dword [eax + 0x40]
jge 0x4c73ca
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.0041d43c
mov edi, dword [eax + 0x40]
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c73a8
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c747f
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.0041d43c
mov esi, eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
cmp eax, dword [esi + 0x28]
jle 0x4c7422
mov edx, dword [esi + 0x28]
inc edx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
call fcn.0041d43c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4c7471
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0x40]
jge 0x4c7471
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SetROP2
mov eax, dword [esp + 0x18]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_ReleaseDC
jmp 0x4c7626
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c73f1
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c75e5
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.0041d43c
mov esi, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [edi + 8]
dec eax
mov ebp, dword [esi + 0x28]
cmp eax, ebp
jle 0x4c74d0
mov edx, ebp
inc edx
mov eax, edi
call fcn.0041d43c
mov dword [esp + 0x10], eax
push esi
add esi, 0x34
lea edi, [esp + 0x40]
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 esi
inc dword [esp + 0x44]
inc dword [esp + 0x48]
mov edx, dword [ebx + 0x2e0]
sub edx, dword [esi + 0x2c]
mov edi, edx
mov eax, dword [esi + 0x30]
sub edi, eax
mov ebp, eax
mov eax, esi
call fcn.004c3f04
cmp ebp, dword [esi + 0x30]
je 0x4c7540
push 0
lea eax, [esp + 0x40]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_InvalidateRect
push edi
add esi, 0x34
lea edi, [esp + 0x40]
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
inc dword [esp + 0x44]
inc dword [esp + 0x48]
push 0
lea eax, [esp + 0x40]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_InvalidateRect
cmp dword [esp + 0x10], 0
je 0x4c75d7
mov eax, dword [esp + 0x10]
push edi
lea esi, [eax + 0x34]
lea edi, [esp + 0x40]
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
inc dword [esp + 0x44]
inc dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x2c]
add edx, edi
mov eax, dword [esp + 0x10]
call fcn.004c3ef4
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x30]
sub edx, edi
mov eax, dword [esp + 0x10]
call fcn.004c3f04
mov eax, dword [esp + 0x10]
cmp ebp, dword [eax + 0x30]
je 0x4c75d7
push 0
lea eax, [esp + 0x40]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [esp + 0x10]
lea esi, [eax + 0x34]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [esp + 0x44]
inc dword [esp + 0x48]
push 0
lea eax, [esp + 0x40]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_InvalidateRect
inc dword [esp + 0x28]
dec dword [esp + 0x38]
jne 0x4c749c
mov eax, ebx
call fcn.004c8660
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.gdi32.dll_SetROP2
mov eax, dword [esp + 0x18]
push eax
mov eax, ebx
call fcn.004536d4
push eax
call sub.user32.dll_ReleaseDC
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret