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

Disassembly:
sub esp, 0x4c
push ebp
xor ebp, ebp
cmp dword [0x61d618], ebp
push esi
mov esi, ecx
jne 0x469bcf
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x469bcf
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push edi
nop
cmp ebx, dword [esi + 0x78]
jge 0x469bb2
test ebx, ebx
jl 0x469bca
cmp ebx, dword [esi + 0x78]
jge 0x469bca
mov ecx, dword [esi + 0x74]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x469ba3
mov ecx, edi
call fcn.00459ab0
cmp eax, dword [esp + 0x60]
jne 0x469ba3
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x64]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x4c], ecx
push ebx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0040d550
mov eax, dword [esp + 0x64]
mov edx, dword [edi + 0x20]
movsx ebp, ax
shr eax, 0x10
lea ecx, [esp + 0x2c]
movsx eax, ax
push ecx
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], edx
push ebp
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x34], eax
call ebp
mov ecx, dword [esi + 0x6c]
call fcn.0042a6d0
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0042a6d0
push eax
lea eax, [esp + 0x24]
push eax
call ebp
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 0x74]
push edx
mov ecx, edi
call fcn.00459ac0
mov ecx, eax
call fcn.0041cce0
mov ebp, eax
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, edi
call fcn.00459ac0
mov ecx, eax
call fcn.0041cd70
cmp ebp, dword [esp + 0x1c]
jne 0x469ab0
cmp eax, dword [esp + 0x20]
je 0x469bbe
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [0x61d618], 1
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 5
push 0
push 0
push eax
push ecx
push 0
mov ecx, edi
call fcn.0058a9ae
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
push eax
mov dword [esp + 0x28], ecx
push esi
mov ecx, edi
mov dword [esp + 0x30], edx
call fcn.0040d550
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 0x74]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00459ac0
mov ecx, eax
call fcn.0041d010
mov ebp, dword [edi + 0x54]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [edi + 0x54], 1
call fcn.00461f70
push 0
lea ecx, [esi + 0x2c4]
call fcn.004137c0
push 0
lea ecx, [esi + 0x29c]
call fcn.004137c0
mov edx, dword [esi]
mov eax, dword [edx + 0x174]
mov ecx, esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x174]
mov ecx, edi
call eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [edi + 0x54], ebp
call fcn.00461f70
mov edx, dword [esi + 0x20]
push 1
xor edi, edi
push edi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0xe0], edi
lea ebp, [edi + 1]
mov dword [0x61d618], edi
add ebx, 1
test ebp, ebp
mov dword [esp + 0x10], ebx
je 0x469990
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
add esp, 0x4c
ret 8
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x4c
ret 8
call fcn.0057e0f5
pop esi
xor eax, eax
pop ebp
add esp, 0x4c
ret 8