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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dabb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0xc8], ecx
push 0x231
push str.viewprev.cpp
mov eax, dword [ebp + 8]
push eax
call fcn.004a3f10
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0x70], 0
je 0x524ec0
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x7c], 0
jne 0x524ec5
jmp 0x525503
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004e96ff
lea ecx, [ebp - 0x14]
call fcn.004e805d
mov dword [ebp - 4], 0
push 6
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 2
push 0
lea ecx, [ebp - 0x14]
call fcn.004e8098
lea ecx, [ebp - 0x1c]
call fcn.004e805d
mov byte [ebp - 4], 1
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 3
push 0
lea ecx, [ebp - 0x1c]
call fcn.004e8098
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x114]
mov dword [edx + 0x10], 1
mov dword [ebp - 0x20], 0
jmp 0x524f3b
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0xf8]
jae 0x5254d8
mov ecx, dword [ebp - 0xc8]
add ecx, 0x78
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + 0x78]
call dword [edx + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
call fcn.004e901d
push eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0xf4]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x114]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ecx + 0xf4]
add esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x114]
call fcn.004dfa74
cmp esi, eax
ja 0x524ffb
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x114]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x70]
mov edx, dword [eax]
call dword [edx + 0xe4]
push 0xa
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x74]
call fcn.004e9164
push eax
push 8
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x74]
call fcn.004e9164
push eax
push 0
push 0
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x114]
add ecx, 0x24
call fcn.004e7745
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x114]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x74]
call fcn.004e9a8d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x24]
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x90]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x90]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0
jne 0x5250e2
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc8]
call dword [edx + 0x114]
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 0xec], 0
je 0x5250e2
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.004b5a1a
mov ecx, eax
call fcn.004e73ba
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
push 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004e98e7
push 0
push 0
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ae945
push 5
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x2c]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004adfc2
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ea911
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004adfc2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
add ecx, 3
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
add eax, 1
push eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004af121
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
add edx, 1
push edx
mov ecx, dword [ebp + 8]
call fcn.004af1f7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
add eax, 3
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004af121
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
add edx, 1
push edx
mov ecx, dword [ebp + 8]
call fcn.004af1f7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x38]
sub edx, 2
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
sub eax, 2
mov dword [ebp - 0x34], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x40]
call fcn.004e76b2
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_FillRect]
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x28]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x114]
cmp dword [ecx + 0x10], 0
je 0x52526a
mov edx, dword [ebp - 0xc8]
mov esi, dword [edx + 0xf4]
add esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x114]
call fcn.004dfa74
cmp esi, eax
jbe 0x5252d1
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x74]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x78
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x78]
call dword [eax + 0x28]
cmp dword [ebp - 0x20], 0
jne 0x5252cc
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xf4], 1
jbe 0x5252cc
push 1
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0xf4]
sub eax, 1
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00525cc5
jmp 0x5254d8
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0xf4]
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc8]
call dword [edx + 0x118]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x74]
call fcn.005279c8
lea ecx, [ebp - 0x4c]
call fcn.004e6e92
lea edx, [ebp - 0x4c]
push edx
push 0
push 0
push 0xd
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
test eax, eax
jne 0x525355
push 0x28f
push str.viewprev.cpp
call fcn.004dfd30
test eax, eax
je 0x525355
int3
xor eax, eax
test eax, eax
jne 0x52531c
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x74]
call fcn.005297f3
mov ecx, dword [ebp - 0x2c]
call fcn.004e75fe
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004e6edf
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004e6f99
push 1
push 1
lea ecx, [ebp - 0xac]
call fcn.004e6ea0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004e6f99
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0xbc]
call fcn.004e6edf
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004e6f99
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x74]
call fcn.005296b1
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x74]
call fcn.005296fe
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x114]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x70]
mov edx, dword [eax]
call dword [edx + 0x104]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x78
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x78]
call dword [eax + 0x28]
jmp 0x524f32
lea ecx, [ebp - 0x14]
call fcn.004b0a10
lea ecx, [ebp - 0x1c]
call fcn.004b0a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004e807c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e807c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4