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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ed5b
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.004d07b0
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0x70], 0
je 0x581b80
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x7c], 0
jne 0x581b85
jmp 0x5821c3
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0052d91f
lea ecx, [ebp - 0x14]
call fcn.0052c27d
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.0052c2b8
lea ecx, [ebp - 0x1c]
call fcn.0052c27d
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.0052c2b8
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x114]
mov dword [edx + 0x10], 1
mov dword [ebp - 0x20], 0
jmp 0x581bfb
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 0x582198
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.0052d23d
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.005219e4
cmp esi, eax
ja 0x581cbb
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.0052d384
push eax
push 8
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x74]
call fcn.0052d384
push eax
push 0
push 0
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x114]
add ecx, 0x24
call fcn.0052b965
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.0052dcad
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 0x581da2
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 0x581da2
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.004e81aa
mov ecx, eax
call fcn.0052b5da
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.0052db07
push 0
push 0
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
call fcn.004e10d5
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.004e0752
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0052eb31
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004e0752
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.004e18b1
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.004e1987
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.004e18b1
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.004e1987
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.0052b8d2
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 0x581f2a
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.005219e4
cmp esi, eax
jbe 0x581f91
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 0x581f8c
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xf4], 1
jbe 0x581f8c
push 1
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0xf4]
sub eax, 1
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00582985
jmp 0x582198
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.00584688
lea ecx, [ebp - 0x4c]
call fcn.0052b0b2
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 0x582015
push 0x28f
push str.viewprev.cpp
call fcn.00521ca0
test eax, eax
je 0x582015
int3
xor eax, eax
test eax, eax
jne 0x581fdc
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x74]
call fcn.005864b3
mov ecx, dword [ebp - 0x2c]
call fcn.0052b81e
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.0052b0ff
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.0052b1b9
push 1
push 1
lea ecx, [ebp - 0xac]
call fcn.0052b0c0
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.0052b1b9
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.0052b0ff
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.0052b1b9
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.00586371
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x74]
call fcn.005863be
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 0x581bf2
lea ecx, [ebp - 0x14]
call fcn.004e31a0
lea ecx, [ebp - 0x1c]
call fcn.004e31a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0052c29c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0052c29c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4