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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x60]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
cmp eax, 0x7e8
mov dword [esp + 0x60], 0
ja case.0x5870dd.1030
je 0x5887a3
lea ecx, [eax - 0x405]
cmp ecx, 0x43
ja case.0x5870dd.1030
jmp dword [ecx*4 + 0x5887c8]
mov eax, dword [edi + 0x160]
mov ecx, eax
shr ecx, 0xe
and ecx, 1
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x587117
or eax, 0x4000
mov dword [edi + 0x160], eax
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
and eax, 0xffffbfff
mov dword [edi + 0x160], eax
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x1c4]
test eax, eax
mov esi, dword [esp + 0x6c]
je case.0x5870dd.1030
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
push ecx
push edx
push edi
call fcn.0057fa10
test esi, esi
jne 0x587182
test eax, eax
je case.0x5870dd.1030
lea esi, [esp + 0x24]
mov ecx, esi
push ecx
push eax
call fcn.005867e0
mov eax, dword [esp + 0x24]
test eax, eax
jne case.0x5870dd.1030
mov edx, dword [edi + 0x5c]
cmp edx, dword [esp + 0x2c]
ja case.0x5870dd.1030
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x60]
inc eax
cmp eax, edx
jb 0x58718f
mov eax, edx
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe case.0x5870dd.1030
mov esi, dword [esp + 0x68]
cmp esi, ecx
jb 0x5871aa
cmp esi, eax
jbe case.0x5870dd.1030
push esi
sub eax, ecx
push eax
mov eax, dword [edi + 0x1c4]
push ecx
push edx
push eax
call fcn.0057f800
mov ecx, dword [edi]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
mov edx, dword [edi + 0x70]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x74]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax + 4], edx
mov eax, dword [esp + 0x54]
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x11c]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [edi + 0x11c]
mov esi, dword [esp + 0x68]
push esi
mov dword [esp + 0x64], ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x5870dd.1030
mov eax, dword [esp + 0x60]
mov dword [edi + 0x11c], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x587279
mov edi, dword [edi + 8]
test edi, edi
je 0x587b18
push 0
push 0
push 0xc6
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
cmp eax, 3
jae 0x587b18
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
push edx
push eax
push edi
call fcn.0057fa10
push 0x304
push 0
push 0
push eax
lea ecx, [edi + 0x1cc]
push ecx
call dword [edi + 0x218]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
cmp dword [edi + 4], 1
mov dword [esp + 0x60], 0
jne 0x58732f
mov eax, dword [edi + 8]
test eax, eax
je case.0x5870dd.1030
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xc7
push eax
call esi
test eax, eax
je 0x5872ec
mov dword [esp + 0x60], 0x10
mov edx, dword [edi + 8]
push 0
push 0
push 0xb0
push edx
call esi
mov ecx, eax
shr ecx, 0x10
cmp ax, cx
je 0x58730a
or dword [esp + 0x60], 0xa
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x5870dd.1030
mov eax, dword [esp + 0x60]
pop edi
pop esi
or eax, 4
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
push edx
push eax
push edi
call fcn.0057fa10
mov ebx, eax
lea ebp, [edi + 0x1cc]
xor esi, esi
mov ecx, dword [esi + 0x612ae8]
push ecx
push 0xa
lea edx, [esp + 0x3c]
push edx
push ebx
push ebp
call dword [edi + 0x218]
test eax, eax
je 0x587371
mov ecx, dword [esp + 0x60]
mov eax, dword [esi + 0x612aec]
or ecx, eax
mov dword [esp + 0x60], ecx
add esi, 8
cmp esi, 0x20
jb 0x587347
push 0x302
push 0xa
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebp
call dword [edi + 0x218]
mov esi, eax
test esi, esi
je case.0x5870dd.1030
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + esi*4 + 0x30]
dec esi
push edx
call ebx
test eax, eax
je 0x5873b0
or edi, 4
test esi, esi
jne 0x5873a1
mov dword [esp + 0x60], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
cmp dword [edi + 4], 1
jne 0x5873ef
mov eax, dword [edi + 8]
test eax, eax
je 0x5873ef
push 0
push 0
push 0xc7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
push edi
call fcn.0057fa10
push 0x304
push 0
push 0
push eax
lea edx, [edi + 0x1cc]
push edx
call dword [edi + 0x21c]
mov ecx, dword [edi + 0x3c]
push eax
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x40]
push eax
push ecx
push edi
call fcn.0057fc20
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
xor ebx, ebx
cmp eax, 0x434
jne 0x587496
mov esi, dword [esp + 0x68]
lea edx, [esp + 0x14]
push edx
push esi
push edi
call fcn.0057f2b0
test eax, eax
jne 0x58747a
cmp esi, dword [edi + 0xc8]
jae 0x587496
lea eax, [edi + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x58748e
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x14]
lea edx, [edi + 0x1cc]
push edx
call dword [edi + 0x204]
mov esi, eax
mov eax, dword [edi + 0x160]
test ah, 1
je 0x5874ed
mov eax, dword [edi + 0xd0]
test eax, eax
jge 0x5874ed
mov eax, dword [edi + 0x1d8]
push eax
call fcn.005807c0
push esi
mov ebp, eax
call fcn.005807c0
cmp ebp, eax
je 0x5874ed
mov ebp, dword [esp + 0x10]
push 1
push 0
push ebp
mov dword [edi + 0xdc], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5874f1
mov ebp, dword [esp + 0x10]
test ebx, ebx
mov dword [edi + 0x1d8], esi
jne 0x587508
push 1
lea ecx, [edi + 0x78]
push ecx
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x5c]
cmp eax, esi
mov dword [esp + 0x60], eax
je 0x587563
push edi
mov dword [edi + 0x5c], esi
call fcn.0057f780
mov eax, dword [edi + 0x5c]
test eax, eax
jbe 0x58752f
mov ecx, dword [edi + 0x160]
test ch, 8
jne 0x58752f
dec eax
mov ecx, dword [edi + 0x3c]
cmp ecx, eax
push 1
jbe 0x58753f
mov edx, dword [edi + 0x40]
push edx
push eax
jmp 0x587544
mov eax, dword [edi + 0x40]
push eax
push ecx
push edi
call fcn.00580520
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
push ecx
push edx
push edi
call fcn.00580000
push 1
push 0
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call fcn.00586a70
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x5c]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [edi + 0xc8]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], ecx
mov eax, ecx
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x68]
cmp eax, 0xff00
jb 0x5875ab
xor eax, eax
mov ecx, dword [edi + 0xc0]
cmp eax, ecx
jb 0x5875bf
mov ecx, dword [edi + 0xc4]
cmp eax, ecx
jbe 0x5875c1
mov eax, ecx
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xc8]
push 0
push ecx
push eax
push edi
mov dword [esp + 0x70], edx
call fcn.0057fe20
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov esi, dword [esp + 0x6c]
xor ebp, ebp
cmp esi, ebp
je 0x5876c1
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
push edx
push eax
push edi
call fcn.0057fa10
mov ecx, dword [esp + 0x68]
cmp ecx, ebp
jne 0x58764c
mov edx, dword [eax]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi]
cmp ecx, dword [esi + 8]
jne 0x588629
mov edx, dword [esi + 4]
cmp edx, dword [esi + 0xc]
jne 0x588629
pop edi
pop esi
mov dword [esp + 0x58], ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, 1
cmp ecx, ebx
jne 0x587693
push esi
push eax
call fcn.005867e0
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x5c]
cmp eax, ecx
jae 0x587668
mov ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov edi, dword [edi + 0x60]
cmp eax, edi
jb 0x587677
mov eax, edi
cmp ecx, dword [esi]
mov dword [esi + 0xc], eax
ja 0x5876b1
cmp eax, dword [esi + 4]
ja 0x5876b1
pop edi
pop esi
mov dword [esp + 0x58], ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
cmp ecx, 2
jne case.0x5870dd.1030
push esi
push edi
call fcn.00586860
cmp dword [esi + 0x10], ebx
ja 0x5876b1
cmp dword [esi + 0x14], ebx
jbe 0x587b18
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], ebx
mov eax, ebx
pop ebx
add esp, 0x4c
ret 0x10
movzx eax, word [edi + 0x40]
movzx ecx, word [edi + 0x3c]
pop edi
pop esi
shl eax, 0x10
or eax, ecx
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [esp + 0x6c]
cmp dx, 0xffff
mov ecx, dword [esp + 0x68]
mov esi, ecx
movzx eax, dx
jne 0x5876f5
mov eax, 0xffff
cmp ecx, 0xff00
jb 0x587714
cmp ecx, 0xffff
jne 0x587710
mov ecx, dword [edi + 0x164]
test ch, 1
jne 0x58771d
xor esi, esi
jmp 0x58771d
mov edx, dword [edi + 0x5c]
cmp ecx, edx
jb 0x58771d
mov esi, edx
cmp eax, 0xff00
jb 0x58774e
cmp eax, 0xffff
jne 0x587736
mov ecx, dword [edi + 0x164]
test ch, 2
jne 0x587757
xor eax, eax
push eax
push esi
push edi
call fcn.00580000
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [edi + 0x60]
cmp eax, ecx
jb 0x587757
mov eax, ecx
push eax
push esi
push edi
call fcn.00580000
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [esp + 0x6c]
cmp cx, 0xffff
mov eax, dword [esp + 0x68]
mov ebx, eax
movzx esi, cx
jne 0x587786
mov esi, 0xffff
cmp eax, 0xff00
jb 0x5877a4
cmp eax, 0xffff
jne 0x5877ad
test dword [edi + 0x164], 0x240
jne 0x5877ad
xor ebx, ebx
jmp 0x5877ad
mov ecx, dword [edi + 0x5c]
cmp eax, ecx
jb 0x5877ad
mov ebx, ecx
cmp esi, 0xff00
jb 0x5877cd
cmp esi, 0xffff
jne 0x5877d6
test dword [edi + 0x164], 0x120
jne 0x5877d6
xor esi, esi
jmp 0x5877d6
mov eax, dword [edi + 0x60]
cmp esi, eax
jb 0x5877d6
mov esi, eax
push esi
push ebx
push edi
call fcn.00580000
push 1
push esi
push ebx
push edi
call fcn.00580520
movzx eax, word [edi + 0x40]
movzx edx, word [edi + 0x3c]
pop edi
pop esi
shl eax, 0x10
or eax, edx
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
cmp ax, 0xffff
mov ebx, dword [esp + 0x68]
movzx esi, ax
jne 0x587819
mov esi, 0xffff
cmp ebx, 0xff00
jb 0x587823
xor ebx, ebx
cmp esi, 0xff00
jb 0x58782d
xor esi, esi
mov eax, dword [edi + 0x5c]
cmp ebx, eax
jb 0x587836
mov ebx, eax
mov eax, dword [edi + 0x60]
cmp esi, eax
jb 0x58783f
mov esi, eax
push esi
push ebx
push edi
call fcn.00580000
push esi
push ebx
push edi
call fcn.00580310
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
push edi
call fcn.0057fa10
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 8]
pop edi
pop esi
shl ecx, 0x10
or ecx, edx
pop ebp
mov dword [esp + 0x54], ecx
mov eax, ecx
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
push eax
push ecx
push edi
call fcn.0057fa10
mov esi, eax
mov edx, dword [esi]
push edx
lea ebx, [edi + 0x1cc]
push ebx
call dword [edi + 0x214]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push eax
push ecx
push ebx
call dword [edi + 0x208]
mov ebx, dword [esp + 0x6c]
test ebx, ebx
mov esi, eax
je 0x5878d7
mov edi, dword [esp + 0x68]
test edi, edi
je 0x5878d7
mov eax, dword [esi + 4]
inc eax
cmp edi, eax
jae 0x5878c6
mov eax, edi
mov edx, dword [esi]
push eax
push edx
push ebx
call fcn.004049b0
mov word [ebx + edi*2 - 2], 0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov esi, dword [esp + 0x6c]
test esi, esi
je case.0x5870dd.1030
mov ecx, dword [esi]
push ecx
lea ebx, [edi + 0x1cc]
push ebx
call dword [edi + 0x214]
mov edx, dword [eax]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x14], edx
mov eax, dword [eax + 4]
mov edx, dword [esi + 4]
push ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi]
push edx
push eax
push ebx
call dword [edi + 0x208]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x60]
pop edi
mov dword [esi + 0xc], edx
mov word [esi + 0x20], 1
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
push edi
call fcn.0057fde0
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push edi
call fcn.0057fd90
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
mov dword [esp + 0x60], 0
je case.0x5870dd.1030
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [edi + 0x1cc]
push ecx
call dword [edi + 0x20c]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
push ebx
push esi
push edi
call fcn.0057f130
push ebx
push esi
push edi
mov ebp, eax
call fcn.0057f1a0
movzx edx, bp
pop edi
movzx eax, ax
pop esi
shl edx, 0x10
or eax, edx
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
push ebx
push esi
push edi
call fcn.0057f130
push ebx
push esi
push edi
mov ebp, eax
call fcn.0057f1d0
movzx ecx, bp
pop edi
movzx eax, ax
pop esi
shl ecx, 0x10
or eax, ecx
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
mov edx, dword [esp + 0x68]
push eax
push edx
push edi
call fcn.0057f2b0
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
push eax
mov eax, dword [esp + 0x6c]
push eax
push edi
call fcn.0057f210
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [edi + 0x64]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], ecx
mov eax, ecx
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x60], eax
cmp eax, ecx
mov eax, dword [esp + 0x68]
jne 0x587aa7
mov dword [edi + 0xb8], eax
push edi
mov dword [edi + 0x64], eax
call fcn.0057f780
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, dword [edi + 0x160]
je 0x587ad3
and eax, 0xfffdffff
jmp 0x587ad8
or eax, 0x20000
mov dword [edi + 0x160], eax
mov eax, dword [esp + 0x6c]
test eax, eax
mov eax, dword [edi + 0x160]
je 0x587b0d
and eax, 0xfffeffff
mov dword [edi + 0x160], eax
pop edi
pop esi
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
or eax, 0x10000
mov dword [edi + 0x160], eax
pop edi
pop esi
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
jne 0x587b3a
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x5c]
jae 0x587b5b
push eax
lea edx, [edi + 0x1cc]
push edx
call dword [edi + 0x214]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
pop edi
pop esi
mov eax, 0x6c39c4
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
movzx ecx, word [esp + 0x68]
mov esi, eax
movzx ebx, ax
lea eax, [esp + 0x24]
push eax
push ecx
push edi
shr esi, 0x10
call fcn.0057f2b0
test eax, eax
je case.0x5870dd.1030
cmp ebx, 0xffff
jne 0x587baf
mov edx, dword [edi + 0x80]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], edx
jmp 0x587bc3
lea eax, [esp + 0x24]
push eax
push ebx
push edi
call fcn.0057f210
test eax, eax
je case.0x5870dd.1030
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
jmp 0x587cb7
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shr eax, 0x10
cmp cx, 0xffff
movzx edx, cx
jne 0x587bf4
mov edx, 0xffff
mov ecx, dword [esp + 0x68]
push eax
push edx
push ecx
push edi
call fcn.0057fc20
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov esi, dword [esp + 0x6c]
mov eax, dword [esi]
lea edx, [esp + 0x24]
push edx
push eax
push edi
call fcn.0057f2b0
test eax, eax
jne 0x587c30
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
push edi
call fcn.0057f210
test eax, eax
jne 0x587c4e
mov eax, dword [edi + 0x78]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
push ecx
push edi
call fcn.0057f2b0
test eax, eax
jne 0x587c6c
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
push edi
call fcn.0057f210
test eax, eax
jne 0x587c8a
mov edi, dword [edi + 0x78]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x68]
test eax, eax
je case.0x5870dd.1030
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00586680
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [edi + 8]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], edx
mov eax, edx
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x1c4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x1c0]
mov dword [eax + 0x10], edx
mov ecx, dword [edi + 0x38]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x60]
mov dword [eax], edx
mov ecx, dword [edi + 0x64]
pop edi
pop esi
pop ebp
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x54]
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
push edi
push edx
push eax
push ecx
call fcn.005809f0
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov esi, dword [esp + 0x6c]
mov ebx, dword [edi + 0x60]
cmp dword [esi], ebx
jae 0x587d9c
mov edx, dword [edi + 0xc8]
push 0
push 0
push edx
push edi
call fcn.0057fe20
mov eax, dword [edi + 0x3c]
push 1
push 0
push eax
push edi
call fcn.00580520
mov eax, dword [esi]
cmp eax, ebx
jbe 0x587df3
lea ebx, [eax + eax*2]
mov eax, dword [edi + 0x1c8]
shl ebx, 4
test eax, eax
je 0x587dd7
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x1c8]
push 0x42
push ebx
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
jmp 0x587de0
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [edi + 0x1c8], eax
call fcn.00586a70
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x1c4]
mov dword [edi + 0x1c4], eax
mov ecx, dword [esi]
mov dword [edi + 0x60], ecx
mov dword [esp + 0x60], edx
mov edx, dword [esi + 4]
mov dword [edi + 0x38], edx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
push 1
mov dword [edi + 0x1c0], eax
mov ecx, dword [esi + 8]
push 0
push edx
mov dword [edi + 0x64], ecx
mov dword [edi + 0xdc], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x68]
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test esi, esi
jne 0x587e78
mov esi, dword [edi + 0x74]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, esi
sub eax, edx
dec eax
cdq
idiv dword [edi + 0x16c]
mov esi, eax
mov ecx, dword [edi + 0x16c]
mov edx, dword [edi + 0x74]
imul ecx, esi
push 0x16
lea eax, [ecx + edx + 1]
mov ecx, dword [esp + 0x30]
push eax
sub ecx, dword [esp + 0x2c]
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [esp + 0x6c]
test esi, esi
je case.0x5870dd.1030
mov edx, dword [edi + 0xd4]
mov ecx, dword [esi + 0x14]
xor eax, eax
cmp edx, ecx
jne 0x587ec2
cmp dword [esi + 4], 0xffffffff
je 0x587ef2
mov eax, dword [esi + 0x10]
mov dword [edi + 0xd0], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 0xd4], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0xd8], edx
mov eax, dword [esi + 4]
mov dword [edi + 0x34], eax
mov dword [edi + 0xdc], 1
mov eax, 1
test byte [esi], 1
je 0x587f01
and dword [edi + 0x160], 0xfffff7ff
test byte [esi], 2
je 0x587f10
or dword [edi + 0x160], 0x800
test byte [esi], 4
je 0x587f1f
or dword [edi + 0x160], 0x100
test byte [esi], 8
je 0x587f2e
or dword [edi + 0x160], 0x2000
test eax, eax
jne 0x587f54
push edi
call fcn.0057f6c0
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x1c4]
mov eax, dword [esp + 0x10]
push edi
push ecx
push edx
push eax
call fcn.005809f0
push edi
call fcn.0057f780
mov ecx, dword [esp + 0x10]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x70]
mov dword [esi + 8], edx
mov eax, dword [edi + 0x74]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x34]
mov eax, dword [esp + 0x60]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [edi + 0x60]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], edx
mov eax, edx
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x16c]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov esi, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
cmp dword [edi + 0xdc], ebx
mov dword [esp + 0x60], ebx
je 0x587fc7
push edi
call fcn.00581570
mov eax, dword [edi + 0x60]
xor ebp, ebp
cmp eax, ebx
jbe 0x587ffb
mov ecx, dword [edi + 0x1c4]
movsx eax, word [ebx + ecx]
test eax, eax
jl 0x587ff0
mov edx, dword [edi + 0xe4]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esi], eax
mov eax, dword [edi + 0x60]
inc ebp
add ebx, 0x10
cmp ebp, eax
jb 0x587fd0
mov eax, dword [edi + 0x70]
add dword [esi], eax
mov ecx, dword [edi + 0x16c]
imul ecx, dword [edi + 0x5c]
add ecx, dword [edi + 0x74]
mov dword [esi + 4], ecx
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x58801e
mov eax, dword [edi + 0x74]
test eax, eax
je 0x58802e
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 4
add eax, 4
mov dword [esi], ecx
mov dword [esi + 4], eax
mov ebp, dword [esp + 0x68]
mov edx, dword [ebp]
cmp edx, dword [esi]
mov ebx, dword [esi + 4]
mov eax, 1
jge 0x588055
cmp dword [edi + 0x60], eax
jbe 0x588055
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov eax, 1
cmp dword [ebp + 4], ebx
jge 0x588076
cmp dword [edi + 0x5c], eax
jbe 0x588076
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esi], eax
mov dword [esp + 0x60], 2
mov eax, 1
mov ecx, dword [ebp]
cmp ecx, dword [esi]
jge case.0x5870dd.1030
cmp dword [edi + 0x60], eax
jbe case.0x5870dd.1030
mov ecx, dword [esp + 0x60]
mov dword [esi + 4], ebx
or ecx, eax
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], ecx
mov eax, ecx
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [esp + 0x6c]
push edx
push edi
call fcn.00588b30
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
mov esi, dword [esp + 0x6c]
push esi
push edi
call fcn.00588a00
test esi, esi
mov dword [esp + 0x60], eax
jne 0x5880f0
cmp dword [edi + 4], 1
jne 0x5880db
push edi
call fcn.005804a0
mov eax, dword [esp + 0x60]
mov dword [edi + 4], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
push 0
push 0
push 0x41a
push edi
call fcn.005870a0
cmp dword [edi + 4], 4
jne case.0x5870dd.1030
mov eax, dword [esp + 0x10]
push 1
push 0
push eax
mov dword [edi + 4], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x58819b
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
push ecx
push edx
push edi
call fcn.0057fa10
mov edx, dword [edi + 0x164]
test dh, 1
mov esi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
je 0x58815e
mov ecx, dword [eax + 8]
test dh, 2
mov dword [esp + 0x3c], ecx
je 0x588170
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
jmp 0x588174
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xc8]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x48], eax
push ebx
mov eax, 0x18
lea ebx, [esp + 0x38]
mov dword [esp + 0x48], ecx
call fcn.005866d0
pop edi
pop esi
mov dword [esp + 0x58], 0x18
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
mov dword [edi + 0x118], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x58827d
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x6c]
mov edx, 0x18
call fcn.005866d0
mov eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jae 0x5881ff
cmp ecx, 0xffff
je 0x5881ff
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jae 0x588214
cmp edx, 0xffff
je 0x588214
mov edx, ecx
mov esi, dword [esp + 0x3c]
cmp eax, esi
jae 0x588228
cmp esi, 0xffff
je 0x588228
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x40]
cmp ecx, ebx
jae 0x58823a
cmp ebx, 0xffff
je 0x58823a
mov ebx, ecx
mov ebp, dword [esp + 0x44]
cmp eax, ebp
jae 0x588244
mov ebp, eax
mov esi, dword [esp + 0x48]
cmp ecx, esi
jae 0x58824e
mov esi, ecx
mov ecx, dword [esp + 0x34]
push 1
push edx
push ecx
push edi
call fcn.00580520
mov eax, dword [edi + 0x164]
test ah, 3
je 0x588273
mov edx, dword [esp + 0x3c]
push ebx
push edx
push edi
call fcn.00580310
push 0
push esi
push ebp
push edi
call fcn.0057fe20
pop edi
pop esi
mov dword [esp + 0x58], 0x18
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
push 1
push edi
call fcn.005800e0
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
push edi
call fcn.00580420
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [edi + 0x164]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], eax
pop ebx
add esp, 0x4c
ret 0x10
movzx ecx, word [esp + 0x68]
mov edx, dword [esp + 0x10]
mov word [edi + 0x164], 0
mov esi, dword [edi + 0x164]
push 1
push 0
or esi, ecx
push edx
mov dword [edi + 0x164], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x588109
cmp dword [edi + 4], 1
jne 0x588322
push edi
call fcn.00580420
mov eax, dword [esp + 0x60]
mov dword [edi + 4], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [esp + 0x6c]
mov eax, dword [edi + 0x60]
cmp eax, ecx
mov edx, dword [esp + 0x68]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], edx
jae 0x588357
cmp ecx, 0xffff
je 0x588357
mov dword [edi + 0x54], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x54]
push 1
push 0
push ecx
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
push 1
push 0
push eax
mov dword [edi + 0x168], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
cmp dword [esp + 0x68], esi
jb 0x587b18
mov edx, dword [esp + 0x6c]
xor ecx, ecx
test esi, esi
jbe 0x5883e9
jmp 0x5883c0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov ebp, dword [eax]
mov ebx, edx
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
add edx, 0x10
mov dword [ebx + 8], ebp
mov eax, dword [eax + 0xc]
inc ecx
cmp ecx, esi
mov dword [ebx + 0xc], eax
jb 0x5883c0
pop edi
pop esi
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx]
pop edi
pop esi
pop ebp
mov dword [esp + 0x54], edx
mov eax, edx
pop ebx
add esp, 0x4c
ret 0x10
test byte [edi + 0x168], 8
mov dword [esp + 0x60], 0
je 0x588575
mov eax, dword [edi + 0x44]
mov eax, dword [eax]
mov ebp, dword [esp + 0x68]
xor esi, esi
cmp ebp, eax
jbe 0x5884ac
xor ebx, ebx
sub ebp, eax
je 0x5884f6
mov ecx, dword [edi + 0x44]
push 0
push 0xffffffffffffffff
push 0x10
push 0
push ecx
call sym.vidcap60.exe__SfList_AllocAndInsertItem_20
mov esi, eax
test esi, esi
jl 0x588463
inc ebx
cmp ebx, ebp
jb 0x588442
jmp 0x5884f6
mov edx, dword [edi + 0x44]
mov esi, dword [edx]
dec esi
xor ebp, ebp
test ebx, ebx
jbe 0x5884a5
nop
mov eax, dword [edi + 0x44]
push 0
push 1
push esi
push eax
call sym.vidcap60.exe__SfList_DeleteList_16
test eax, eax
jl 0x58848f
dec esi
inc ebp
cmp ebp, ebx
jb 0x588470
mov esi, 0x8007000e
jmp 0x5884f6
mov ecx, dword [edi + 0x44]
push 0
push 0xffffffffffffffff
push 0
push ecx
call sym.vidcap60.exe__SfList_DeleteList_16
mov dword [edi + 0x50], 0
mov esi, 0x8007000e
jmp 0x5884f6
jae 0x588503
mov ecx, dword [esp + 0x68]
lea ebx, [eax - 1]
xor ebp, ebp
sub eax, ecx
mov dword [esp + 0x64], eax
je 0x5884f6
nop
mov eax, dword [edi + 0x44]
push 0
push 1
push ebx
push eax
call sym.vidcap60.exe__SfList_DeleteList_16
mov esi, eax
test esi, esi
jl 0x5884e0
mov eax, dword [esp + 0x64]
dec ebx
inc ebp
cmp ebp, eax
jb 0x5884c0
jmp 0x5884f6
mov ecx, dword [edi + 0x44]
push 0
push 0xffffffffffffffff
push 0
push ecx
call sym.vidcap60.exe__SfList_DeleteList_16
mov dword [edi + 0x50], 0
test esi, esi
mov edx, dword [edi + 0x44]
mov eax, dword [edx]
jl 0x588575
mov ebp, dword [esp + 0x68]
cmp ebp, eax
jne 0x588575
mov edx, dword [esp + 0x6c]
xor ecx, ecx
test eax, eax
jbe 0x58853a
mov esi, dword [edi + 0x44]
mov esi, dword [esi + 8]
mov esi, dword [esi + ecx*4]
mov ebx, edx
mov ebp, dword [ebx]
mov dword [esi], ebp
mov ebp, dword [ebx + 4]
mov dword [esi + 4], ebp
mov ebp, dword [ebx + 8]
add edx, 0x10
mov dword [esi + 8], ebp
mov ebx, dword [ebx + 0xc]
inc ecx
cmp ecx, eax
mov dword [esi + 0xc], ebx
jb 0x588511
mov eax, dword [esp + 0x68]
test eax, eax
je 0x58855a
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [edi + 0x50], eax
mov edx, dword [eax]
mov dword [edi + 0x48], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0x4c], ecx
jmp 0x58856d
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], eax
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x10]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x5870dd.1030
mov edx, dword [edi + 0x44]
mov esi, dword [edx]
mov edx, dword [eax + 0x1c]
xor ecx, ecx
cmp edx, ecx
jne 0x5885c5
pop edi
mov dword [eax + 0x18], esi
pop esi
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
cmp dword [eax + 0x18], esi
jbe 0x588093
cmp esi, ecx
mov ebx, dword [edi + 0xc8]
mov dword [eax], ebx
mov ebx, dword [edi + 0xb8]
mov dword [eax + 4], ebx
mov ebx, dword [edi + 0x48]
mov dword [eax + 8], ebx
mov ebx, dword [edi + 0x4c]
mov dword [eax + 0xc], ebx
mov ebx, dword [edi + 0x3c]
mov dword [eax + 0x10], ebx
mov ebx, dword [edi + 0x40]
mov dword [eax + 0x14], ebx
jbe 0x588629
jmp 0x588600
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov ebp, dword [eax]
mov ebx, edx
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
add edx, 0x10
mov dword [ebx + 8], ebp
mov eax, dword [eax + 0xc]
inc ecx
cmp ecx, esi
mov dword [ebx + 0xc], eax
jb 0x588600
pop edi
pop esi
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x58]
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je case.0x5870dd.1030
mov ecx, dword [edi + 0x44]
push 0
push 0xffffffffffffffff
push 0
push ecx
call sym.vidcap60.exe__SfList_DeleteList_16
lea edx, [esp + 0x34]
mov eax, 0x20
push edx
mov edx, eax
mov dword [edi + 0x50], 0
call fcn.005866d0
mov eax, dword [edi + 0x5c]
cmp eax, dword [esp + 0x34]
jae 0x58867f
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x60]
cmp ecx, dword [esp + 0x38]
jae 0x58868c
mov dword [esp + 0x38], ecx
cmp eax, dword [esp + 0x3c]
jae 0x588696
mov dword [esp + 0x3c], eax
cmp ecx, dword [esp + 0x40]
jae 0x5886a0
mov dword [esp + 0x40], ecx
cmp eax, dword [esp + 0x44]
jae 0x5886aa
mov dword [esp + 0x44], eax
mov ebp, dword [esp + 0x48]
cmp ecx, ebp
jae 0x5886b4
mov ebp, ecx
mov eax, dword [esp + 0x4c]
xor esi, esi
test eax, eax
jbe 0x588751
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x14]
push eax
mov eax, 0x10
mov edx, eax
call fcn.005866d0
mov eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5886ee
cmp ecx, 0xffff
je 0x5886ee
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jae 0x588705
cmp edx, 0xffff
je 0x588705
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jae 0x588719
cmp edx, 0xffff
je 0x588719
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp ecx, eax
jae 0x58872c
cmp eax, 0xffff
je 0x58872c
mov dword [esp + 0x20], ecx
mov edx, dword [edi + 0x44]
push 0
push 0xffffffffffffffff
push 0x10
lea ecx, [esp + 0x20]
push ecx
push edx
call sym.vidcap60.exe__SfList_AllocAndInsertItem_20
test eax, eax
jl case.0x5870dd.1030
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jb 0x5886c6
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 0
push ebp
push edx
push edi
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
call fcn.00580520
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
push edi
call fcn.0057fe20
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
push 1
push edi
call fcn.00588b60
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov edx, dword [esp + 0x6c]
movzx eax, word [esp + 0x68]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableScrollBar]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10