Function at 0x4c48b0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x590da0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x100]
mov edx, dword [esi + 0x104]
xor eax, eax
lea edi, [esi + 0x100]
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 dword [esp + 0x4c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x154]
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x4c4933
mov eax, dword [eax + 0xb4]
jmp 0x4c4935
xor eax, eax
sub dword [esp + 0x2c], ecx
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
sub dword [esp + 0x30], edx
neg eax
push eax
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov edx, dword [esp + 0x60]
push edx
push ebx
push edi
call ebp
mov ecx, dword [esi + 0x158]
cmp ecx, ebx
je 0x4c497b
mov ebp, dword [esi + 0x104]
mov eax, dword [esi + 0x10]
mov edx, dword [ecx]
push ebp
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov eax, dword [esi + 0x104]
sub edx, ecx
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jne 0x4c49a2
or dword [esp + 0x4c], 0x200
mov ebp, dword [esi + 0xb4]
cmp ebp, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4c4aa1
xor eax, eax
cmp ebp, ebx
setne al
cmp eax, ebx
je 0x4c4abf
mov eax, ebp
mov edi, dword [eax + 8]
cmp edi, ebx
mov ebp, dword [ebp]
je 0x4c4a99
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x83
push ebx
mov ecx, edi
mov dword [esp + 0x74], ebx
mov dword [edi + 0xac], ebx
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], eax
add eax, ecx
js 0x4c4a2f
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
cmp ecx, eax
jg 0x4c4a2f
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push ecx
mov ecx, 0x5af9d0
call fcn.00481970
mov dword [esp + 0x60], ebx
jmp 0x4c4a4b
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push ecx
mov ecx, 0x5bae90
call fcn.00481970
mov dword [esp + 0x60], 1
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, str.viewvisible
call fcn.00481970
mov eax, dword [edi]
add eax, 0x18
mov eax, dword [eax]
mov ecx, edi
mov dword [esp + 0x64], 0xffffffff
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push 0x47
push ebx
mov ecx, edi
mov dword [esp + 0x78], ebx
mov dword [edi + 0xac], ebx
call edx
mov eax, dword [esp + 0x48]
add dword [esp + 0x40], eax
cmp ebp, ebx
jne 0x4c49b8
lea ebx, [esi + 0x14]
call fcn.004a7370
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
push 0x80004005
call fcn.00473d10
int3