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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58b7ce
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x48]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x48]
mov ecx, dword [esi + 0x90]
add edx, 1
cmp ecx, ebx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
mov edi, edx
jne 0x4e2002
xor eax, eax
jmp 0x4e200d
mov eax, dword [esi + 0x94]
sub eax, ecx
sar eax, 3
cmp eax, ebx
mov dword [esp + 0x18], ebx
jbe 0x4e2022
mov ecx, eax
shl ecx, 4
add ecx, eax
add ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x60], eax
jae 0x4e202c
add dword [esp + 0x18], 0x65
mov eax, dword [esp + 0x18]
add eax, edx
cmp eax, dword [esp + 0x54]
setg al
test al, al
mov byte [esp + 0x13], al
jne 0x4e2049
cmp dword [esi + 0x68], ebx
je 0x4e2049
mov dword [esi + 0x68], ebx
mov ecx, dword [esi + 0x9c]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x68]
mov edx, eax
neg edx
shl edx, 4
sub edx, eax
lea eax, [edi + edx*2]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov ecx, dword [esi + 0x90]
cmp ecx, ebx
je 0x4e2474
mov eax, dword [esi + 0x94]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x4e2474
cmp ecx, ebx
je 0x4e20a4
mov eax, dword [esi + 0x94]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e20a9
call fcn.005532de
mov ecx, dword [esi + 0x90]
mov ebx, dword [ecx + edi*8]
mov edi, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x4e20f2
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e20f2
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x1c]
neg dl
push 1
push 0x21
sbb edx, edx
and edx, 0xfffffff7
add edx, 0xf8
push edx
mov edx, dword [esp + 0x64]
push ecx
push edx
push ebx
push edi
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
xor eax, eax
cmp ecx, dword [esi + 0x60]
mov dword [esp + 0x20], edx
sete al
mov edi, eax
call fcn.004a1350
test eax, eax
je 0x4e2129
push str.uiview_set_selected
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e2129
mov ecx, dword [esp + 0x20]
push edi
push ebx
push ecx
call eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add eax, 0x22
cmp edx, dword [esi + 0x60]
mov dword [esp + 0x1c], eax
jne 0x4e2464
cmp dword [0x5c9734], eax
mov byte [esp + 0x12], 0
je 0x4e2161
lea ecx, [eax + 0x64]
mov byte [esp + 0x12], 1
mov dword [0x5c9734], eax
mov dword [0x5c973c], ecx
mov edi, dword [esi + 0x60]
add eax, 0x65
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x4e218e
mov ecx, dword [esi + 0x78]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4e2193
call fcn.005532de
mov eax, dword [esi + 0x74]
lea edx, [edi + edi*8]
shl edx, 7
cmp dword [edx + eax + 4], 2
jne 0x4e21eb
test eax, eax
mov ebx, dword [esi + 0x9c]
mov edi, dword [esi + 0x60]
je 0x4e21ca
mov ecx, dword [esi + 0x78]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4e21cf
call fcn.005532de
mov edx, dword [esi + 0x74]
lea ecx, [edi + edi*8]
shl ecx, 7
lea eax, [ecx + edx + 0x7c]
push ebx
push eax
call fcn.00494560
add esp, 8
jmp 0x4e2420
lea ecx, [esp + 0x5c]
push ecx
call fcn.004ae0d0
push str.logdisplay2.html
push eax
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0xd0], ebx
call fcn.0040cf70
add esp, 0x10
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0xc0], 2
jb 0x4e222e
mov eax, dword [esp + 0x60]
push eax
call fcn.0055215c
add esp, 4
mov edi, 0xf
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], 0
call fcn.004b2860
push 0x40000000
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xa4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0xf0], 3
mov byte [ecx + 4], 0
call fcn.0040a080
lea ecx, [esp + 0x64]
call fcn.004b30d0
cmp eax, ebx
je 0x4e23d9
mov eax, dword [esi + 0x74]
cmp eax, ebx
mov edi, dword [esi + 0x60]
je 0x4e22b0
mov ecx, dword [esi + 0x78]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4e22b5
call fcn.005532de
mov ecx, dword [esi + 0x74]
lea eax, [edi + edi*8]
shl eax, 7
lea eax, [eax + ecx + 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e22c5
mov edi, dword [esi + 0x60]
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4e22f6
mov ecx, dword [esi + 0x78]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4e22fb
call fcn.005532de
mov eax, dword [esi + 0x74]
lea edx, [edi + edi*8]
shl edx, 7
lea ecx, [edx + eax + 0x7c]
push ebx
push ecx
lea ecx, [esp + 0x48]
call fcn.004b2870
lea ecx, [esp + 0x40]
call fcn.004b2a30
push 7
mov ebx, 0xf
xor edi, edi
push str.file:__
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.0040c1c0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0xcc], 4
call fcn.0040cec0
add esp, 0xc
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0xc0], 6
jb 0x4e237e
mov edx, dword [esp + 0x28]
push edx
call fcn.0055215c
add esp, 4
mov eax, dword [esi + 0x9c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xbc]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
mov byte [ecx + 4], 0
call fcn.0040a080
call fcn.004945d0
add esp, 0x20
cmp dword [esp + 0xac], 0x10
jb 0x4e23ed
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0055215c
add esp, 4
jmp 0x4e23ed
mov eax, dword [esi + 0x9c]
push eax
push str.about:blank
call fcn.00494560
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 2
call fcn.004b2ee0
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0xc0], 0xffffffff
jb 0x4e2420
mov edx, dword [esp + 0x7c]
push edx
call fcn.0055215c
add esp, 4
cmp byte [esp + 0x12], 0
je 0x4e2455
mov eax, dword [0x5c9734]
mov ecx, dword [0x5c973c]
mov edx, dword [0x5c9738]
push 0
sub ecx, eax
push ecx
mov ecx, dword [0x5c9730]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x9c]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x9c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [esp + 0x14], 1
mov edi, dword [esp + 0x14]
xor ebx, ebx
jmp 0x4e2070
cmp byte [esp + 0x13], 0
je 0x4e251c
xor eax, eax
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
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 eax, 0x78787879
imul dword [esp + 0x18]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], eax
mov eax, 0x78787879
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
push 1
add ecx, edx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x80]
push 2
push ecx
mov dword [esp + 0x34], 0x1c
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov edx, dword [esi + 0x80]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4e252a
mov ecx, dword [esi + 0x80]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00552d63
mov esp, ebp
pop ebp
ret