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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push edi
push 0xffffffffffffffeb
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp word [esi + 0x920], 0
mov dword [esp + 0x4c], eax
je 0x52600f
push ebx
call fcn.00525870
mov eax, dword [esi + 0xd3c]
test eax, eax
lea edi, [esp + 0xb0]
je 0x525bf3
mov edx, dword [esp + 0x20]
xor eax, eax
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, 0x84
rep stosd dword es:[edi], eax
lea eax, [esi + 0x920]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [0x5d2614]
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x48]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
add esp, 8
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x74], ecx
push 0x4e
lea ecx, [esp + 0xbc]
push eax
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x74], ecx
call edi
mov eax, dword [esp + 0x2b8]
xor edx, edx
cmp eax, edx
jne 0x525c7c
xor eax, eax
jmp 0x525c7e
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2bc]
cmp eax, edx
je 0x526018
mov ecx, dword [eax]
cmp ecx, edx
mov dword [esp + 0x74], ecx
je 0x526018
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
xor esi, esi
test ecx, ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0x78], 1
mov dword [esp + 0x14], edx
jle 0x525f28
jmp 0x525d40
mov eax, dword [esp + 0x2bc]
lea esp, [esp]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*4]
push 0x18
push 1
call dword [0x5d24c0]
add esp, 8
test esi, esi
mov dword [esp + 0x70], eax
je 0x525f24
test eax, eax
je 0x525f24
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [eax + 8], edx
mov edx, dword [esi + 4]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 8]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x14], edx
mov dword [esp + 0x28], ecx
lea ecx, [esi + 0x30]
mov dword [esp + 0x24], 5
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], ecx
cmp word [ecx], 0
jne 0x525dc1
mov eax, dword [0x621c80]
push 0xbd7d
push eax
call sym.vidcap60.exe__SfGetString_8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x104d
push ebx
mov dword [esp + 0x54], eax
call edi
mov edx, dword [esp + 0x38]
push edx
push 0
push 0x1057
push ebx
call edi
mov ecx, dword [esp + 0x18]
add eax, 0xc
cmp eax, ecx
jle 0x525df2
mov dword [esp + 0x18], eax
mov eax, 1
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x38], ecx
push 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x2d0]
push edx
call sym.vidcap60.exe__SfNanoTimeToText_20
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push ebx
call edi
lea ecx, [esp + 0x2c0]
push ecx
push 0
push 0x1057
push ebx
call edi
mov ecx, dword [esp + 0x10]
add eax, 0xc
cmp eax, ecx
jle 0x525e58
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 2
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
add edx, eax
mov eax, dword [esi + 0xc]
push 0
adc eax, ecx
push eax
push edx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x2d0]
push edx
call sym.vidcap60.exe__SfNanoTimeToText_20
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push ebx
call edi
lea ecx, [esp + 0x2c0]
push ecx
push 0
push 0x1057
push ebx
call edi
mov ecx, dword [esp + 0xc]
add eax, 0xc
cmp eax, ecx
jle 0x525eb8
mov dword [esp + 0xc], eax
push 0
mov dword [esp + 0x30], 3
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x2d0]
push edx
call sym.vidcap60.exe__SfNanoTimeToText_20
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push ebx
call edi
lea ecx, [esp + 0x2c0]
push ecx
push 0
push 0x1057
push ebx
call edi
mov ecx, dword [esp + 0x1c]
add eax, 0xc
cmp eax, ecx
jle 0x525f0f
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x525d35
mov esi, dword [esp + 0x1c]
movzx edx, word [esp + 0x10]
push edx
push 1
push 0x101e
push ebx
call edi
movzx eax, word [esp + 0xc]
push eax
push 2
push 0x101e
push ebx
call edi
movzx ecx, si
push ecx
push 3
push 0x101e
push ebx
call edi
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xa0]
add esi, edx
mov edx, dword [esp + 0x10]
push eax
push ebx
add esi, edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x18]
sub eax, esi
cmp eax, ecx
jle 0x525f88
movzx ecx, ax
push ecx
jmp 0x525f8c
movzx edx, cx
push edx
push 0
push 0x101e
push ebx
call edi
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov dword [edx + 4], eax
mov eax, dword [edx + 0xc]
test eax, eax
mov dword [edx + 8], esi
je 0x525fb4
mov ecx, dword [ebp + 8]
dec eax
call fcn.00525b10
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x2b8]
test eax, eax
jne 0x525fe0
mov eax, dword [esp + 0x2bc]
test eax, eax
je 0x52600f
mov eax, dword [esi + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x48]
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
push 0x4e
lea ecx, [esp + 0xbc]
push eax
mov dword [esp + 0x68], 0x29
mov dword [esp + 0x74], ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x621c80]
push 0xbcb3
push ecx
mov dword [esp + 0x2c], 1
call sym.vidcap60.exe__SfGetString_8
lea edx, [esp + 0x24]
push edx
push 0
push 0x104d
push ebx
mov dword [esp + 0x48], eax
call edi
mov eax, dword [esp + 0x38]
push eax
push 0
push 0x1057
push ebx
call edi
jmp 0x525fb7