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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x81e348]
push ebx
push ebp
push esi
mov esi, ecx
add eax, eax
mov ecx, dword [0x81e34c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push edi
mov edi, dword [esi]
add ecx, ecx
push eax
mov dword [esp + 0x1c], ecx
push 0x81e360
push 2
mov edx, 0x81e370
lea ecx, [esp + 0x50]
call fcn.0041c4e0
mov edx, dword [edi]
push eax
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call dword [edx + 0xc0]
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00416400
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00416400
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.00416400
mov edx, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00406fc0
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
sub edi, ebp
call fcn.004212d0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + ecx]
cmp edi, eax
jl 0x41eda8
mov eax, edi
cdq
idiv ecx
mov ebx, eax
jmp 0x41edad
mov ebx, 1
mov ecx, dword [esi]
mov dword [esp + 0x44], ebx
mov edx, dword [ecx]
call dword [edx + 0xc4]
mov ecx, dword [esi]
push 1
call fcn.006c0e4c
mov edi, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
sub eax, edi
mov edi, dword [esp + 0x38]
lea eax, [eax + edi - 1]
cdq
idiv edi
mov edi, ebx
mov edx, ecx
imul edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x3c], edx
add eax, ecx
cmp ecx, eax
mov dword [esp + 0x14], eax
jge 0x41ef49
test ebx, ebx
mov dword [esp + 0x10], 0
jle 0x41ef3c
sub edx, ecx
inc edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], edi
mov ecx, dword [0x81e374]
mov eax, dword [0x81e370]
lea ebx, [ecx + ecx]
mov ecx, dword [esi]
lea edi, [eax + eax]
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc0]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [0x81e348]
add ecx, edi
add eax, ebx
mov ebx, dword [0x81e34c]
mov ebp, edx
lea edi, [ecx + edx]
mov ecx, dword [esp + 0x5c]
lea edx, [eax + ebx]
mov eax, dword [esp + 0x34]
imul ecx, dword [esp + 0x38]
imul eax, dword [esp + 0x10]
add ebp, eax
add edi, eax
mov eax, dword [esp + 0x30]
add edx, ecx
add ebx, ecx
cmp edx, eax
jge 0x41ee7b
mov eax, edx
mov ecx, dword [esp + 0x2c]
cmp edi, ecx
jl 0x41ee85
mov edi, ecx
mov ecx, dword [esp + 0x28]
cmp ebx, ecx
jg 0x41ee8f
mov ebx, ecx
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jg 0x41ee99
mov ebp, ecx
push eax
push edi
push ebx
push ebp
lea ecx, [esp + 0x7c]
call fcn.00406fc0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x8c]
push ecx
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], edi
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esi]
lea eax, [esp + 0x8c]
push ebx
push eax
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 8]
call fcn.006bcbe5
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi]
inc edi
inc ebx
mov edx, dword [ecx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call dword [edx + 0xc4]
cmp edi, eax
jge 0x41ef49
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
inc eax
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x41ee1a
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
inc edx
cmp edx, eax
mov dword [esp + 0x3c], edx
jl 0x41edff
mov dword [esi + 0x20], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret