Function at 0x418650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d20
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.00419350
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.004e50d2
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov esi, eax
test esi, esi
je 0x4186c5
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.004ea1e9
lea ecx, [ebp - 0x58]
push ecx
mov ecx, edi
call fcn.004ea1ad
push 0x471
mov ecx, edi
call fcn.004e50d2
mov esi, eax
test esi, esi
je 0x4186f7
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.004ea1e9
lea edx, [ebp - 0x68]
mov ecx, edi
push edx
call fcn.004ea1ad
push 0x472
mov ecx, edi
call fcn.004e50d2
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x41872d
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.004ea1e9
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.004ea1ad
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
call fcn.004f65e5
mov esi, dword [eax + 4]
push 0x50eeb8
mov ecx, esi
call fcn.004e5bd4
test eax, eax
je 0x41876d
push 0x677
lea ecx, [esi + 0xc8]
call fcn.00438e00
mov esi, eax
test esi, esi
je 0x41876a
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 0x418d21
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 0x418d21
push 0x14
call fcn.004e1a0a
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4187e0
mov edx, dword [0x54514c]
lea ecx, [esi + 0xc]
mov dword [ecx], edx
xor eax, eax
push 0x54ae58
mov byte [ebp - 4], 2
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004e14c2
jmp 0x4187e2
xor esi, esi
mov eax, dword [edi + 0xb8]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
mov dword [ebp - 0x1c], esi
jb 0x418802
add eax, 7
cmp ecx, eax
jae 0x418802
mov dword [esi + 0x10], 1
jmp 0x418809
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 [0x54514c]
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 0x4188a6
test eax, eax
jne 0x41885a
xor esi, esi
jmp 0x418892
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.004b0de0
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.004db700
add esp, 0xc
jmp 0x4188ef
test eax, eax
jne 0x4188ae
xor esi, esi
jmp 0x4188e6
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.004b0de0
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.004e14c2
push 0x3c
call fcn.004e1a0a
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 4
je 0x418915
mov ecx, esi
call fcn.004e1b4c
mov dword [esi], vtable.CStatic.0
jmp 0x418917
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.004ee81e
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
call ebx
push eax
call fcn.004eaa32
test eax, eax
je 0x418960
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.004e13f9
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
call fcn.004e1472
push 0
push 0x538b9c
lea ecx, [ebp - 0x14]
call fcn.004daf8e
push 0
push 0x538b98
lea ecx, [ebp - 0x14]
call fcn.004daf8e
push 0
push 0x538b94
lea ecx, [ebp - 0x14]
call fcn.004daf8e
lea ecx, [ebp - 0x14]
call fcn.004e18b5
push 0x538b9c
push 4
lea ecx, [ebp - 0x14]
call fcn.004dae9c
push 0x538b9c
push 9
lea ecx, [ebp - 0x14]
call fcn.004dae9c
push 0x538b9c
push 0xe
lea ecx, [ebp - 0x14]
call fcn.004dae9c
push 0x538b9c
push 0x13
lea ecx, [ebp - 0x14]
call fcn.004dae9c
push 0x538b9c
push 0x18
lea ecx, [ebp - 0x14]
call fcn.004dae9c
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
push 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
call fcn.004e1a0a
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 6
je 0x418a41
mov ecx, esi
call fcn.004e1b4c
mov dword [esi], vtable.CStatic.0
jmp 0x418a43
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.004ee81e
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x31
push ecx
call ebx
push eax
call fcn.004eaa32
test eax, eax
je 0x418a8c
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.004e1a0a
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x418acc
mov ecx, eax
call fcn.0041bb00
mov esi, eax
jmp 0x418ace
xor esi, esi
push 0
push 0x10
push 0x174
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0041c020
push 0xf00000
push 0
mov ecx, esi
call fcn.0041d260
push 0
mov ecx, esi
call fcn.0041ccb0
cmp dword [esi + 0xaa8], 2
je 0x418b32
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaa8], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418b32
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 0x418b6b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaac], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418b6b
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 0x418b95
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 0x418bd4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x418bc3
jmp 0x418bb3
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 0x418bd4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x418bc3
lea ecx, [esi + 0x40]
call fcn.004e97c8
lea ecx, [esi + 0x50]
call fcn.004eaa9e
mov ecx, esi
call fcn.00405320
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.0041d820
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 0x54ae58
call fcn.004ee878
mov eax, dword [edi + 0x114]
test eax, eax
je 0x418c23
push 0
mov ecx, esi
call fcn.0041cc70
mov ecx, dword [ebp - 0x38]
push 0x51b
push 0
push 0
push 0
push 0
push ecx
mov ecx, esi
call fcn.004e545f
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.004eaa32
push eax
mov ecx, esi
call fcn.0041d280
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov dword [esi + 0x94], eax
call fcn.00440050
push 0xe075
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.004400c0
push ecx
lea edx, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.004e10ae
mov ecx, esi
call fcn.004070c0
mov ecx, esi
call fcn.0041d560
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.0041a680
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.004e1339
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004e1339
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004e1339
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 0x4187a8
mov esi, dword [ebp - 0x28]
mov eax, dword [edi + 0x114]
test eax, eax
je 0x419277
push 0x14
call fcn.004e1a0a
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
je 0x418d67
mov edx, dword [0x54514c]
lea ecx, [esi + 0xc]
mov dword [ecx], edx
xor eax, eax
push 0x54ae58
mov byte [ebp - 4], 0xa
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004e14c2
jmp 0x418d69
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 0x418d8d
add eax, 7
cmp ecx, eax
jae 0x418d8d
mov dword [esi + 0x10], 1
jmp 0x418d94
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.004e1a0a
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
mov byte [ebp - 4], 0xb
je 0x418de9
mov ecx, esi
call fcn.004e1b4c
mov dword [esi], vtable.CStatic.0
jmp 0x418deb
xor esi, esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00440050
push 0xe077
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.004400c0
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.004ee81e
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call fcn.004eaa32
test eax, eax
je 0x418e4d
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 [0x54b788]
fmul qword [0x50d5b0]
call fcn.004b0f30
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.004e1a0a
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
mov byte [ebp - 4], 0xd
je 0x418e9c
mov ecx, eax
call fcn.0041a4c0
mov ebx, eax
jmp 0x418e9e
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.004eebc7
mov eax, dword [ebp - 0x38]
push 0x51b
push 0
push 0
push 0
push 0
push eax
mov ecx, ebx
call fcn.004e545f
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.004eaa32
test eax, eax
je 0x418efe
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 0x418f1d
mov ecx, ebx
call fcn.004e5517
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
push 0xb38
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
call fcn.004e1a0a
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 0xe
je 0x418f4c
mov ecx, eax
call fcn.0041bb00
mov esi, eax
jmp 0x418f4e
xor esi, esi
push 0
push 0x10
push 0x173
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0041c020
push 0xf00000
push 0
mov ecx, esi
call fcn.0041d260
push 0
mov ecx, esi
call fcn.0041ccb0
cmp dword [esi + 0xaa8], 2
je 0x418fb2
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaa8], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418fb2
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 0x418feb
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xaac], 2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418feb
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 0x41901e
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 0x41905d
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41904c
jmp 0x41903c
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 0x41905d
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41904c
lea ecx, [esi + 0x40]
call fcn.004e97c8
lea ecx, [esi + 0x50]
call fcn.004eaa9e
mov ecx, esi
call fcn.00405320
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.0041d820
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 0x54ae58
call fcn.004ee878
push 0x51b
push 0
push 0
push 0
push 0
push ebx
mov ecx, esi
call fcn.004e545f
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.004eaa32
push eax
mov ecx, esi
call fcn.0041d280
push 0xe076
lea ecx, [ebp - 0x24]
call fcn.004400c0
push ecx
lea edx, [ebp - 0x24]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.004e10ae
mov ecx, esi
call fcn.004070c0
mov ecx, esi
call fcn.0041d560
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 0x4191db
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x419146
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x419146
mov ecx, esi
call fcn.0041a640
mov dword [ebp + 8], eax
jmp 0x41914d
mov dword [ebp + 8], 1
mov ecx, esi
call fcn.0041a640
add eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
jns 0x41915e
xor eax, eax
shl eax, 2
push eax
call fcn.004e1a0a
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebp - 0x38], eax
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0041a890
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
push 1
push eax
mov dword [ebp + 8], eax
call fcn.0041a8c0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041a890
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.0041a670
mov eax, dword [esi + 4]
push eax
call fcn.004e1a33
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.0041a640
lea eax, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
jmp 0x419266
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x419229
lea edx, [ebx + 4]
mov ecx, esi
push edx
push eax
push ebx
call fcn.0041a890
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.0041a8c0
mov ecx, dword [esi + 8]
mov eax, ebx
cmp ebx, ecx
je 0x419262
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x41921b
jmp 0x419262
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0041a890
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp ebx, eax
je 0x41924f
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebx
mov dword [ecx], edx
jne 0x419240
lea eax, [ebx + 4]
cmp ebx, eax
je 0x419262
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
add ebx, 4
cmp ebx, eax
jne 0x419256
add dword [esi + 8], 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004e1339
mov esi, dword [ebp - 0x28]
jmp 0x419285
mov eax, dword [ebp + 8]
test eax, eax
je 0x419285
mov ecx, edi
call fcn.004e5517
mov ecx, edi
call fcn.004184d0
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 0x4192b0
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