Function at 0x41b510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
call fcn.0041c210
lea eax, [edi + 0xbc]
push 0x105
push 0
push eax
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
push 0x444
mov ecx, edi
call fcn.004e92e2
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov esi, eax
test esi, esi
je 0x41b585
mov edx, dword [esi + 0x1c]
lea ecx, [ebp - 0x58]
push ecx
push edx
call ebx
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004ee3f9
lea ecx, [ebp - 0x58]
push ecx
mov ecx, edi
call fcn.004ee3bd
push 0x471
mov ecx, edi
call fcn.004e92e2
mov esi, eax
test esi, esi
je 0x41b5b7
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x68]
push edx
push eax
call ebx
lea ecx, [ebp - 0x68]
push ecx
mov ecx, esi
call fcn.004ee3f9
lea edx, [ebp - 0x68]
mov ecx, edi
push edx
call fcn.004ee3bd
push 0x472
mov ecx, edi
call fcn.004e92e2
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x41b5ed
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x78]
push eax
push ecx
call ebx
lea edx, [ebp - 0x78]
mov ecx, esi
push edx
call fcn.004ee3f9
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.004ee3bd
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
call fcn.004fa7f5
mov esi, dword [eax + 4]
push 0x512fe0
mov ecx, esi
call fcn.004e9de4
test eax, eax
je 0x41b62d
push 0xe77
lea ecx, [esi + 0xc8]
call fcn.0043e060
mov esi, eax
test esi, esi
je 0x41b62a
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x28]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
cmp esi, eax
mov dword [ebp - 0x38], eax
je 0x41bbe1
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x24], eax
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0xd], al
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x10]
test al, al
je 0x41bbe1
push 0x14
call fcn.004e5c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
je 0x41b6a0
mov edx, dword [0x54a6a4]
lea ecx, [esi + 0xc]
mov dword [ecx], edx
xor eax, eax
push 0x550398
mov byte [ebp - 4], 2
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004e56d2
jmp 0x41b6a2
xor esi, esi
mov eax, dword [edi + 0xb8]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
mov dword [ebp - 0x1c], esi
jb 0x41b6c2
add eax, 7
cmp ecx, eax
jae 0x41b6c2
mov dword [esi + 0x10], 1
jmp 0x41b6c9
mov dword [esi + 0x10], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x4c]
sub eax, dword [edi + 0xb8]
mov esi, ecx
sub ecx, edx
imul eax, ecx
mov dword [ebp - 0x44], edx
add edx, eax
mov dword [ebp - 0x44], edx
mov edx, dword [0x54a6a4]
add esi, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], esi
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 3
test al, al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
je 0x41b766
test eax, eax
jne 0x41b71a
xor esi, esi
jmp 0x41b752
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004b4fa0
mov eax, dword [ebp - 0x30]
mov esi, esp
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
lea ecx, [ebp - 0x2c]
push 0xe025
push ecx
call fcn.004df910
add esp, 0xc
jmp 0x41b7af
test eax, eax
jne 0x41b76e
xor esi, esi
jmp 0x41b7a6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004b4fa0
mov edx, dword [ebp - 0x30]
mov esi, esp
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
lea ecx, [ebp - 0x2c]
call fcn.004e56d2
push 0x3c
call fcn.004e5c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 4
je 0x41b7d5
mov ecx, esi
call fcn.004e5d5c
mov dword [esi], vtable.CStatic.0
jmp 0x41b7d7
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push 0xffff
lea eax, [ebp - 0x48]
push edi
mov edx, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, esi
neg edx
sbb edx, edx
mov byte [ebp - 4], 3
and edx, 0x10000000
or edx, 0x40000200
push edx
push eax
call fcn.004f2a2e
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
call ebx
push eax
call fcn.004eec42
test eax, eax
je 0x41b820
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push 1
push eax
push 0x30
push edx
call ebx
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004e5609
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
call fcn.004e5682
push 0
push 0x53ccc0
lea ecx, [ebp - 0x14]
call fcn.004df19e
push 0
push 0x53c7d4
lea ecx, [ebp - 0x14]
call fcn.004df19e
push 0
push 0x53ccbc
lea ecx, [ebp - 0x14]
call fcn.004df19e
lea ecx, [ebp - 0x14]
call fcn.004e5ac5
push 0x53ccc0
push 4
lea ecx, [ebp - 0x14]
call fcn.004df0ac
push 0x53ccc0
push 9
lea ecx, [ebp - 0x14]
call fcn.004df0ac
push 0x53ccc0
push 0xe
lea ecx, [ebp - 0x14]
call fcn.004df0ac
push 0x53ccc0
push 0x13
lea ecx, [ebp - 0x14]
call fcn.004df0ac
push 0x53ccc0
push 0x18
lea ecx, [ebp - 0x14]
call fcn.004df0ac
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
push 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
call fcn.004e5c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 6
je 0x41b901
mov ecx, esi
call fcn.004e5d5c
mov dword [esi], vtable.CStatic.0
jmp 0x41b903
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push 0xffff
lea eax, [ebp - 0x48]
push edi
mov edx, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, esi
neg edx
sbb edx, edx
mov byte [ebp - 4], 5
and edx, 0x10000000
or edx, 0x40000200
push edx
push eax
call fcn.004f2a2e
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
call ebx
push eax
call fcn.004eec42
test eax, eax
je 0x41b94c
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push 1
push eax
push 0x30
push edx
call ebx
mov eax, dword [ebp - 0x1c]
push 0xb38
mov dword [eax + 4], esi
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
call fcn.004e5c1a
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x41b98c
mov ecx, eax
call fcn.0041eb10
mov esi, eax
jmp 0x41b98e
xor esi, esi
push 0
push 0x10
push 0x174
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0041f020
push 0xf00000
push 0
mov ecx, esi
call fcn.00420260
push 0
mov ecx, esi
call fcn.0041fcb0
cmp dword [esi + 0xaa8], 2
je 0x41b9f2
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaa8], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b9f2
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0xaac], 2
je 0x41ba2b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaac], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ba2b
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x18]
and eax, 1
cmp al, 1
jne 0x41ba55
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + 0xa4]
push ecx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ba94
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41ba83
jmp 0x41ba73
mov eax, dword [edi + 0x110]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ba94
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41ba83
lea ecx, [esi + 0x40]
call fcn.004ed9d8
lea ecx, [esi + 0x50]
call fcn.004eecae
mov ecx, esi
call fcn.00405450
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc4]
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push 0
push 0
push 0x8024
call fcn.00420820
mov edx, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x48]
push edi
mov eax, dword [edx + 0x10]
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, 0x10000000
or eax, 0x40010000
push eax
push 0x550398
call fcn.004f2a88
mov eax, dword [edi + 0x114]
test eax, eax
je 0x41bae3
push 0
mov ecx, esi
call fcn.0041fc70
mov ecx, dword [ebp - 0x38]
push 0x51b
push 0
push 0
push 0
push 0
push ecx
mov ecx, esi
call fcn.004e966f
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push edx
mov dword [ebp - 0x38], esi
call ebx
push 1
push eax
call fcn.004eec42
push eax
mov ecx, esi
call fcn.00420280
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov dword [esi + 0x94], eax
call fcn.004456e0
push 0xe075
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00445750
push ecx
lea edx, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.004e52be
mov ecx, esi
call fcn.004071f0
mov ecx, esi
call fcn.00420560
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0xa8]
lea edx, [ebp - 0x1c]
mov dword [eax + 8], esi
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.0041d550
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
inc esi
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 5
call fcn.004e5549
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004e5549
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004e5549
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [edx + 0x10]
test al, al
jne 0x41b668
mov esi, dword [ebp - 0x28]
mov eax, dword [edi + 0x114]
test eax, eax
je 0x41c137
push 0x14
call fcn.004e5c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
je 0x41bc27
mov edx, dword [0x54a6a4]
lea ecx, [esi + 0xc]
mov dword [ecx], edx
xor eax, eax
push 0x550398
mov byte [ebp - 4], 0xa
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004e56d2
jmp 0x41bc29
xor esi, esi
mov eax, dword [edi + 0xb8]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], esi
jb 0x41bc4d
add eax, 7
cmp ecx, eax
jae 0x41bc4d
mov dword [esi + 0x10], 1
jmp 0x41bc54
mov dword [esi + 0x10], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x4c]
sub eax, dword [edi + 0xb8]
mov esi, ecx
sub ecx, edx
imul eax, ecx
mov dword [ebp - 0x44], edx
add edx, eax
add esi, eax
push 0x3c
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], esi
call fcn.004e5c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
mov byte [ebp - 4], 0xb
je 0x41bca9
mov ecx, esi
call fcn.004e5d5c
mov dword [esi], vtable.CStatic.0
jmp 0x41bcab
xor esi, esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004456e0
push 0xe077
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00445750
mov eax, dword [ebp - 0x14]
push 0xffff
lea edx, [ebp - 0x48]
push edi
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [ebp - 0x24]
neg ecx
sbb ecx, ecx
and ecx, 0x10000000
or ecx, 0x40000200
push ecx
push edx
mov ecx, esi
call fcn.004f2a2e
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call fcn.004eec42
test eax, eax
je 0x41bd0d
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x1c]
push 1
push eax
push 0x30
push ecx
call ebx
mov edx, dword [ebp - 0x14]
mov dword [edx], esi
fld qword [0x550ce0]
fmul qword [0x5115b0]
call fcn.004b50f0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
sub ecx, eax
push 0x40
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
call fcn.004e5c1a
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
mov byte [ebp - 4], 0xd
je 0x41bd5c
mov ecx, eax
call fcn.0041d390
mov ebx, eax
jmp 0x41bd5e
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x48]
push edi
mov edx, dword [ecx + 0x10]
push eax
neg edx
sbb edx, edx
mov ecx, ebx
and edx, 0x10000000
mov byte [ebp - 4], 0xc
or edx, 0x40810088
push edx
call fcn.004f2dd7
mov eax, dword [ebp - 0x38]
push 0x51b
push 0
push 0
push 0
push 0
push eax
mov ecx, ebx
call fcn.004e966f
mov ecx, dword [edi + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push ecx
call esi
push eax
call fcn.004eec42
test eax, eax
je 0x41bdbe
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x1c]
push 1
push eax
push 0x30
push edx
call esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41bddd
mov ecx, ebx
call fcn.004e9727
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
push 0xb38
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
call fcn.004e5c1a
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 0xe
je 0x41be0c
mov ecx, eax
call fcn.0041eb10
mov esi, eax
jmp 0x41be0e
xor esi, esi
push 0
push 0x10
push 0x173
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0041f020
push 0xf00000
push 0
mov ecx, esi
call fcn.00420260
push 0
mov ecx, esi
call fcn.0041fcb0
cmp dword [esi + 0xaa8], 2
je 0x41be72
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaa8], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41be72
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0xaac], 2
je 0x41beab
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaac], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41beab
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x3c], esi
and eax, 1
mov dword [edi + 0xcc], esi
cmp al, 1
jne 0x41bede
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + 0xa4]
push ecx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bf1d
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41bf0c
jmp 0x41befc
mov eax, dword [edi + 0x110]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bf1d
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41bf0c
lea ecx, [esi + 0x40]
call fcn.004ed9d8
lea ecx, [esi + 0x50]
call fcn.004eecae
mov ecx, esi
call fcn.00405450
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc4]
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push 0
push 0
push 0x8025
call fcn.00420820
mov edx, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x48]
push edi
mov eax, dword [edx + 0x10]
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, 0x10000000
or eax, 0x40010000
push eax
push 0x550398
call fcn.004f2a88
push 0x51b
push 0
push 0
push 0
push 0
push ebx
mov ecx, esi
call fcn.004e966f
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
call fcn.004eec42
push eax
mov ecx, esi
call fcn.00420280
push 0xe076
lea ecx, [ebp - 0x24]
call fcn.00445750
push ecx
lea edx, [ebp - 0x24]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.004e52be
mov ecx, esi
call fcn.004071f0
mov ecx, esi
call fcn.00420560
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x94], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], esi
mov eax, dword [edi + 0xb0]
mov edx, dword [edi + 0xb4]
lea esi, [edi + 0xa8]
sub edx, eax
mov ebx, eax
sar edx, 2
cmp edx, 1
jae 0x41c09b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41c006
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x41c006
mov ecx, esi
call fcn.0041d510
mov dword [ebp + 8], eax
jmp 0x41c00d
mov dword [ebp + 8], 1
mov ecx, esi
call fcn.0041d510
add eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
jns 0x41c01e
xor eax, eax
shl eax, 2
push eax
call fcn.004e5c1a
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebp - 0x38], eax
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0041d760
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
push 1
push eax
mov dword [ebp + 8], eax
call fcn.0041d790
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041d760
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.0041d540
mov eax, dword [esi + 4]
push eax
call fcn.004e5c43
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0041d510
lea eax, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
jmp 0x41c126
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x41c0e9
lea edx, [ebx + 4]
mov ecx, esi
push edx
push eax
push ebx
call fcn.0041d760
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x14]
mov edx, eax
push ecx
sub edx, ebx
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.0041d790
mov ecx, dword [esi + 8]
mov eax, ebx
cmp ebx, ecx
je 0x41c122
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x41c0db
jmp 0x41c122
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0041d760
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp ebx, eax
je 0x41c10f
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebx
mov dword [ecx], edx
jne 0x41c100
lea eax, [ebx + 4]
cmp ebx, eax
je 0x41c122
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
add ebx, 4
cmp ebx, eax
jne 0x41c116
add dword [esi + 8], 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004e5549
mov esi, dword [ebp - 0x28]
jmp 0x41c145
mov eax, dword [ebp + 8]
test eax, eax
je 0x41c145
mov ecx, edi
call fcn.004e9727
mov ecx, edi
call fcn.0041b390
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0xbc]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x41c170
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x84]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4