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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5559eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 0xd0], ecx
push 0x231
push str.viewprev.cpp
mov eax, dword [ebp + 8]
push eax
call fcn.0049a8f0
mov ecx, dword [ebp - 0xd0]
cmp dword [ecx + 0x70], 0
je 0x54b0f6
mov edx, dword [ebp - 0xd0]
cmp dword [edx + 0x7c], 0
jne 0x54b0fb
jmp 0x54b747
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f8217
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x14]
call fcn.004f6b75
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.004f6bb0
lea ecx, [ebp - 0x1c]
call fcn.004f6b75
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.004f6bb0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x114]
mov dword [ecx + 0x10], 1
mov dword [ebp - 0x20], 0
jmp 0x54b17c
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0xf8]
jae 0x54b71c
mov ecx, dword [ebp - 0xd0]
add ecx, 0x78
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x78]
call dword [eax + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
call fcn.004f7b35
push eax
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 0x74]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0xf4]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x114]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ecx + 0xf4]
add esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 0x114]
call fcn.004ec193
cmp esi, eax
ja 0x54b23c
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x114]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x70]
mov edx, dword [eax]
call dword [edx + 0xe4]
push 0xa
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x74]
call fcn.004f7c7c
push eax
push 8
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 0x74]
call fcn.004f7c7c
push eax
push 0
push 0
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 0x114]
add ecx, 0x24
call fcn.004f625d
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x114]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 0x74]
call fcn.004f85e1
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 - 0xd0]
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 - 0xd0]
mov eax, dword [edx + 0x90]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0
jne 0x54b323
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd0]
call dword [edx + 0x114]
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0xec], 0
je 0x54b323
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0xd0]
call fcn.004abdd2
mov ecx, eax
call fcn.004f5e55
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 - 0x6c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004f83ff
push 0
push 0
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ae4e5
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.004adb62
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004f9474
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004adb62
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 - 0x84]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004aecc1
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.004aed97
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 - 0x8c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004aecc1
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.004aed97
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.004f61ca
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 - 0xd0]
mov ecx, dword [eax + 0x114]
cmp dword [ecx + 0x10], 0
je 0x54b4ae
mov edx, dword [ebp - 0xd0]
mov esi, dword [edx + 0xf4]
add esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x114]
call fcn.004ec193
cmp esi, eax
jbe 0x54b515
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 0x74]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x78
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x78]
call dword [eax + 0x28]
cmp dword [ebp - 0x20], 0
jne 0x54b510
mov ecx, dword [ebp - 0xd0]
cmp dword [ecx + 0xf4], 1
jbe 0x54b510
push 1
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0xf4]
sub eax, 1
push eax
mov ecx, dword [ebp - 0xd0]
call fcn.0054bf09
jmp 0x54b71c
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0xf4]
push eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd0]
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 - 0xd0]
mov ecx, dword [ecx + 0x74]
call fcn.0054dc88
lea ecx, [ebp - 0x4c]
call fcn.004f5892
lea edx, [ebp - 0x4c]
push edx
push 0
push 0
push 0xd
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
test eax, eax
jne 0x54b599
push 0x28f
push str.viewprev.cpp
call fcn.004ec450
test eax, eax
je 0x54b599
int3
xor eax, eax
test eax, eax
jne 0x54b560
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 0x74]
call fcn.0054fabe
mov ecx, dword [ebp - 0x2c]
call fcn.004f6107
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 - 0x9c]
call fcn.004f58df
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x94]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004f5999
push 1
push 1
lea ecx, [ebp - 0xb4]
call fcn.004f58a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004f5999
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xc4]
call fcn.004f58df
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004f5999
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 0x74]
call fcn.0054f97c
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 0x74]
call fcn.0054f9c9
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x114]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x70]
mov edx, dword [eax]
call dword [edx + 0x104]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x78
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x78]
call dword [eax + 0x28]
jmp 0x54b173
lea ecx, [ebp - 0x14]
call fcn.004b05dc
lea ecx, [ebp - 0x1c]
call fcn.004b05dc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004f6b94
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004f6b94
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4